html {
	font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Roboto,
		Ubuntu, Cantarell, "Noto Sans", sans-serif, Helvetica, "Apple Color Emoji",
		Arial, "Segoe UI Emoji", "Segoe UI Symbol";
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	height: 100%;
	background-color: rgba(33, 33, 33, 1);
}

body {
	margin: 0;
	height: 100%;
	background-color: #2a2c2a;
}

* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-family: "SF Pro Display", sans-serif !important;
}

:after,
:before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	-webkit-tap-highlight-color: transparent;
}

body {
	font-size: 14px;
	line-height: 1.5;

	background-color: #2a2c2a !important;
}

body,
div,
form,
html,
img,
label,
p {
	margin: 0;
	padding: 0;
	border: 0;

	vertical-align: baseline;
}

body {
	line-height: 1;
}

* {
	outline: 0;
}

body {
	width: 100%;
	min-width: 320px;
	-webkit-transition: 0.1s;
	transition: 0.1s;
	background: #14171f;
	border-top: 49px solid #191c24;
	/*padding: 20px 0 26px;*/
	height: 100%;
}

.body {
	width: 100%;
	display: block;
	margin: 0 auto;
	height: 100%;
}

img {
	display: block;
}

.content {
	width: 100%;
	max-width: 1018px;
	display: inline-block;
	vertical-align: top;
	margin-left: 30px;
	height: 100%;
	overflow-y: scroll;
	background-color: rgba(33, 33, 33, 1) !important;
}

.content {
	display: block;
	margin: 0 auto;
}

.header {
	padding: 16px 20px;
	align-items: center;
	left: 209px;
	width: 721px;
	z-index: 3;
}

.header__name {
	display: flex;
	align-items: center;
}

.header__avatar img {
	width: 36px;
	height: 36px;
}

.header__desc {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.chat {
	padding: 100px 0 20px;
	width: 71%;
}

@media (max-width: 1430px) {
	.content,
	.header {
		width: 100%;
	}

	.header {
		left: 12.3%;
		width: 704px !important;
		border-right: 2px solid rgba(33, 33, 33, 1);
	}

	body.add-scroll {
		max-width: 900px !important;
		margin: 0 auto !important;
	}

	.header {
		left: 0%;
		width: 602px !important;
	}

	.main__sup {
		right: 0px !important;
	}
}

@media (max-width: 900px) {
	.header {
		top: -2px;
	}

	.main__sup {
		display: none;
	}

	.chat,
	.main-flex,
	.header,
	.content,
	.add-scroll {
		width: 100% !important;
		max-width: 100%;
	}

	.add-scroll {
		padding: 0px;
	}
}

.body {
	transform: translateY(120%);
	transition: transform 1s linear;
}

body,
html {
	overflow: hidden;
}

body {
	background: #ffffff;
	border-top: none;
}

body.add-scroll {
	max-width: 1436px;
	margin: 0 auto;
	overflow: hidden;
}

body.add-scroll {
	overflow-y: auto;
}

.content {
	position: relative;

	box-shadow: 0px 0px 60px 25px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 0px 60px 25px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 60px 25px rgba(0, 0, 0, 0.5);
}

.chat-content-list {
	margin: 20px 40px 0;
	font-size: 16px;
	color: #000;
}

.chat-content-desc-item {
	max-width: 629px;
	display: table;
	background: rgba(47, 47, 47, 0.9);
	border-radius: 18px 18px 18px 4px;
	padding: 20px;
	margin-bottom: 10px;
	position: relative;
}

.chat-content-buttons-gender-block {
	width: auto;
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	background: #0074be;
	border: 1px solid #0074be;
	border-radius: 5px;
	cursor: pointer;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	color: #fff;
}

.chat-content-buttons-gender-block:last-child {
	margin-right: 0;
}

.message-time {
	width: 40px;
	display: none;
	vertical-align: top;
	margin: 4px 0 0;
	letter-spacing: 1px;
}

.chat-flex {
	display: flex;
	gap: 11px;
	align-items: end;
	margin-left: -10px;
}

.text {
	max-width: 539px;
	display: inline-block;
	vertical-align: top;
	margin: 0 0 0 10px;
	line-height: 130%;
	font-weight: 400 !important;
	color: rgba(227, 227, 227, 1) !important;
}

.message-time {
	font-size: 14px;
	color: #000;
}

@media (max-width: 1200px) {
	.content {
		margin: auto;
		display: block;
	}
}

@media (max-width: 991px) {
	.header {
		background-size: 50px;
	}

	.header__name {
		margin: 5px 0;
	}
}

@media (max-width: 400px) {
	.text {
		margin: 0 0 0 7px;
	}

	.chat-content-list {
		margin: 10px 15px 0;
	}
}

button {
	font-family: "Montserrat", sans-serif;
}

.chat-content-desc-item.manager,
.user-answer_list {
	position: relative;
}

.chat-content-desc-item.manager::after,
.user-answer_list::after {
	content: "";
	position: absolute;
	display: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #f0f0f0;
	right: -10px;
	top: 0;
	filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.4));
}

.user-answer_list::after {
	left: -10px;
}

.chat-content-buttons-gender-block,
.text {
	font-size: 18px;
}

.header__name {
	display: flex;
	text-align: center;
}

.header__modal p {
	font-weight: 400;
	font-size: 15px;
	line-height: 18px;
	text-align: right;
	letter-spacing: -0.41px;
	color: #2e2e2e;
	margin-left: -8px;
}

.header__icons button {
	background: transparent;
	cursor: pointer;
	border: none;
}

.header__modal {
	border-radius: 30px 5px 30px 30px;
	padding: 5px 18px 5px 10px;
	display: none;
	transition: all 0.3s ease;
	align-items: start;
	background: #91c8fc;
	border: 1px solid #0584fe;
	max-width: 240px;
}

.header__modal button {
	background: transparent;
	border: none;
	cursor: pointer;
}

@media (max-width: 768px) {
	.chat-content-desc-item {
		padding: 10px;
		font-size: 16px;
	}
}

@media (max-width: 991px) {
	body {
		border-top: none !important;
	}

	body,
	html {
		overflow-x: hidden;
	}
}

@media (max-width: 601px) {
	.header__name {
		margin: 0;
	}
}

@media (max-width: 640px) {
	.header__name {
		margin: 5px 0;
	}

	.chat {
		padding: 100px 0px 20px;
	}
}

@media screen and (max-width: 500px) {
	.header__name {
		padding: 10px;
		margin: 0;
	}
}

::-webkit-scrollbar {
	display: none;
}

.header__desc {
	position: relative;
}

.user-answer_list {
	background: transparent;
	border-radius: 20px 0px 20px 20px;
	display: table;
	padding: 20px 0px 17px;
	margin-left: auto;
	margin-right: 0;
	margin-bottom: 20px;
	max-width: 290px;
	position: relative;
}

.user--answer {
	width: 100%;
	text-align: center;
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	background: rgba(16, 163, 127, 0.75);
	border: rgba(16, 163, 127, 1);
	border-radius: 20px;
	cursor: pointer;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	color: #fff;
	padding: 10px 15px;
	font-size: 17px;
	font-weight: 500;
}

.user--answer:last-child {
	margin-right: 0;
}

/* Loader */

.message-loader {
	margin: 15px 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	width: 100%;
	height: 47px;
}

.main-flex {
	display: flex;
	align-items: center;
}

.main__sup {
	background-color: rgba(33, 33, 33, 1);
	flex: 1 1 20%;
	overflow-y: scroll;
	position: fixed;
	top: 0;
	right: 207px;
	padding: 5px;
	height: 100%;
	border-left: 2px solid #ededed;
	max-width: 300px;
}

.main__sup-logo img {
	display: block;
	width: 100%;
	max-width: 130px;
	margin: 0 auto;
	object-fit: contain;
}

.main__sup-logo {
	margin: 0 auto 8px;
}

.message-time,
.main__sup-subtitle {
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	text-align: center;
	letter-spacing: -0.08px;
	color: rgba(227, 227, 227, 1);
	max-width: 210px;
	margin: 0 auto 44px;
}

.message-time {
	display: block;
	margin: -30px auto -10px;
}

.main__sup-title {
	display: flex;
	align-items: center;
	gap: 2px;
	justify-content: center;
	margin-bottom: 4px;
}

.main__sup-title p {
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: -0.41px;
	color: rgba(227, 227, 227, 1);
}

.main__sup-btn p {
	font-weight: 700;
	font-size: 17px;
	line-height: 21px;
	letter-spacing: -0.41px;
	color: rgba(227, 227, 227, 1);
}

.main__sup-btn {
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	justify-content: center;
	margin-bottom: 20px;
}

.meta__sup-text {
	transition: all 0.3s ease;
	min-height: 0px;
	visibility: hidden;
	padding-left: 5%;
	padding-right: 2%;
}

.meta__sup-text {
	font-weight: 600;
	font-size: 15px;
	line-height: 18px;
	letter-spacing: -0.21px;
	color: rgba(227, 227, 227, 0.75);
}

.main__sup-btn img {
	transition: all 0.3s ease;
}

.header__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	background-color: rgba(33, 33, 33, 1);
}

.header__icons {
	display: flex;
	align-items: center;
	gap: 23px;
}

.header__desc div {
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 768px) {
	.main__sup-logo img {
		display: block;
		width: 100%;
		max-width: 88px;
	}

	.main__sup {
		display: none;
	}

	.header {
		padding: 10px 15px;
	}

	.chat {
		padding: 80px 0 20px;
	}

	.message-time {
		display: block;
		margin: -30px auto 10px;
	}
}

.header__desc-title {
	font-weight: 500;
	font-size: 24px !important;
	color: rgba(227, 227, 227, 0.9);
}

@media (max-width: 570px) {
	.header__desc-title {
		font-size: 17px !important;
	}
}
@media (max-width: 780px) {
	.header__desc-title {
		font-size: 19px !important;
	}
}
@media (max-width: 900px) {
	.header__desc-title {
		font-size: 21px !important;
	}
}
@media (max-width: 1400px) {
	.header__desc-title {
		font-size: 22px !important;
	}
}

body.add-scroll {
	overflow: hidden;
}

.preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(33, 33, 33, 1);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.5s, visibility 0.5s;

	&.hidden {
		opacity: 0;
		visibility: hidden;
		display: none;
	}
}

.form-wrapper {
	margin-inline: auto;
	margin-top: 10px;
}
