.atlasblog-comments-widget {
	width: 100%;
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid #edf0f5;
	border-radius: 8px;
	background: #fff;
	direction: rtl;
	color: #6b7280;
	text-align: right;
}

.atlasblog-comments-widget__title {
	margin: 0 0 28px;
	color: #4b5563;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.8;
	text-align: right;
}

.atlasblog-comments-widget__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 24px;
	margin: 0;
}

.atlasblog-comments-widget__form p {
	margin: 0;
}

.atlasblog-comments-widget__field,
.atlasblog-comments-widget__comment {
	position: relative;
}

.atlasblog-comments-widget__field input,
.atlasblog-comments-widget__comment textarea {
	display: block;
	width: 100%;
	margin: 0;
	border: 1px solid #edf0f5;
	border-radius: 4px;
	background: #fff;
	box-shadow: none;
	color: #6b7280;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.7;
	text-align: right;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.atlasblog-comments-widget__field input {
	min-height: 54px;
	padding: 0 48px 0 18px;
}

.atlasblog-comments-widget__comment {
	grid-column: 1 / -1;
}

.atlasblog-comments-widget__comment textarea {
	min-height: 244px;
	padding: 28px 28px 18px;
	resize: vertical;
}

.atlasblog-comments-widget__field input:focus,
.atlasblog-comments-widget__comment textarea:focus {
	border-color: #d8deeb;
	box-shadow: 0 0 0 3px rgba(37, 53, 131, 0.04);
	outline: 0;
}

.atlasblog-comments-widget__field input::placeholder,
.atlasblog-comments-widget__comment textarea::placeholder {
	color: #aeb6c4;
	opacity: 1;
}

.atlasblog-comments-widget__field-icon {
	position: absolute;
	top: 50%;
	right: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: #b6becb;
	pointer-events: none;
	transform: translateY(-50%);
}

.atlasblog-comments-widget__field-icon svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.atlasblog-comments-widget__submit-wrap {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-start;
}

.atlasblog-comments-widget__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 116px;
	min-height: 52px;
	margin: 8px 0 0;
	padding: 12px 28px;
	border: 0;
	border-radius: 5px;
	background: #05a85a;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.6;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.atlasblog-comments-widget__submit:hover,
.atlasblog-comments-widget__submit:focus {
	background: #05a85a;
	color: #fff;
	opacity: 0.92;
	outline: 0;
	transform: translateY(-1px);
}

.atlasblog-comments-widget .logged-in-as,
.atlasblog-comments-widget .comment-form-cookies-consent {
	grid-column: 1 / -1;
	color: #8b95a7;
	font-size: 12px;
	line-height: 1.8;
}

.atlasblog-comments-widget .logged-in-as a,
.atlasblog-comments-widget .comment-form-cookies-consent a {
	color: #253583;
	text-decoration: none;
}

.atlasblog-comments-widget__closed {
	margin: 0;
	color: #8b95a7;
	font-size: 13px;
	line-height: 1.8;
}

@media (max-width: 767px) {
	.atlasblog-comments-widget {
		padding: 22px 16px;
	}

	.atlasblog-comments-widget__form {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.atlasblog-comments-widget__comment textarea {
		min-height: 190px;
		padding: 20px 18px;
	}

	.atlasblog-comments-widget__submit-wrap {
		justify-content: stretch;
	}

	.atlasblog-comments-widget__submit {
		width: 100%;
	}
}
