/* Font: page builders (Elementor et al.) usually scope their custom
   typography to their OWN widget/heading classes, not a blanket rule on
   <body> — so `font-family: inherit` here often lands on nothing better
   than the browser's own default (this is exactly what happened: form text
   was rendering in Segoe UI, the Windows UI font, not the site's brand
   font). Self-hosting the same face used elsewhere on this site (see
   dm-reservation-admin.css) is the reliable fix — it doesn't depend on
   guessing how the theme/builder structured its own CSS. */
@font-face {
	font-family: "Yekan Bakh FaNum";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/YekanBakhFaNum-Regular.woff") format("woff");
}

@font-face {
	font-family: "Yekan Bakh FaNum";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/YekanBakhFaNum-SemiBold.woff") format("woff");
}

@font-face {
	font-family: "Yekan Bakh FaNum";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/YekanBakhFaNum-Bold.woff") format("woff");
}

@font-face {
	font-family: "Yekan Bakh FaNum";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/YekanBakhFaNum-ExtraBold.woff") format("woff");
}

/* Opt-in (Settings → appearance → "full_width"): breaks the shortcode wrapper
   out of whatever width a theme's own CSS caps its content column at (Hello
   Elementor's .site-main max-width is the common offender on plain/Gutenberg
   pages), instead of every buyer needing theme edits or a page-builder canvas
   template just to get the booking form or portal at real width. */
.dmr-full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.dmr-booking {
	--dmr-ink: #1e293b;
	--dmr-line: #e3e6ea;
	max-width: 1000px;
	margin: 0 auto;
	font-family: "Yekan Bakh FaNum", Tahoma, Arial, sans-serif;
	color: var(--dmr-ink);
	font-size: 15px;
	line-height: 1.7;
}

.dmr-booking * {
	box-sizing: border-box;
}

/* Browsers give form controls their own UI font by default, ignoring even
   an ancestor's own font-family — without this rule every input/select/
   button on the form ignores the rule above and shows the OS default. */
.dmr-booking input,
.dmr-booking select,
.dmr-booking textarea,
.dmr-booking button {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.dmr-card {
	background: var(--dmr-surface, #fff);
	border: 1px solid var(--dmr-line);
	border-radius: var(--dmr-radius);
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

.dmr-waitlist-box {
	background: #fff8e6;
	border: 1px solid #f0d78c;
	border-radius: calc(var(--dmr-radius) - 4px);
	padding: 12px 16px;
	margin: 12px 0;
}

.dmr-waitlist-box .js-dmr-waitlist-name,
.dmr-waitlist-box .js-dmr-waitlist-phone {
	flex: 1 1 160px;
	padding: 8px 10px;
	border: 1px solid var(--dmr-line);
	border-radius: calc(var(--dmr-radius) - 6px);
}

.dmr-summary-box {
	background: var(--dmr-bg, #f8fafc);
	border: 1px solid var(--dmr-line);
	border-radius: calc(var(--dmr-radius) - 4px);
	padding: 12px 16px;
	margin-bottom: 16px;
}

.dmr-summary-box p {
	margin: 4px 0;
}

.dmr-cancel-notice {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: #b45309;
}

.dmr-card-header {
	background: var(--dmr-primary);
	color: #fff;
	padding: 18px 22px;
}

.dmr-card-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.dmr-card-brand {
	font-weight: 700;
	font-size: 17px;
}

.dmr-badge {
	background: rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	padding: 4px 14px;
	font-size: 13px;
	direction: ltr;
	white-space: nowrap;
}

.dmr-card-title {
	margin: 10px 0 0;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}

.dmr-card-header-row .dmr-card-title {
	margin: 0;
	font-size: 17px;
}

.dmr-card-subtitle {
	margin: 6px 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
}

.dmr-card-body {
	padding: 22px;
}

.dmr-section-title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 700;
}

.dmr-field {
	margin-bottom: 14px;
	flex: 1 1 220px;
}

.dmr-field label,
.dmr-field-label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
}

.dmr-field input[type="text"],
.dmr-field input[type="tel"],
.dmr-field select,
.dmr-field textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--dmr-line);
	border-radius: calc(var(--dmr-radius) - 3px);
	background: var(--dmr-bg, #f8fafc);
	font: inherit;
	color: inherit;
}

/* Selects otherwise keep the browser's own native chrome (arrow + focus
   ring in whatever the OS accent color is), which clashes with the chosen
   brand color and looks broken next to the rest of the styled form. The
   dropdown POPUP itself (the open option list) is still drawn by the OS —
   no cross-browser CSS can restyle that part without a JS-built listbox. */
.dmr-field select {
	appearance: none;
	-webkit-appearance: none;
	padding-inline-end: 34px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b7280' stroke-width='1.6'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
	background-size: 14px;
}

.dmr-field input:focus,
.dmr-field select:focus,
.dmr-field textarea:focus {
	outline: none;
	border-color: var(--dmr-primary);
	background-color: var(--dmr-surface, #fff);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--dmr-primary) 16%, transparent);
}

.dmr-field-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.dmr-clinic-select {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	padding: 16px 22px 0;
}

.dmr-clinic-select .dmr-field {
	margin-bottom: 0;
	min-width: 0;
}

@media (max-width: 520px) {
	.dmr-clinic-select {
		grid-template-columns: 1fr;
	}
}

.dmr-toggle-group {
	display: flex;
	gap: 10px;
}

.dmr-toggle {
	flex: 1 1 0;
}

.dmr-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.dmr-toggle span {
	display: block;
	text-align: center;
	padding: 11px 10px;
	border: 1px solid var(--dmr-line);
	border-radius: calc(var(--dmr-radius) - 3px);
	cursor: pointer;
	font-size: 14px;
}

.dmr-toggle input:checked + span {
	background: var(--dmr-primary);
	border-color: var(--dmr-primary);
	color: #fff;
	font-weight: 700;
}

.dmr-btn {
	display: block;
	width: 100%;
	padding: 14px 18px;
	border: 0;
	border-radius: calc(var(--dmr-radius) - 3px);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.dmr-btn-primary {
	background: var(--dmr-primary);
	color: #fff;
}

.dmr-btn-primary:disabled {
	background: var(--dmr-muted);
	cursor: not-allowed;
}

.dmr-stat-row {
	display: flex;
	gap: 12px;
	margin-top: 14px;
}

.dmr-stat {
	flex: 1 1 0;
	background: var(--dmr-surface, #fff);
	border: 1px solid var(--dmr-line);
	border-radius: var(--dmr-radius);
	padding: 14px;
	text-align: center;
}

.dmr-stat-value {
	display: block;
	font-size: 20px;
	font-weight: 700;
	color: var(--dmr-primary);
}

.dmr-stat-label {
	font-size: 13px;
	color: var(--dmr-ink-soft, #64748b);
}

.dmr-grid-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.dmr-day-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.dmr-day-hint {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--dmr-ink-soft, #64748b);
}

.dmr-legend {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.dmr-legend li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.dmr-legend-dot {
	width: 14px;
	height: 14px;
	border-radius: 4px;
	display: inline-block;
}

.dmr-legend-free {
	background: var(--dmr-success);
}

.dmr-legend-taken {
	background: var(--dmr-danger);
}

.dmr-legend-off {
	background: var(--dmr-muted);
}

.dmr-slot-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 12px;
}

.dmr-slot {
	border: 0;
	border-radius: var(--dmr-radius);
	padding: 26px 6px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
}

.dmr-slot-free {
	background: var(--dmr-success);
}

.dmr-slot-taken {
	background: var(--dmr-danger);
	cursor: pointer;
}

.dmr-slot-off {
	background: var(--dmr-muted);
	color: var(--dmr-ink-soft, #7b8794);
	cursor: not-allowed;
}

.dmr-slot-selected {
	outline: 3px solid var(--dmr-ink);
	outline-offset: 2px;
}

.dmr-patient-box {
	margin-top: 20px;
	border: 1px solid var(--dmr-line);
	border-radius: var(--dmr-radius);
	padding: 18px;
}

.dmr-empty {
	text-align: center;
	color: var(--dmr-ink-soft, #64748b);
	padding: 20px;
}

.dmr-message {
	margin: 10px 0;
	font-size: 13px;
	min-height: 18px;
}

.dmr-message-error {
	color: var(--dmr-danger);
	font-weight: 600;
}

.dmr-message-ok {
	color: var(--dmr-success);
	font-weight: 600;
}

.dmr-survey-stars {
	display: flex;
	gap: 6px;
	margin: 14px 0;
	direction: ltr;
}

.dmr-survey-star {
	background: none;
	border: none;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	color: var(--dmr-muted, #d8dce3);
	padding: 0;
}

.dmr-survey-star.is-active {
	color: var(--dmr-star, #f5a623);
}

.dmr-field-rating-label {
	display: block;
	margin-bottom: 4px;
}

.dmr-field-rating {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 2px;
	direction: ltr;
}

.dmr-field-rating input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.dmr-field-rating label {
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--dmr-muted, #d8dce3);
}

.dmr-field-rating input:checked ~ label,
.dmr-field-rating label:hover,
.dmr-field-rating label:hover ~ label {
	color: var(--dmr-star, #f5a623);
}

.js-dmr-survey-comment {
	width: 100%;
	box-sizing: border-box;
	min-height: 70px;
	margin-bottom: 8px;
}

@media (max-width: 900px) {
	.dmr-slot-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 520px) {
	.dmr-slot-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.dmr-slot {
		padding: 18px 4px;
		font-size: 14px;
	}

	.dmr-card-body {
		padding: 16px;
	}
}

.dmr-day-strip {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 6px;
	margin-bottom: 16px;
}

.dmr-day {
	flex: 0 0 auto;
	min-width: 84px;
	padding: 10px 8px;
	border: 1px solid var(--dmr-line);
	border-radius: calc(var(--dmr-radius) - 2px);
	background: var(--dmr-surface, #fff);
	font: inherit;
	cursor: pointer;
	text-align: center;
}

.dmr-day-name {
	display: block;
	font-size: 13px;
	font-weight: 700;
}

.dmr-day-date {
	display: block;
	font-size: 12px;
	color: var(--dmr-ink-soft, #64748b);
}

.dmr-day-active {
	background: var(--dmr-primary);
	border-color: var(--dmr-primary);
	color: #fff;
}

.dmr-day-active .dmr-day-date {
	color: rgba(255, 255, 255, 0.85);
}

.dmr-day-remaining {
	display: block;
	font-size: 11px;
	margin-top: 2px;
	color: var(--dmr-success, #2f9e44);
}

.dmr-day-active .dmr-day-remaining {
	color: rgba(255, 255, 255, 0.85);
}

.dmr-day-closed {
	opacity: 0.45;
	cursor: not-allowed;
}

.dmr-switch-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dmr-switch-row {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.dmr-switch input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.dmr-switch-track {
	display: inline-block;
	width: 44px;
	height: 24px;
	border-radius: 999px;
	background: var(--dmr-muted);
	position: relative;
	transition: background-color 0.18s ease;
}

.dmr-switch-knob {
	position: absolute;
	top: 3px;
	/* Logical: the knob rests on the reading-start side in every language. */
	inset-inline-start: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.18s ease;
}

.dmr-switch input:checked + .dmr-switch-track {
	background: var(--dmr-success);
}

/* Checked slides the knob toward the reading-end side — the direction of
   "end" flips with the language, and transform has no logical equivalent. */
.dmr-switch input:checked + .dmr-switch-track .dmr-switch-knob {
	transform: translateX(-20px);
}

[dir="ltr"] .dmr-switch input:checked + .dmr-switch-track .dmr-switch-knob {
	transform: translateX(20px);
}

.dmr-switch input:focus-visible + .dmr-switch-track {
	outline: 2px solid var(--dmr-primary);
	outline-offset: 2px;
}

.dmr-switch-label {
	font-size: 14px;
}

.dmr-payment-option {
	border: 1px solid var(--dmr-line);
	border-radius: var(--dmr-radius);
	padding: 8px 12px;
}

.dmr-payment-icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
	flex-shrink: 0;
}

span.dmr-payment-icon {
	font-size: 20px;
	line-height: 22px;
	color: var(--dmr-primary);
	width: 22px;
	height: 22px;
	text-align: center;
}

.dmr-otp-box {
	margin: 14px 0;
	padding: 14px;
	border: 1px dashed var(--dmr-primary);
	border-radius: calc(var(--dmr-radius) - 3px);
	background: var(--dmr-bg, #f8fafc);
}

.dmr-otp-box label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
}

.dmr-otp-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.dmr-otp-row input {
	flex: 1 1 140px;
	padding: 11px 13px;
	border: 1px solid var(--dmr-line);
	border-radius: calc(var(--dmr-radius) - 3px);
	font: inherit;
	text-align: center;
	letter-spacing: 4px;
	background: var(--dmr-surface, #fff);
}

.dmr-otp-row .dmr-btn {
	width: auto;
	flex: 0 0 auto;
	padding: 12px 22px;
}

.dmr-login-note {
	background: #fff8e1;
	border: 1px solid #f0d48a;
	border-radius: calc(var(--dmr-radius) - 3px);
	padding: 12px 14px;
	margin: 12px 0;
	font-size: 14px;
}

.dmr-login-link {
	display: inline-block;
	margin-inline-start: 8px;
	font-weight: 700;
	color: var(--dmr-primary);
}

/* ── "مدرن" template: same day-strip/slot-grid interaction as the grid
   template (identical js- hooks), only the shell is skinned differently —
   gradient header, larger radius, two-column doctor/department picker. ── */
.dmr-booking-modern .dmr-card {
	border: none;
	border-radius: calc(var(--dmr-radius) + 6px);
	box-shadow: 0 4px 24px rgba(30, 20, 60, 0.08);
	overflow: hidden;
}

.dmr-booking-modern .dmr-card-header-gradient {
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, var(--dmr-primary), color-mix(in srgb, var(--dmr-primary) 55%, var(--dmr-accent, #8b6cf0)) 55%, var(--dmr-accent-2, #e0678e));
	padding: 20px 26px;
}

.dmr-booking-modern .dmr-card-header-gradient::before {
	content: "";
	position: absolute;
	inset-inline-start: -30px;
	top: -50px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	pointer-events: none;
}

.dmr-booking-modern .dmr-card-header-row {
	position: relative;
}

.dmr-booking-modern .dmr-card-brand {
	font-size: 15px;
}

.dmr-booking-modern .dmr-clinic-select {
	padding: 22px 26px 0;
}

.dmr-booking-modern .dmr-clinic-select .dmr-field select {
	border-radius: calc(var(--dmr-radius) - 1px);
	padding-top: 12px;
	padding-bottom: 12px;
	padding-inline-start: 14px;
}

.dmr-booking-modern .dmr-card-body {
	padding: 22px 26px 26px;
}

.dmr-booking-modern .dmr-grid-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.dmr-booking-modern .dmr-day-strip {
	margin-bottom: 22px;
}

.dmr-booking-modern .dmr-day {
	border-radius: calc(var(--dmr-radius) - 2px);
}

.dmr-booking-modern .dmr-day-active {
	background: linear-gradient(120deg, var(--dmr-primary), color-mix(in srgb, var(--dmr-primary) 55%, var(--dmr-accent, #8b6cf0)) 100%);
}

.dmr-booking-modern .dmr-slot-grid {
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.dmr-booking-modern .dmr-slot {
	border-radius: calc(var(--dmr-radius) - 2px);
	padding: 13px 8px;
}

.dmr-booking-modern .dmr-slot-selected {
	background: linear-gradient(120deg, var(--dmr-primary), color-mix(in srgb, var(--dmr-primary) 55%, var(--dmr-accent, #8b6cf0)) 100%);
	box-shadow: 0 6px 16px color-mix(in srgb, var(--dmr-accent, #8b6cf0) 45%, transparent);
}

.dmr-booking-modern .dmr-patient-box {
	border-top: 1px solid var(--dmr-line);
	padding-top: 22px;
	margin-top: 22px;
}

.dmr-booking-modern .dmr-field-row .dmr-field {
	flex: 1 1 220px;
}

@media (max-width: 640px) {
	.dmr-booking-modern .dmr-slot-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ── Department/doctor pickers as rows of cards (modern template only).
   The real <select>s stay in the DOM for no-JS visitors and department
   filtering, just visually hidden — see parts/clinic-select-modern.php.
   Light theme throughout, matching the rest of the card — no dark panel. ── */
.dmr-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.dmr-field-doctor-cards,
.dmr-field-pill-cards {
	grid-column: 1 / -1;
}

.dmr-pill-cards,
.dmr-doctor-cards {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 2px;
}

.dmr-pill-card {
	flex-shrink: 0;
	padding: 9px 18px;
	border-radius: 999px;
	border: 1.5px solid var(--dmr-line);
	background: var(--dmr-bg, #f8fafc);
	color: var(--dmr-ink);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.dmr-pill-card:hover {
	border-color: var(--dmr-primary);
}

/* Incompatible department/doctor choices are dimmed and unclickable rather
   than removed — the bidirectional filter (see dm-reservation-booking.js)
   toggles .is-disabled / the native :disabled state on the cards. */
.dmr-pill-card:disabled,
.dmr-pill-card.is-disabled,
.dmr-doctor-card:disabled,
.dmr-doctor-card.is-disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}

.dmr-pill-card.is-selected {
	border-color: var(--dmr-primary);
	background: var(--dmr-primary);
	color: #fff;
}

.dmr-doctor-card {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 8px;
	border-radius: calc(var(--dmr-radius) - 2px);
	border: 1.5px solid var(--dmr-line);
	background: var(--dmr-bg, #f8fafc);
	color: var(--dmr-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.dmr-doctor-card:hover {
	border-color: var(--dmr-primary);
}

.dmr-doctor-card.is-selected {
	border-color: var(--dmr-primary);
	background: var(--dmr-surface, #fff);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--dmr-primary) 16%, transparent);
}

.dmr-doctor-avatar {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	background: var(--dmr-primary);
}

.dmr-doctor-card.is-selected .dmr-doctor-avatar {
	background: linear-gradient(135deg, var(--dmr-primary), var(--dmr-accent, #8b6cf0));
}

.dmr-doctor-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dmr-doctor-name {
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.dmr-doctor-specialty {
	font-size: 11px;
	color: var(--dmr-ink-soft, #8a90a2);
	white-space: nowrap;
}

/* ---------------------------------------------------------------------------
 * The `hidden` attribute scores 0-1-0 and loses to any class that sets
 * `display`, so an element the script hides with it can stay fully visible
 * with nothing erroring anywhere. One global override, not per-component.
 * ------------------------------------------------------------------------ */
[hidden] {
	display: none !important;
}

/* «قبلاً مراجع بوده‌اید؟» */
.dmr-returning {
	display: grid;
	gap: 8px;
}

.dmr-returning-question {
	font-weight: 600;
}

.dmr-returning-option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-inline-end: 14px;
}

.dmr-returning-box {
	display: grid;
	gap: 8px;
	padding: 12px;
	border: 1px solid var(--dmr-line, #e7e8f2);
	border-radius: 12px;
}

.dmr-returning-hint {
	margin: 0;
	font-size: 12px;
	color: var(--dmr-ink-soft, #8a90a2);
}

/* فرم و فهرست نظرها */
.dmr-review-form,
.dmr-reviews {
	max-width: 720px;
	margin-inline: auto;
}

.dmr-review-field {
	display: grid;
	gap: 6px;
	margin-block-end: 14px;
}

.dmr-review-field input,
.dmr-review-field select,
.dmr-review-field textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--dmr-line, #e7e8f2);
	border-radius: 10px;
}

.dmr-review-hint,
.dmr-review-note {
	font-size: 12px;
	color: var(--dmr-ink-soft, #8a90a2);
}

.dmr-review-rating {
	border: 1px solid var(--dmr-line, #e7e8f2);
	border-radius: 10px;
	padding: 10px;
}

.dmr-review-star {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-inline-end: 12px;
}

.dmr-reviews-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.dmr-review-item {
	padding: 14px;
	border: 1px solid var(--dmr-line, #e7e8f2);
	border-radius: 14px;
}

.dmr-review-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 6px;
	font-size: 12px;
	color: var(--dmr-ink-soft, #8a90a2);
}

.dmr-review-author {
	color: inherit;
}

.dmr-review-text {
	margin: 0;
	line-height: 2;
}
