/* Booking wizard: step indicator, size-tier grid, date/time grid, add-on toggles */

.wizard { background: var(--surface); border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; }
.wizard-steps { display: flex; border-bottom: 1px solid var(--color-border); }
.wizard-step { flex: 1; display: flex; align-items: center; gap: 10px; padding: 16px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; color: var(--color-text-muted); cursor: pointer; }
.wizard-step.is-active { color: var(--color-text); background: var(--color-bg); }
.wizard-step-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--color-border); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; }
.wizard-step.is-active .wizard-step-dot, .wizard-step.is-done .wizard-step-dot { border-color: var(--color-primary); color: var(--color-primary); }
.wizard-body { padding: 32px; }

.service-option { border: 2px solid var(--color-border); border-radius: 14px; margin-bottom: 16px; overflow: hidden; }
.service-option.is-selected { border-color: var(--color-primary); }
.service-option-header { width: 100%; text-align: left; background: none; border: none; padding: 20px; display: flex; gap: 16px; cursor: pointer; color: var(--color-text); }
.service-option.is-selected .service-option-header { background: rgba(20, 86, 200, 0.08); }
.service-option-check { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--color-border); flex-shrink: 0; margin-top: 2px; }
.service-option.is-selected .service-option-check { background: var(--color-primary); border-color: var(--color-primary); }

.size-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 0 20px 20px; }
.size-option { border: 2px solid var(--color-border); border-radius: 10px; padding: 12px; text-align: left; background: var(--surface); cursor: pointer; color: var(--color-text); }
.size-option.is-selected { border-color: var(--color-primary); background: rgba(20, 86, 200, 0.08); }

.calendar { border: 1px solid var(--color-border); border-radius: 12px; padding: 16px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--color-text); }
.calendar-nav { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--color-border); background: var(--surface); color: var(--color-text); cursor: pointer; }
.calendar-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-weekday { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.03em; padding-bottom: 4px; }
.calendar-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--color-border); background: var(--surface); color: var(--color-text); cursor: pointer; font-size: 0.95rem; }
.calendar-day--empty { border: none; background: none; cursor: default; }
.calendar-day.is-today { border-color: var(--color-primary); font-weight: 700; }
.calendar-day.is-selected { border-color: var(--color-primary); background: rgba(20, 86, 200, 0.1); }
.calendar-day.is-disabled, .calendar-day:disabled { opacity: 0.3; text-decoration: line-through; cursor: not-allowed; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; margin-top: 16px; }
.time-option { padding: 10px; border-radius: 10px; border: 1px solid var(--color-border); background: var(--surface); cursor: pointer; color: var(--color-text); }
.time-option.is-selected { border-color: var(--color-primary); background: rgba(20, 86, 200, 0.1); }
.time-option:disabled { text-decoration: line-through; opacity: 0.4; cursor: not-allowed; }

.wizard-summary { background: var(--color-bg); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.wizard-total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--color-border); font-weight: 700; font-size: 1.1rem; }

.wizard-actions { display: flex; justify-content: space-between; margin-top: 24px; }

/* Step titles are h2s (they sit directly under the page h1) but keep the
   size they had as h3s. */
.wizard-title { font-size: 1.17em; }
/* booking.js fills the wizard after first paint; reserve roughly its
   shortest rendered height (974px at desktop) so the footer isn't painted
   in view and then shoved down (a 0.6 CLS before this rule). */
#bookingWizard:empty { min-height: 960px; }
