/* Общие стили для Firefox */
* {
  scrollbar-width: thin; /* тонкий скроллбар */
  scrollbar-color: #A34BFF #422F65; /* бегунок и фон */
}

/* Для Chrome, Edge, Opera */
*::-webkit-scrollbar {
  width: 6px;              /* ширина вертикального скролла */
  height: 6px;             /* высота горизонтального скролла */
}

*::-webkit-scrollbar-track {
  background: #422F65;
  border-radius: 50px;
}

*::-webkit-scrollbar-thumb {
	background: #A34BFF;
	box-shadow: 0px 0px 5.2px 4px rgba(163, 75, 255, 0.51);
	border-radius: 50px;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #9a5ee9; /* при наведении */
}


.help-item {
	margin-top: 40px;
}

.help-block {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.help-block-info {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.help-block-info h2 {
	font-weight: 600;
	font-size: 34px;

	color: rgba(255, 255, 255, 0.9);
	padding-bottom: 15px;
}

.help-block-info p {
	font-weight: 500;
	font-size: 18px;
	color: #fff;
}


.help-block-info-media {
	width: 100%;
	height: 400px;
	border-radius: 15px;
	background-size: cover;
}

.help-block-info span {
	font-weight: 700;
	font-size: 18px;
	color: #fff;
	text-align: center;
}

.help-block-main {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 30px;
}

.help-block-main h1 {
	width: 100%;
	text-align: left;
	border-bottom: 2px solid rgba(217, 217, 217, 0.15);
	padding-bottom: 15px;
	color: #fff;
	font-weight: 600;
	font-size: 42px;
}

.help-block-main > div {
	display: flex;
	height: 440px;
	gap: 15px;
}

.help-block-main > div > img {
	height: 100%;
	object-fit: contain;
}

.help-block-chat-main {
	display: flex;
	flex-direction: column;
	gap: 15px;
	background: rgba(35, 27, 74, 0.65);
	border-radius: 20px;
	padding: 35px 30px;
}

.help-block-chat-block {
	padding: 15px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6px;
}

.help-block-chat {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-right: 15px;
	height: 180px;
	max-height: 180px;
	overflow-y: scroll;
}

.help-block-chat div {
	padding: 15px;
	background: #685F86;
	border-radius: 18px;
	position: relative;
	margin: 0 20px;
}

.help-block-chat div.moderator {
	background: #8A7BBD;
}

.message-ponytail.left {
	position: absolute;
	top: 0;
	left: -20px;
}

.message-ponytail.right {
	position: absolute;
	bottom: 0;
	right: -20px;
}

.message-avatar{
	display: none;
}

.help-block-chat div span {
	color: #fff;
	font-weight: 400;
	font-size: var(--text-size-16);
	text-align: right;
}

.help-block-chat div.moderator span {
	text-align: left;
}

.help-block-chat-main input {
	height: 65px;
	padding: 0 20px;
	border: transparent;
	outline: none;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	font-weight: 600;
	font-size: var(--text-size-16);
	color: #fff;
}

.help-block-chat-main input:placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.help-block-chat-buttons {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
}

.help-block-chat-buttons button {
	width: 220px;
	height: 65px;
	border: transparent;
	background: linear-gradient(270deg, #B59DF6 0%, #6937F4 100%);
	border-radius: 6px;
	color: #fff;
	font-weight: 700;
	font-size: var(--text-size-20);
	cursor: pointer;
}

.help-block-chat-buttons-files {
	display: flex;
	gap: 5px;
	font-weight: 400;
	font-size: var(--text-size-14);
}

.help-block-chat-buttons-files > span {
	padding-left: 15px;
	text-decoration-line: underline;
	color: rgba(255, 255, 255, 0.9);
	border-left: 2px solid rgba(217, 217, 217, 0.41);
	cursor: pointer;
}

.help-block-file {
	display: flex;
	align-items: flex-end;
	gap: 5px;
	color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
}

.help-block-file span {
	font-size: 12px;
	color: #fff;
}

@media (max-width: 1460px) {
	.help-block-main h1 {
		font-size: 36px;
	}

	.help-block-main > div > img {
		height: 100%;
  		width: 380px;
  		object-fit: unset;
	}

	.help-block-file span {
		font-size: 10px;
	}
	
}

@media (max-width: 1200px) {
	.help-block-info h2 {
		font-size: 28px;
	}

	.help-block-info p, .help-block-info span {
		font-size: 16px;
	}
	.help-block-main h1 {
		font-size: 32px;
	}

	.help-block-main > div > img {
		display: none;
	}

	.help-block-chat-buttons button {
		height: 55px;
	}

	.help-block-chat-main input {
		height: 55px;
	}

	.help-block-main > div {
		height: 420px;
	}

	.help-block-info-media {
		height: 350px;
		background-position: center;

	}
}

@media (max-width: 768px) {
	.help-block-main > div > img {
		display: block;
	}

	.help-block-main > div {
		flex-direction: column;
	}
	.help-block-main > div > img {
		align-self: center;
	}
	.help-block-main h1 {
		text-align: center;
	}
	.help-block-main > div {
		height: unset;
	}

	.help-block-chat-main {
		height: 500px;
	}

	.help-block-chat {
		height: 270px;
		max-height: 270px;
	}

	.help-item {
		padding: 30px 50px;
	}

	:root {
		--text-size-20: 16px;
	}

	.help-block-chat-buttons button {
		height: 50px;
		width: 220px;
	}
}

@media (max-width: 600px) {
	.help-item {
		padding: 30px 25px;
	}

	.help-block-chat-buttons {
		flex-direction: column;
		gap: 15px;
	}

	.help-block-file span {
		font-size: 8px;
	}

}