/* ══════════════════════════════════════════════════════════
   Consultation booking  —  [ayurveda_consultation]
   Builds on booking-form.css; inherits its CSS variables so the
   admin's colour settings apply here too.
══════════════════════════════════════════════════════════ */

.ab-consult-wrap {
	max-width: 760px;
	margin: 0 auto;
	background: var(--ab-ivory, #FAF8F3);
	border-radius: 6px;
	overflow: hidden;
}

.ab-consult-wrap [hidden] {
	display: none !important;
}

/* ── Header ──────────────────────────────────────────────── */
.ab-consult-head {
	background: var(--ab-plum, #3D0C2E);
	padding: 30px 32px 26px;
	text-align: center;
}

.ab-consult-title {
	margin: 0 0 8px !important;
	color: #fff !important;
	font-size: 24px !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
}

.ab-consult-intro {
	margin: 0 auto !important;
	max-width: 52ch;
	color: rgba(255, 255, 255, .8) !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
}

.ab-consult-facts {
	list-style: none !important;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 26px;
	margin: 20px 0 0 !important;
	padding: 0 !important;
}

.ab-consult-facts li {
	list-style: none !important;
	margin: 0 !important;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--ab-gold, #C9A84C);
	font-size: 13px;
	font-weight: 500;
}

.ab-consult-facts svg {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}

/* ── Body ────────────────────────────────────────────────── */
.ab-consult-wrap .ab-form {
	padding: 26px 32px 32px;
}

.ab-consult-empty {
	padding: 28px 32px;
	background: #fff4e5;
	border-left: 4px solid #d9a441;
	color: #6b4d12;
	font-size: 14px;
	line-height: 1.6;
}

/* ── Hints ───────────────────────────────────────────────── */
.ab-consult-wrap .ab-hint {
	margin: 6px 0 0 !important;
	font-size: 12.5px !important;
	line-height: 1.5 !important;
	color: rgba(0, 0, 0, .55) !important;
}

.ab-consult-wrap .ab-hint--ok {
	color: #1a7e35 !important;
	font-weight: 600 !important;
}

.ab-time-loading,
.ab-time-empty {
	grid-column: 1 / -1;
	margin: 0 !important;
	padding: 14px 2px;
	font-size: 13.5px !important;
	color: rgba(0, 0, 0, .55) !important;
}

/* ── Alerts ──────────────────────────────────────────────── */
.ab-consult-wrap .ab-alert {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}

.ab-consult-wrap .ab-alert--error {
	background: #fdecea;
	border-left: 4px solid #c62828;
	color: #8c1d18;
}

.ab-consult-wrap .ab-alert--ok {
	background: #e8f5e9;
	border-left: 4px solid #2e7d32;
	color: #1b5e20;
}

/* ── Booking summary ─────────────────────────────────────── */
.ab-summary {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 4px 0 22px;
	padding: 14px 18px;
	border-radius: 4px;
	background: var(--ab-gold-pale, rgba(201, 168, 76, .12));
	border-left: 3px solid var(--ab-gold, #C9A84C);
}

.ab-summary-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, .5);
}

.ab-summary-value {
	font-size: 15px;
	font-weight: 600;
	color: var(--ab-plum, #3D0C2E);
}

/* ── Success ─────────────────────────────────────────────── */
.ab-success {
	padding: 48px 32px;
	text-align: center;
}

.ab-success-icon {
	width: 58px;
	height: 58px;
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #e8f5e9;
	color: #2e7d32;
	font-size: 30px;
	line-height: 1;
}

.ab-success-msg {
	margin: 0 0 8px !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	color: var(--ab-plum, #3D0C2E) !important;
}

.ab-success-ref {
	margin: 0 !important;
	font-size: 13px !important;
	letter-spacing: .06em;
	color: rgba(0, 0, 0, .5) !important;
}

/* ── Legend ──────────────────────────────────────────────── */
.ab-consult-wrap .ab-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 14px 0 0 !important;
}

.ab-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px !important;
	color: rgba(0, 0, 0, .6) !important;
}

.ab-legend-swatch {
	width: 13px;
	height: 13px;
	border-radius: 3px;
	display: inline-block;
}

.ab-legend-swatch--free {
	border: 1.5px solid var(--ab-gold, #C9A84C);
	background: #fff;
}

.ab-legend-swatch--booked {
	border: 1.5px solid rgba(0, 0, 0, .15);
	background: rgba(0, 0, 0, .07);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
	.ab-consult-head        { padding: 24px 20px 22px; }
	.ab-consult-title       { font-size: 20px !important; }
	.ab-consult-wrap .ab-form { padding: 22px 20px 26px; }
	.ab-consult-facts       { gap: 8px 18px; }
}
