﻿/* ==========================================================================
   TLC ENGLISH ACADEMY - 4-STEP ZOOM BOOKING WIZARD (PREMIUM RTL REDESIGN)
   ========================================================================== */

.booking-modal-content {
  max-width: 840px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 24px 64px rgba(22, 35, 54, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--tlc-navy);
}

/* Stepper Header */
.booking-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: #F8FAFD;
  border-bottom: 1px solid #E2E8F0;
  gap: 8px;
  overflow-x: auto;
}

.booking-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748B;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 180ms ease;
  flex: 1;
}

.booking-step-indicator:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  margin: 0 10px;
  min-width: 14px;
  transition: background 180ms ease;
}

.booking-step-indicator.completed:not(:last-child)::after {
  background: var(--tlc-red);
}

.booking-step-indicator.active {
  color: var(--tlc-red);
}

.booking-step-indicator.completed {
  color: var(--tlc-navy);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  transition: all 180ms ease;
  flex-shrink: 0;
}

.booking-step-indicator.active .step-num {
  background: var(--tlc-red);
  color: #FFFFFF;
  box-shadow: 0 0 8px rgba(204, 23, 29, 0.35);
}

.booking-step-indicator.completed .step-num {
  background: var(--tlc-red);
  color: transparent;
  position: relative;
}

.booking-step-indicator.completed .step-num::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 8px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  top: 5px;
  left: 8px;
}

.booking-step-body {
  padding: 32px;
  max-height: calc(85vh - 170px);
  overflow-y: auto;
}

.step-heading-group {
  margin-bottom: 24px;
}

.step-heading-group h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--tlc-navy);
  margin-bottom: 6px;
}

.step-heading-group p {
  font-size: 0.92rem;
  color: #64748B;
  margin: 0;
}

/* Step 1: Course Selection List */
.booking-courses-picker-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-course-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 200ms ease;
}

.booking-course-option:hover {
  border-color: #CBD5E1;
  background: #F8FAFD;
  transform: translateY(-1px);
}

.booking-course-option.selected {
  border-color: var(--tlc-red);
  background: rgba(204, 23, 29, 0.03);
  box-shadow: 0 4px 16px rgba(204, 23, 29, 0.08);
}

.booking-course-option-radio {
  margin-top: 4px;
}

.radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 180ms ease;
}

.booking-course-option.selected .radio-dot {
  border-color: var(--tlc-red);
  background: var(--tlc-red);
  box-shadow: inset 0 0 0 3px #FFFFFF;
}

.booking-course-option-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tlc-navy);
  margin-bottom: 4px;
}

.booking-course-option-info p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.course-meta-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.tag-level {
  font-size: 0.74rem;
  font-weight: 700;
  background: #F1F5F9;
  color: #475569;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.tag-duration {
  font-size: 0.74rem;
  color: #64748B;
}

.tag-bestseller-gold {
  font-size: 0.74rem;
  font-weight: 800;
  background: #FEF3C7;
  color: #B45309;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.tag-badge {
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(204, 23, 29, 0.08);
  color: var(--tlc-red);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* Step 2: Date & Slot Pickers */
.date-chips-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.date-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  padding: 10px 8px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 180ms ease;
}

.date-chip:hover {
  border-color: var(--tlc-navy);
  transform: translateY(-2px);
}

.date-chip.selected {
  background: var(--tlc-navy);
  border-color: var(--tlc-navy);
  color: #FEFEFE;
  box-shadow: 0 4px 14px rgba(22, 35, 54, 0.25);
}

.date-chip-weekday {
  font-size: 0.76rem;
  color: #64748B;
}

.date-chip.selected .date-chip-weekday {
  color: #CBD5E1;
}

.date-chip-day {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.2;
}

.date-chip-month {
  font-size: 0.72rem;
  color: #64748B;
}

.date-chip.selected .date-chip-month {
  color: #CBD5E1;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.booking-slot-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 180ms ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-slot-card:hover {
  border-color: #CBD5E1;
  background: #F8FAFD;
}

.booking-slot-card.selected {
  border-color: var(--tlc-red);
  background: rgba(204, 23, 29, 0.04);
  box-shadow: 0 4px 16px rgba(204, 23, 29, 0.1);
}

.slot-time {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tlc-navy);
}

.slot-tz {
  font-size: 0.75rem;
  color: #64748B;
}

.slot-label {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
}

.slot-seats-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-top: 4px;
}

/* Step 3: Attendee Form */
.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-textarea {
  min-height: 90px;
  resize: vertical;
}

/* Step 4: Confirmation */
.booking-confirmed-card {
  background: #F8FAFD;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
  margin-bottom: 24px;
}

.confirm-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 16px;
}

.confirm-ref-badge {
  font-family: var(--font-latin);
  font-size: 0.9rem;
  font-weight: 800;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.zoom-room-box {
  background: #FFFFFF;
  border: 1.5px dashed #CBD5E1;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 20px 0;
  text-align: right;
}

.zoom-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #F1F5F9;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.zoom-url-text {
  font-family: var(--font-latin);
  font-size: 0.85rem;
  color: var(--tlc-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.confirm-action-footer {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.booking-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: #F8FAFD;
  border-top: 1px solid #E2E8F0;
}

@media (max-width: 640px) {
  .booking-form-grid {
    grid-template-columns: 1fr;
  }
  .slots-grid {
    grid-template-columns: 1fr;
  }
}
