/**
 * Uddfel Booking Engine — Luxury Frontend Scheduling Styling (v1.0.3)
 * Aligned with Crown Concierge Editorial Design System
 */

:root {
	--uddfel-book-accent: #8B6823;
	--uddfel-book-accent-dark: #6F4D09;
	--uddfel-book-accent-light: #fef9ee;
	--uddfel-book-charcoal: #181816;
	--uddfel-book-body: #4B453B;
	--uddfel-book-border: #e6e4df;
	--uddfel-book-bg-card: #ffffff;
	--uddfel-book-radius: 14px;
	--uddfel-cal-col-w: 52%;
	--uddfel-slots-col-w: 48%;

	--uddfel-cal-disabled-color: #78716c;
	--uddfel-cal-disabled-opacity: 0.75;
	--uddfel-cal-disabled-bg: #faf9f6;
	--uddfel-cal-disabled-cursor: not-allowed;
	--uddfel-cal-past-color: #a8a29e;
	--uddfel-cal-past-opacity: 0.45;
}

.uddfel-booking-wrapper {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	background: var(--uddfel-book-bg-card);
	border: 1px solid var(--uddfel-book-border);
	border-radius: var(--uddfel-book-radius);
	padding: 36px 36px 32px 36px;
	box-shadow: 0 10px 30px rgba(24, 24, 22, 0.05);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--uddfel-book-body);
	box-sizing: border-box;
}

.uddfel-booking-wrapper *,
.uddfel-booking-wrapper *::before,
.uddfel-booking-wrapper *::after {
	box-sizing: inherit;
}

/* Header */
.uddfel-booking-header {
	text-align: center;
	margin-bottom: 28px;
}

.uddfel-booking-title {
	font-family: 'Inter Tight', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: var(--uddfel-book-charcoal);
	margin: 0 0 10px 0;
	line-height: 1.25;
}

.uddfel-booking-subtitle {
	font-size: 15px;
	line-height: 1.6;
	color: var(--uddfel-book-body);
	max-width: 580px;
	margin: 0 auto;
}

/* Stepper Progress Bar — Responsive Grid */
.uddfel-booking-stepper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 24px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 769px) {
	.uddfel-booking-stepper:has(.step-indicator:nth-child(4)) {
		grid-template-columns: repeat(4, 1fr);
	}
}

.step-indicator {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 9999px;
	background: #f7f6f2;
	color: #8c857b;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.2s ease;
	user-select: none;
	min-width: 0;
	box-sizing: border-box;
}

.step-indicator .step-num {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e6e4df;
	color: #524e46;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

.step-indicator .step-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.step-indicator.is-active {
	background: var(--uddfel-book-accent-light);
	color: var(--uddfel-book-accent-dark);
	box-shadow: 0 0 0 1px var(--uddfel-book-accent);
}

.step-indicator.is-active .step-num {
	background: var(--uddfel-book-accent);
	color: #ffffff;
}

.step-indicator.is-completed {
	background: #f7f6f2;
	color: var(--uddfel-book-charcoal);
}

.step-indicator.is-completed .step-num {
	background: #16a34a;
	color: #ffffff;
}

/* Steps Content Panels */
.booking-step-panel {
	display: none;
	animation: uddfelFadeIn 0.25s ease;
}

.booking-step-panel.is-active {
	display: block;
}

@keyframes uddfelFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.step-title {
	font-family: 'Inter Tight', sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: var(--uddfel-book-charcoal);
	margin: 0 0 16px 0;
}

/* STEP 1: Booking Types Selection Grid */
.booking-types-selection-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.booking-type-card {
	border: 1px solid var(--uddfel-book-border);
	border-radius: 10px;
	padding: 18px 20px;
	cursor: pointer;
	display: block;
	transition: all 0.15s ease;
	background: #faf9f6;
}

.booking-type-card:hover {
	border-color: var(--uddfel-book-accent);
	background: #ffffff;
}

.booking-type-card.is-selected {
	border-color: var(--uddfel-book-accent);
	background: var(--uddfel-book-accent-light);
	box-shadow: 0 0 0 1px var(--uddfel-book-accent);
}

.booking-type-card input[type="radio"] {
	margin-right: 8px;
}

.type-card-name {
	font-weight: 600;
	color: var(--uddfel-book-charcoal);
	font-size: 15px;
}

/* STEP 2: Balanced Two-Column Calendar & Slots Layout */
.calendar-and-slots-layout {
	display: grid;
	grid-template-columns: var(--uddfel-cal-col-w, 52%) var(--uddfel-slots-col-w, 48%);
	gap: 32px;
	background: #ffffff;
	border: 1px solid var(--uddfel-book-border);
	border-radius: 12px;
	padding: 24px 28px;
	margin-bottom: 20px;
	align-items: stretch;
	box-sizing: border-box;
}

/* Calendar Column */
.calendar-column {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.calendar-month-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.calendar-month-label {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: var(--uddfel-book-charcoal);
}

.btn-cal-month-nav {
	background: #f7f6f2;
	border: 1px solid var(--uddfel-book-border);
	border-radius: 6px;
	width: 30px;
	height: 30px;
	font-size: 17px;
	line-height: 1;
	color: var(--uddfel-book-charcoal);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
	user-select: none;
}

.btn-cal-month-nav:hover:not(:disabled) {
	background: #eae8e1;
}

.btn-cal-month-nav:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.calendar-days-of-week {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	color: #78716c;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 6px;
}

.calendar-grid-dates {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
}

.cal-date-btn {
	aspect-ratio: 1 / 1;
	height: auto;
	width: 100%;
	max-width: 38px;
	max-height: 38px;
	margin: 0 auto;
	border-radius: 6px;
	border: 1px solid transparent;
	background: transparent;
	font-size: 13px;
	font-weight: 500;
	color: var(--uddfel-book-charcoal);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	cursor: pointer;
	transition: all 0.15s ease;
	padding: 0;
	box-sizing: border-box;
	user-select: none;
}

.cal-date-btn.is-empty {
	cursor: default;
	pointer-events: none;
}

/* Available Dates */
.cal-date-btn.is-available {
	background: #faf9f6;
	border-color: #eeebe3;
	font-weight: 600;
}

.cal-date-btn.is-available:hover {
	background: var(--uddfel-book-accent-light);
	border-color: var(--uddfel-book-accent);
	color: var(--uddfel-book-accent-dark);
}

.cal-date-btn.is-selected {
	background: var(--uddfel-book-accent) !important;
	color: #ffffff !important;
	border-color: var(--uddfel-book-accent) !important;
	font-weight: 700;
	box-shadow: 0 4px 10px rgba(139, 104, 35, 0.25);
}

.cal-date-btn.is-today {
	position: relative;
}

.cal-date-btn.is-today::after {
	content: '';
	position: absolute;
	bottom: 2px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--uddfel-book-accent);
}

.cal-date-btn.is-selected.is-today::after {
	background: #ffffff;
}

/* Disabled & Legible Date Styling */
.cal-date-btn.is-disabled {
	color: var(--uddfel-cal-disabled-color, #78716c) !important;
	opacity: var(--uddfel-cal-disabled-opacity, 0.75) !important;
	background: var(--uddfel-cal-disabled-bg, transparent);
	cursor: var(--uddfel-cal-disabled-cursor, not-allowed);
	font-weight: 500;
}

.cal-date-btn.is-disabled.is-future-unavailable {
	background-color: var(--uddfel-cal-disabled-bg, #faf9f6);
	border-color: transparent;
}

.cal-date-btn.is-disabled.is-past {
	color: var(--uddfel-cal-past-color, #a8a29e) !important;
	opacity: var(--uddfel-cal-past-opacity, 0.45) !important;
	background: transparent;
}

/* Right: Slots Column */
.slots-column {
	border-left: 1px solid var(--uddfel-book-border);
	padding-left: 32px;
	padding-right: 8px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 0;
	box-sizing: border-box;
	overflow: hidden;
}

/* Active Date Header (Displayed ONLY after a date is selected) */
.slots-header {
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f2f1ed;
}

.slots-header-titles {
	flex-grow: 1;
}

.slots-date-label {
	font-family: 'Inter Tight', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--uddfel-book-charcoal);
	margin: 0 0 2px 0;
	line-height: 1.3;
}

.slots-sublabel-line {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #78716c;
}

.slots-sublabel {
	color: #6b655b;
}

.slots-timezone-meta {
	color: #8c857b;
	font-size: 11px;
}

.slots-container {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
	width: 100%;
}

/* Empty State Cards (Balanced, Vertical Presentation) */
.slots-state-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex: 1 1 auto;
	padding: 12px 4px;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}

.slots-state-card {
	max-width: 270px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.slots-state-icon {
	font-size: 22px;
	margin-bottom: 8px;
	color: var(--uddfel-book-accent);
	line-height: 1;
}

.slots-state-icon--muted {
	color: #9c9489;
}

.slots-state-title {
	font-family: 'Inter Tight', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--uddfel-book-charcoal);
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.slots-state-desc {
	font-size: 13px;
	line-height: 1.55;
	color: #6b655b;
	margin: 0 auto 16px auto;
	max-width: 250px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.slots-timezone-quiet {
	font-size: 11px;
	color: #8c857b;
	margin-top: 10px;
	line-height: 1.4;
}

.btn-cal-next-month {
	font-size: 13px;
	padding: 8px 16px;
	min-height: 36px;
	border-radius: 6px;
}

/* Loading State */
.slots-loading {
	padding: 30px 16px;
	text-align: center;
	color: var(--uddfel-book-accent);
}

.booking-spinner {
	width: 26px;
	height: 26px;
	border: 3px solid #eee;
	border-top-color: var(--uddfel-book-accent);
	border-radius: 50%;
	animation: uddfelSpin 0.8s linear infinite;
	margin: 0 auto 10px auto;
}

@keyframes uddfelSpin {
	to { transform: rotate(360deg); }
}

.slots-loading-text {
	font-size: 13px;
	font-weight: 500;
	color: #8c857b;
	margin: 0;
}

/* Slots Grid & Chips */
.slots-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	max-height: 260px;
	overflow-y: auto;
	padding-right: 4px;
}

.slot-btn {
	background: #ffffff;
	border: 1px solid var(--uddfel-book-border);
	border-radius: 8px;
	padding: 10px 8px;
	min-height: 42px;
	font-size: 13px;
	font-weight: 500;
	color: var(--uddfel-book-charcoal);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s ease;
	line-height: 1.2;
	user-select: none;
}

.slot-btn:hover {
	border-color: var(--uddfel-book-accent);
	background: var(--uddfel-book-accent-light);
	color: var(--uddfel-book-accent-dark);
}

.slot-btn.is-selected {
	background: var(--uddfel-book-accent) !important;
	border-color: var(--uddfel-book-accent) !important;
	color: #ffffff !important;
	font-weight: 600;
	box-shadow: 0 4px 10px rgba(139, 104, 35, 0.25);
}

/* STEP 3: Details Form */
.form-row-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

.form-field-group {
	margin-bottom: 16px;
}

.uddfel-field-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--uddfel-book-charcoal);
	margin-bottom: 6px;
}

.uddfel-booking-input,
.uddfel-booking-select,
.uddfel-booking-textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--uddfel-book-border);
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	color: var(--uddfel-book-charcoal);
	background: #ffffff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.uddfel-booking-input:focus,
.uddfel-booking-select:focus,
.uddfel-booking-textarea:focus {
	outline: none;
	border-color: var(--uddfel-book-accent);
	box-shadow: 0 0 0 3px rgba(139, 104, 35, 0.15);
}

.uddfel-booking-textarea {
	resize: vertical;
	line-height: 1.5;
}

.consent-field-group {
	margin-top: 10px;
}

.consent-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.5;
	color: var(--uddfel-book-body);
}

.consent-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
}

/* STEP 4: Review Summary Card */
.booking-review-summary-card {
	background: #faf9f6;
	border: 1px solid var(--uddfel-book-border);
	border-radius: 10px;
	padding: 24px;
	margin-bottom: 24px;
}

.review-section {
	margin-bottom: 20px;
}

.review-section:last-child {
	margin-bottom: 0;
}

.review-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid #eae8e1;
}

.review-section-heading {
	font-family: 'Inter Tight', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--uddfel-book-charcoal);
	margin: 0;
}

.review-quick-edit-btn {
	background: transparent;
	border: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--uddfel-book-accent);
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 4px;
	transition: all 0.15s ease;
	text-decoration: underline;
}

.review-quick-edit-btn:hover {
	color: var(--uddfel-book-accent-dark);
	background: var(--uddfel-book-accent-light);
}

.summary-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #edebe4;
	font-size: 14px;
}

.summary-row:last-child {
	border-bottom: none;
}

.summary-lbl {
	color: #7d756b;
	font-size: 13px;
}

.summary-val {
	font-weight: 600;
	color: var(--uddfel-book-charcoal);
	text-align: right;
}

/* Inline Field Errors */
.form-field-group.uddfel-has-error .uddfel-booking-input,
.form-field-group.uddfel-has-error .uddfel-booking-select,
.form-field-group.uddfel-has-error .uddfel-booking-textarea {
	border-color: #dc2626 !important;
	background-color: #fffbfa;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.uddfel-field-error-msg {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	color: #b91c1c;
}

.uddfel-field-error-msg .uddfel-error-icon {
	font-size: 13px;
	flex-shrink: 0;
	color: #dc2626;
}

/* Consent Error */
.consent-field-group.uddfel-has-error .consent-checkbox-label {
	color: #991b1b;
}

.consent-field-group.uddfel-has-error input[type="checkbox"] {
	outline: 2px solid #dc2626;
	outline-offset: 1px;
}

/* Form Level Summary Error */
.uddfel-booking-form-summary-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.uddfel-booking-form-summary-error .summary-icon {
	font-size: 15px;
	flex-shrink: 0;
	color: #dc2626;
}

/* Date & Time Step Error */
.uddfel-datetime-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.uddfel-datetime-error .datetime-error-icon {
	font-size: 15px;
	flex-shrink: 0;
	color: #dc2626;
}

/* Error Alert */
.uddfel-booking-error-alert {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 20px;
}

.uddfel-booking-error-alert .error-alert-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.uddfel-booking-error-alert .error-alert-text {
	margin: 0;
	font-weight: 500;
}

.uddfel-booking-error-alert .btn-return-to-datetime {
	align-self: flex-start;
	background: #ffffff;
	color: #991b1b;
	border: 1px solid #fca5a5;
	padding: 6px 14px;
	font-size: 13px;
	min-height: auto;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.uddfel-booking-error-alert .btn-return-to-datetime:hover {
	background: #fee2e2;
	border-color: #f87171;
}

.uddfel-booking-submit-btn.is-submitting {
	opacity: 0.75 !important;
	cursor: wait !important;
	pointer-events: none !important;
}

/* Step Navigation Footer */
.step-nav-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid #f2f1ed;
	gap: 12px;
}

/* Common Button Styles */
.uddfel-admin-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all 0.15s ease;
	line-height: 1.2;
	min-height: 42px;
}

.uddfel-admin-btn-primary {
	background: var(--uddfel-book-accent);
	color: #ffffff;
	border-color: var(--uddfel-book-accent);
}

.uddfel-admin-btn-primary:hover:not(:disabled) {
	background: var(--uddfel-book-accent-dark);
	border-color: var(--uddfel-book-accent-dark);
}

/* Continue Button Disabled State (Unmistakable & Enforced) */
.uddfel-admin-btn:disabled,
.uddfel-admin-btn[disabled],
.uddfel-admin-btn[aria-disabled="true"],
.uddfel-admin-btn.is-disabled {
	opacity: 0.45 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	box-shadow: none !important;
	transform: none !important;
}

/* Allow Continue button to receive clicks when unselected to trigger inline validation */
#btn-to-step-3.is-disabled {
	opacity: 0.65 !important;
	cursor: pointer !important;
	pointer-events: auto !important;
}

.uddfel-admin-btn-ghost {
	background: transparent;
	color: var(--uddfel-book-body);
	border-color: var(--uddfel-book-border);
}

.uddfel-admin-btn-ghost:hover {
	background: #f4f3ee;
	color: var(--uddfel-book-charcoal);
}

.uddfel-admin-btn-secondary {
	background: #f7f6f2;
	color: var(--uddfel-book-charcoal);
	border-color: var(--uddfel-book-border);
}

.uddfel-admin-btn-secondary:hover {
	background: #eae8e1;
}

/* STEP 5: Success / Confirmation State */
.booking-success-card {
	text-align: center;
	padding: 40px 20px;
}

.success-icon-badge {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #ecfdf5;
	color: #059669;
	font-size: 26px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	border: 2px solid #a7f3d0;
}

.success-title {
	font-family: 'Inter Tight', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: var(--uddfel-book-charcoal);
	margin: 0 0 10px 0;
}

.success-desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--uddfel-book-body);
	max-width: 520px;
	margin: 0 auto 28px auto;
}

.success-booking-ref-box {
	display: inline-block;
	background: #faf9f6;
	border: 1px dashed var(--uddfel-book-accent);
	border-radius: 10px;
	padding: 14px 28px;
	margin-bottom: 24px;
}

.ref-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #7d756b;
	margin-bottom: 4px;
}

.ref-code {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--uddfel-book-accent-dark);
	font-family: Consolas, Monaco, monospace;
}

.success-details-summary {
	max-width: 480px;
	margin: 0 auto 30px auto;
	text-align: left;
	background: #faf9f6;
	border: 1px solid var(--uddfel-book-border);
	border-radius: 10px;
	padding: 18px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 14px;
}

.success-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eeece6;
}

.success-summary-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.success-summary-row .lbl {
	color: #7d756b;
	font-weight: 500;
	font-size: 13px;
	flex-shrink: 0;
}

.success-val-wrap {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: flex-end;
	text-align: right;
	font-size: 14px;
	color: var(--uddfel-book-charcoal);
}

.success-time-slot {
	white-space: nowrap !important;
	display: inline-block;
}

.success-val-sep {
	color: #7d756b;
	font-size: 13px;
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
	.calendar-and-slots-layout {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 20px !important;
		padding: 20px 18px !important;
	}

	.slots-column {
		border-left: none !important;
		border-top: 1px solid var(--uddfel-book-border) !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		padding-top: 20px !important;
		min-height: auto;
	}

	.slots-state-card {
		max-width: 320px;
	}
}

@media (max-width: 768px) {
	.uddfel-booking-wrapper {
		padding: 24px 16px !important;
		border-radius: 12px !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.calendar-and-slots-layout {
		grid-template-columns: minmax(0, 1fr) !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding: 16px !important;
		gap: 20px !important;
		box-sizing: border-box !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.calendar-column {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.calendar-month-bar {
		width: 100% !important;
		box-sizing: border-box !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		margin-bottom: 12px !important;
	}

	.calendar-month-label {
		font-size: 15px !important;
		font-weight: 700 !important;
		text-align: center !important;
	}

	.btn-cal-month-nav {
		width: 32px !important;
		height: 32px !important;
		flex-shrink: 0 !important;
	}

	.calendar-days-of-week {
		display: grid !important;
		grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
		width: 100% !important;
		box-sizing: border-box !important;
		text-align: center !important;
		margin-bottom: 6px !important;
		gap: 4px !important;
	}

	.calendar-days-of-week span {
		text-align: center !important;
		display: block !important;
	}

	.calendar-grid-dates {
		display: grid !important;
		grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
		width: 100% !important;
		box-sizing: border-box !important;
		gap: 4px !important;
	}

	.cal-date-btn {
		width: 100% !important;
		max-width: 38px !important;
		height: auto !important;
		aspect-ratio: 1 / 1 !important;
		margin: 0 auto !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		box-sizing: border-box !important;
		font-size: 13px !important;
		line-height: 1 !important;
		padding: 0 !important;
	}

	.slots-column {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		border-left: none !important;
		border-top: 1px solid var(--uddfel-book-border) !important;
		padding: 20px 0 0 0 !important;
		margin: 0 !important;
		min-height: auto !important;
		text-align: center !important;
	}

	.slots-header {
		width: 100% !important;
		text-align: center !important;
		margin-bottom: 14px !important;
		padding-bottom: 10px !important;
	}

	.slots-header-titles {
		text-align: center !important;
		width: 100% !important;
	}

	.slots-date-label {
		text-align: center !important;
		font-size: 15px !important;
	}

	.slots-sublabel-line {
		justify-content: center !important;
		text-align: center !important;
	}

	.slots-container {
		width: 100% !important;
		text-align: center !important;
		align-items: center !important;
	}

	.slots-state-panel {
		width: 100% !important;
		text-align: center !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 8px 0 !important;
	}

	.slots-state-card {
		width: 100% !important;
		max-width: 320px !important;
		margin: 0 auto !important;
		text-align: center !important;
	}

	.slots-grid {
		width: 100% !important;
		box-sizing: border-box !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}

	.slots-grid .slot-btn:only-child {
		grid-column: 1 / -1 !important;
		max-width: 220px !important;
		margin: 0 auto !important;
		width: 100% !important;
	}

	.form-row-2col {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.uddfel-booking-input,
	.uddfel-booking-select,
	.uddfel-booking-textarea {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}

	/* Intentionally stack navigation buttons on mobile */
	.step-nav-footer {
		flex-direction: column-reverse;
		gap: 10px;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.step-nav-footer button,
	.step-nav-footer .uddfel-button {
		width: 100% !important;
		min-height: 44px;
		justify-content: center;
		text-align: center;
		box-sizing: border-box !important;
	}
}

@media (max-width: 600px) {
	.uddfel-booking-stepper,
	.uddfel-booking-stepper:has(.step-indicator:nth-child(4)),
	.uddfel-booking-stepper:has(.step-indicator[data-step="4"]) {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		width: 100% !important;
	}

	.uddfel-booking-stepper .step-indicator {
		width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 8px 8px !important;
		gap: 6px !important;
		min-height: 38px !important;
		font-size: 12px !important;
	}

	/* Row 2: Step 3 (Review) spans both columns full-width */
	.uddfel-booking-stepper .step-indicator:last-child:nth-child(odd) {
		grid-column: 1 / -1 !important;
		width: 100% !important;
	}

	.uddfel-booking-stepper .step-indicator .step-num {
		width: 20px !important;
		height: 20px !important;
		font-size: 11px !important;
		flex-shrink: 0 !important;
	}

	.uddfel-booking-stepper .step-indicator .step-label {
		white-space: nowrap !important;
		overflow: visible !important;
		text-overflow: clip !important;
		font-size: 12px !important;
		line-height: 1.2 !important;
		text-align: center !important;
	}
}

@media (max-width: 340px) {
	.uddfel-booking-wrapper {
		padding: 18px 12px !important;
	}

	.calendar-and-slots-layout {
		padding: 14px 10px !important;
	}

	.uddfel-booking-stepper,
	.uddfel-booking-stepper:has(.step-indicator:nth-child(4)),
	.uddfel-booking-stepper:has(.step-indicator[data-step="4"]) {
		grid-template-columns: 1fr !important;
		gap: 6px !important;
	}

	.uddfel-booking-stepper .step-indicator:last-child:nth-child(odd) {
		grid-column: auto !important;
	}

	.calendar-days-of-week,
	.calendar-grid-dates {
		gap: 2px !important;
	}

	.cal-date-btn {
		font-size: 12px !important;
	}
}

/* Elementor Editor Preview Navigation Enhancements */
.is-elementor-preview .step-indicator {
	cursor: pointer;
}

.is-elementor-preview .slot-btn,
.is-elementor-preview .cal-date-btn:not(.is-disabled):not(.is-empty) {
	cursor: pointer;
}
