/* ===========================
   Flatpickr Overrides
   =========================== */
.flatpickr-calendar {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--border) !important;
  font-family: var(--font-body) !important;
  width: 100% !important;
}

.flatpickr-months .flatpickr-month {
  background: var(--navy) !important;
  color: var(--white) !important;
  height: 48px !important;
}

.flatpickr-current-month {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--white) !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: var(--gold) !important;
  fill: var(--gold) !important;
  top: 10px !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--gold-dark) !important;
}

.flatpickr-weekdays {
  background: var(--navy) !important;
}

span.flatpickr-weekday {
  color: rgba(255,255,255,0.6) !important;
  background: var(--navy) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.flatpickr-day {
  border-radius: var(--radius-sm) !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--gold) !important;
}

.flatpickr-day:hover {
  background: var(--bg-light) !important;
  border-color: var(--border) !important;
}

.flatpickr-day.today {
  border-color: var(--gold) !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #CBD5E0 !important;
  background: transparent !important;
}

/* Inline calendar container */
.calendar-container {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.calendar-container .flatpickr-calendar.inline {
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ===========================
   Booking Steps Progress
   =========================== */
.booking-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.booking-progress__step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  position: relative;
}

.booking-progress__step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 12px solid var(--bg-light);
  z-index: 1;
}

.booking-progress__step.active {
  background: var(--navy);
  color: var(--gold);
}

.booking-progress__step.active::after {
  border-left-color: var(--navy);
}

.booking-progress__step.done {
  background: var(--gold);
  color: var(--navy);
}

.booking-progress__step.done::after {
  border-left-color: var(--gold);
}

.booking-progress__num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ===========================
   Service selector cards
   =========================== */
.service-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
}

.service-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  gap: var(--space-sm);
}

.service-option:hover {
  border-color: var(--navy);
  background: rgba(11,31,58,0.03);
}

.service-option.selected {
  border-color: var(--navy);
  background: rgba(11,31,58,0.05);
}

.service-option__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
}

.service-option.selected .service-option__radio {
  border-color: var(--navy);
}

.service-option.selected .service-option__radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

.service-option__name {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.service-option__duration {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-option__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
