/* ================================================================
   BOOKINGS PAGE — multi-step form
   ================================================================ */

.booking-section { padding: 60px 16px; min-height: 70vh; 
  background: linear-gradient(rgba(20, 38, 110, 0.82), rgba(34, 56, 145, 0.82)),
              url('../images/cover3.jpeg') center/cover no-repeat;}

.booking-card {
  margin-top:50px ;
  border-radius: 15px;
  padding: 40px;
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.booking-title { font-weight: 700; margin-bottom: 30px; text-align: center; }

/* ── Stage animation ─────────────────────────────────────────── */
.booking-stages-container { position: relative; min-height: 500px; overflow: hidden; }
.booking-stage {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.booking-stage.active { position: relative; opacity: 1; transform: translateX(0); pointer-events: all; }
.booking-stage.slide-out-left { transform: translateX(-100%); opacity: 0; }

/* ── Stage indicator dots ────────────────────────────────────── */
.stage-indicator { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
.stage-dot { width: 12px; height: 12px; border-radius: 50%; background: #e0e0e0; transition: all 0.3s ease; }
.stage-dot.active   { background: #2563eb; transform: scale(1.3); }
.stage-dot.completed { background: #10b981; }

/* ── Nav buttons ─────────────────────────────────────────────── */
.btn-book, .btn-next, .btn-back {
  background-color: #2563eb;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.btn-book:hover, .btn-next:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }
.btn-back { background-color: #6b7280; margin-right: 10px; }
.btn-back:hover { background-color: #4b5563; transform: translateY(-3px); }
.btn-group-nav { display: flex; justify-content: space-between; margin-top: 30px; }

/* ── Sport options ───────────────────────────────────────────── */
.sport-option {
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.sport-option > input[type="radio"] { margin-top: 2px; }
.sport-option:hover, .sport-option.selected {
  border-color: #2563eb;
  background: linear-gradient(135deg, #eff6ff, #f0f7ff);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}
.sport-option input[type="radio"] { width: 20px; height: 20px; cursor: pointer; accent-color: #2563eb; }
.sport-option label {
  cursor: pointer; flex: 1; margin: 0;
  font-size: 16px; font-weight: 600; color: #1f2937;
  display: flex; align-items: flex-start; gap: 12px; width: 100%;
}

/* ── Rowing level pills ──────────────────────────────────────── */
.level-options { display: none; animation: slideDown 0.3s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.level-options.show {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding-top: 16px;
  border-top: 2px solid #e5e7eb;
  margin-top: 16px;
}
.level-option { margin: 0; }
.level-option input[type="radio"] { display: none; }
.level-option label {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  background: white;
  border: 2px solid #e5e7eb;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 14px;
  text-transform: capitalize;
}
.level-option label:hover { border-color: #2563eb; color: #2563eb; transform: translateY(-2px); }
.level-option input[type="radio"]:checked + label { background: #2563eb; border-color: #2563eb; color: white; }

/* ── Quantity ────────────────────────────────────────────────── */
.quantity-btn {
  transition: all 0.2s ease;
  border: 2px solid #e5e7eb;
  cursor: pointer;
}
.quantity-btn:hover { background: #2563eb; border-color: #2563eb; color: white; transform: scale(1.05); }
.quantity-input { max-width: 150px; }

/* ── Time slots ──────────────────────────────────────────────── */
.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.time-slot {
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}
.time-slot:hover  { border-color: #2563eb; background: #f0f7ff; }
.time-slot.selected { border-color: #2563eb; background: #2563eb; color: white; }
.time-slot.disabled { opacity: 0.5; cursor: not-allowed; background: #f3f4f6; }

/* ── Payment methods ─────────────────────────────────────────── */
.payment-method {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.payment-method:hover, .payment-method.selected { border-color: #2563eb; background: #eff6ff; }
.payment-method input[type="radio"] { margin-right: 10px; }

/* ── File upload ─────────────────────────────────────────────── */
.file-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.file-upload-area:hover { border-color: #2563eb; background: #f9fafb; }
.file-upload-area.has-file { border-color: #10b981; background: #f0fdf4; }
.file-upload-area input[type="file"] { display: none; }
.file-name { margin-top: 10px; color: #10b981; font-weight: 500; }

/* ── Booking summary ─────────────────────────────────────────── */
.booking-summary { background: #f9fafb; border-radius: 10px; padding: 20px; margin-bottom: 30px; }
.summary-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e5e7eb; }
.summary-item:last-child { border-bottom: none; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .booking-section { padding: 32px 12px !important; }
  .booking-card { padding: 24px 16px !important; border-radius: 16px !important; }
  .booking-title { font-size: 1.4rem !important; }
  .sport-option { padding: 14px 16px !important; }
  .level-option label { padding: 8px 14px !important; font-size: 0.85rem !important; }
  .time-slots { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .time-slot { padding: 10px 8px !important; font-size: 0.85rem !important; }
  .booking-summary { padding: 16px !important; }
  .summary-item { font-size: 0.9rem !important; }
  .btn-group-nav { gap: 10px; flex-direction: column; }
  .btn-back { margin-right: 0; margin-bottom: 10px; }
  .btn-back, .btn-next, .btn-book { padding: 12px 20px !important; font-size: 0.9rem !important; }
  .payment-method { padding: 14px 16px !important; }
}
@media (max-width: 480px) {
  .booking-section { padding: 24px 8px !important; }
  .booking-card { padding: 20px 14px !important; }
  .time-slots { grid-template-columns: 1fr 1fr !important; }
  .stage-indicator { gap: 6px !important; }
}
.instapay-info {
    margin-top: 12px;
    border: 1px solid rgba(0, 161, 219, 0.3);
    border-radius: 12px;
    padding: 16px;
    background: rgba(0, 161, 219, 0.05);
    animation: fadeIn 0.3s ease;
}

.instapay-info__title {
    font-size: 13px;
    color: #00a1db;
    font-weight: 500;
    margin-bottom: 14px;
}

.instapay-info__item {
    margin-bottom: 10px;
}

.instapay-info__item:last-child {
    margin-bottom: 0;
}

.instapay-info__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.instapay-info__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.instapay-info__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--rw-dark, #1a1a2e);
}

.instapay-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 161, 219, 0.4);
    border-radius: 6px;
    background: transparent;
    color: #00a1db;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.instapay-copy-btn:hover {
    background: rgba(0, 161, 219, 0.1);
}

.instapay-copy-btn:active {
    transform: scale(0.96);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.sport-price {
    text-align: end;
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-orange);}
    /* ════════════════════════════════════════════════════════════
   PAYMENT METHOD — Package option
════════════════════════════════════════════════════════════ */

/* Highlighted package payment option card */
.payment-method--package {
  border-color: var(--accent, #1e7b6b) !important;
  background: color-mix(in srgb, var(--accent, #1e7b6b) 5%, #fff);
  position: relative;
}

.payment-method--package.selected {
  background: color-mix(in srgb, var(--accent, #1e7b6b) 10%, #fff) !important;
}

/* Sessions available badge on right of the package option */
.pkg-sessions-badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent, #1e7b6b);
  background: color-mix(in srgb, var(--accent, #1e7b6b) 12%, transparent);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════
   PACKAGE PICKER (shown when "Use Package" is selected)
════════════════════════════════════════════════════════════ */

.pkg-picker {
  margin: 0.6rem 0 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: pkgPickerIn 0.22s ease;
}

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

/* Individual package card inside picker */
.pkg-picker__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border, #e2e6ea);
  border-radius: 12px;
  cursor: pointer;
  background: var(--bg-subtle, #f9f9f9);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.14s ease;
  position: relative;
}

.pkg-picker__card:hover:not(.pkg-picker__card--exhausted) {
  border-color: var(--accent, #1e7b6b);
  background: color-mix(in srgb, var(--accent, #1e7b6b) 5%, #fff);
  transform: translateY(-1px);
}

.pkg-picker__card--selected {
  border-color: var(--accent, #1e7b6b) !important;
  background: color-mix(in srgb, var(--accent, #1e7b6b) 8%, #fff) !important;
  box-shadow: 0 3px 14px color-mix(in srgb, var(--accent, #1e7b6b) 15%, transparent);
}

/* Greyed out when not enough sessions */
.pkg-picker__card--exhausted {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

/* Check icon for selected card */
.pkg-picker__check {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  font-size: 18px !important;
  color: var(--accent, #1e7b6b);
}

/* Left: name + sport */
.pkg-picker__info {
  flex: 1;
  min-width: 0;
}

.pkg-picker__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary, #111);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pkg-picker__sport {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent, #1e7b6b);
  margin-top: 0.15rem;
}

/* Right: bar + count + expiry */
.pkg-picker__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.pkg-picker__bar {
  width: 100px;
  height: 5px;
  background: var(--border, #e2e6ea);
  border-radius: 10px;
  overflow: hidden;
}

.pkg-picker__bar-fill {
  height: 100%;
  background: var(--accent, #1e7b6b);
  border-radius: 10px;
  transition: width 0.4s ease;
}

.pkg-picker__bar-fill--low {
  background: #f59e0b;   /* amber when 1-2 sessions left */
}

.pkg-picker__count {
  font-size: 0.82rem;
  color: var(--text-secondary, #555);
}

.pkg-picker__count strong {
  font-size: 0.95rem;
  color: var(--text-primary, #111);
}

.pkg-picker__count span {
  color: var(--text-muted, #999);
}

.pkg-picker__expiry {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  color: var(--text-muted, #888);
}

.pkg-picker__expiry .material-symbols-outlined {
  font-size: 13px;
}

.pkg-picker__expiry--none {
  color: var(--accent, #1e7b6b);
}

/* Not enough sessions warning banner */
.pkg-picker__warn {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: #92400e;
  line-height: 1.5;
}

.pkg-picker__warn .material-symbols-outlined {
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #f59e0b;
}

/* Empty state inside picker */
.pkg-picker__empty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted, #999);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.pkg-picker__empty .material-symbols-outlined {
  font-size: 18px;
}  /* ── Guest section ── */
  .bk-guests-section {
    margin-top: 20px;
    border: 1.5px solid #bfdbfe;
    border-radius: 14px;
    overflow: hidden;
    animation: bk-guest-slide 0.22s ease;
  }
  @keyframes bk-guest-slide {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .bk-guests-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #eff6ff;
    font-size: 14px;
    font-weight: 700;
    color: #1d4ed8;
    border-bottom: 1px solid #bfdbfe;
  }
  .bk-guests-header .material-symbols-outlined {
    font-size: 18px;
  }
  .bk-guests-sub {
    font-size: 12px;
    font-weight: 400;
    color: #3b82f6;
    margin-left: 4px;
  }

  .bk-guest-card {
    padding: 16px 18px;
    border-bottom: 1px solid #e8ecf4;
    background: white;
  }
  .bk-guest-card:last-of-type {
    border-bottom: none;
  }

  .bk-guest-card-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
  }
  .bk-guest-card-label .material-symbols-outlined {
    font-size: 16px;
    color: #2563eb;
  }

  .bk-guest-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .bk-guest-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .bk-guest-field-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }
  .bk-required {
    color: #dc2626;
  }

  /* Level pills inside guest card */
  .bk-guest-level-pills {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
  }
  .bk-level-pill {
    padding: 4px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.14s;
  }
  .bk-level-pill:hover {
    border-color: #2563eb;
    color: #1d4ed8;
  }
  .bk-level-pill--active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
  }

  /* Hint message */
  .bk-guests-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
    font-size: 12.5px;
    color: #92400e;
  }
  .bk-guests-hint .material-symbols-outlined {
    font-size: 15px;
    color: #d97706;
  }