body {
}

.btn {
	border-radius: 0;
	border: 1px solid black;
	padding: 6px 8px;
	transition: 0.3s all;
}

.btn:hover {
	background: #cccbcb;
	border-radius: 3px;
}

.window__app {
	max-width: 320px;
	width: 100%;
	max-height: 537px;
	height: 100%;
	margin: 10vh auto;
	border: 1px solid black;
}

.top__buttons {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 8px 8px 0 8px;
}

.window__chat {
	width: 288px;
	height: 421px;
	margin: 8px auto;
	border: 1px solid black;
	padding: 8px;
	display: flex;
	justify-content: flex-end;
	flex-direction: column;
	gap: 8px;
	overflow-y: auto;
}

.form__massage {
	margin: 0 8px;
	display: flex;
	width: 95%;
	gap: 8px;
}

.input__massage {
	border: 1px solid black;
	max-height: 32px;
	max-width: 100%;
	padding: 6px;
	flex: 1;
}

.send-btn {
	padding: 8px 12px;
}

.my__massages {
	align-self: flex-end;
	background-color: #F6F6F6;
	text-align: right;
}

.opponent__massage {
	align-self: flex-start;
	background-color: #e5e5e5;
	text-align: left;
}

.my__massages,
.opponent__massage {
	min-width: 139px;
	max-width: 272px;
	min-height: 40px;
	width: fit-content;
	padding: 8px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	overflow-wrap: anywhere;
    flex-shrink: 0;
}

.massage__main {
	width: 100%;
	display: block;
	line-height: 1.4;
	text-align: left;
	min-height: 30px;
}

.name {
	font-weight: bold;
	white-space: nowrap;
	display: inline;
}

.massage {
	display: inline;
	word-break: break-word;
}

.time__massage {
	color: #3636369f;
}

.delivered{
    background: #E5E5E5;
}