/* ═══════════════════════════════════════════
   THABAT ACADEMY — Booking page enhancements
   ═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .booking-grid { grid-template-columns: 1fr !important; }
  #planM, #planS { padding: 12px 8px; }
}
@media (max-width: 480px) {
  .page-hero { padding: 100px 16px 40px !important; }
  section { padding: 40px 16px 60px !important; }
}

.timezone-helper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 2px 0 16px;
  padding: 12px 14px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: var(--radius-sm);
}
.timezone-helper-main { min-width: 0; }
.timezone-helper-title {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 600;
}
.timezone-helper-title i { color: var(--gold); }
.timezone-helper-detail {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.5;
  font-weight: 300;
}
.timezone-helper button {
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  border-radius: 7px;
  padding: 7px 9px;
  font: 600 0.68rem var(--sans);
  cursor: pointer;
}
.timezone-helper button:hover { border-color: var(--gold); }
.location-help {
  margin: -5px 0 12px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
  font-weight: 300;
}
.location-help strong { color: var(--ink); }

/* Flatpickr calendar — large, simple, and visibly marks unavailable dates. */
.flatpickr-calendar {
  font-family: var(--sans);
  border-radius: 12px;
  box-shadow: 0 14px 45px rgba(26,26,46,0.16);
  border: 1px solid var(--border);
  overflow: hidden;
}
.flatpickr-months .flatpickr-month,
.flatpickr-weekdays { background: var(--ink); color: var(--white); }
.flatpickr-current-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year,
span.flatpickr-weekday { color: var(--white); }
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month { color: var(--white); fill: var(--white); }
.flatpickr-day {
  border-radius: 8px;
  font-weight: 500;
}
.flatpickr-day:hover { border-color: var(--gold-lt); background: var(--gold-dim); }
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.flatpickr-day.flatpickr-disabled.trial-date-closed,
.flatpickr-day.flatpickr-disabled.trial-date-closed:hover {
  color: #b42318 !important;
  background: rgba(180,35,24,0.07) !important;
  text-decoration: line-through;
  cursor: not-allowed;
}
.calendar-help {
  margin: -5px 0 12px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
  font-weight: 300;
}
.calendar-help .closed-key {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(180,35,24,0.14);
  border: 1px solid rgba(180,35,24,0.35);
  margin-right: 4px;
}

@media (max-width: 520px) {
  .timezone-helper { align-items: flex-start; flex-direction: column; }
  .timezone-helper button { width: 100%; min-height: 38px; }
  .flatpickr-calendar { width: min(307px, calc(100vw - 28px)); }
}
