/* =====================================================
   BOOKING MODAL STYLES - REDESIGNED
   Premium visual experience with hero, improved cards
   ===================================================== */

/* ===== OVERLAY ===== */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
 
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.booking-modal-overlay.active {
  opacity: 1;
  visibility: visible;

}

/* ===== MODAL CONTAINER ===== */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95) translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;

  overflow: hidden;
 
}

/* Desktop only - centered card with padding */
@media screen and (min-width: 1025px) {
  .booking-modal {
    padding: 24px;
    overflow-y: hidden; /* Allow scrolling the whole modal if it grows */
  }
}

.booking-modal.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* ===== MODAL CONTENT - REDESIGNED ===== */
.booking-modal-content {
  /* Solid Rich Navy - Based on user preference for the lighter part of the sample */
  background: #052e4a;
  border-radius: 24px;
  width: 100%;
  max-width: 80vw; /* Reduced for 2-column Layout */
  max-height: 92vh;
  min-height: 76vh;
  position: relative;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Success State Specific Constraints */
.is-success .booking-modal-content {
  min-height: 60vh !important;
}

/* Success State Specific Constraints */
.is-success .booking-modal-content {
  min-height: 60vh; /* Allow it to be shorter */
}

/* Tablet & Mobile - Full width modal, no border-radius */
@media screen and (max-width: 1024px) {
  .booking-modal {
    padding: 0;
    align-items: flex-end;
  }
  
  .booking-modal-content {
    max-width: none;
    width: 100%;
    height: 96vh; /* Fallback */
    height: 96svh; /* Dynamic viewport height for mobile */
    max-height: 96svh;
    padding: 0 !important;
    border-radius: 24px 24px 0 0; /* Premium sheet look */
    overflow: hidden; /* Prevent content leaking outside radius */
  }
  
  .booking-hero {
    border-radius: 0;
  }
}

/* ===== HERO SECTION ===== */
/* DESKTOP FIX: Allow popup to fly out */
@media screen and (min-width: 1025px) {
  .booking-modal-content,
  .booking-modal-main {
    overflow: visible;
  }
}

/* ===== HERO SECTION ===== */
/* COMPACT HEADER NEW STYLE */
.booking-modal-header-new {
  padding: 40px 48px 24px;
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media screen and (max-width: 1024px) {
  .booking-modal-header-new {
    padding: 24px 16px; /* Correct 16px lateral margin */
  }
}

.booking-panel-info, .booking-panel-left {
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@media screen and (max-width: 1024px) {
  .booking-panel-info, .booking-panel-left {
    padding: 24px 16px; /* Correct 16px lateral margin as requested */
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* On Mobile/Tablet: Hide sidebar in Steps 2, 3 and 4 to focus on form */
  #booking-modal.is-step-2 .booking-panel-left,
  #booking-modal.is-step-3 .booking-panel-left,
  #booking-modal.is-step-4 .booking-panel-left {
    display: none;
  }
}

.booking-panel-main {
  padding: 32px;
}

@media screen and (max-width: 1024px) {
  .booking-panel-main {
    padding: 0; /* Keep 0 because child .booking-modal-form has 16px */
  }
}

.booking-header-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.booking-header-subtitle {
  color: #3b82f6;
  font-family: Inter, sans-serif;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.booking-header-chips {
  display: flex;
  gap: 12px;
}

.header-chip {
  font-family: Inter, sans-serif;
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-header-title {
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1.8em;
  font-weight: 700;
  margin: 0;
}

@media screen and (max-width: 1024px) {
  .booking-header-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .booking-header-title {
    font-size: 1.5em;
  }
}

/* DESKTOP ALIGNMENT: Match form margins */
@media screen and (min-width: 1025px) {
  .booking-hero-content {
    padding: 32px 48px;
  }
}

.booking-hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.booking-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: Inter, sans-serif;
  font-size: 0.75em;
  font-weight: 500;
  color: white;
  white-space: nowrap;
}

.booking-chip svg {
  stroke: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.booking-hero-title {
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ===== BODY LAYOUT (SIDEBAR + MAIN) ===== */
.booking-body-layout {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto; /* Enable scroll for mobile/tablet */
  -webkit-overflow-scrolling: touch;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (min-width: 1024px) {
  .booking-body-layout {
    flex-direction: row;
    overflow: hidden; /* Keep hidden on desktop for step transitions */
  }
}

/* Base styles for panels (Mobile/Stacked) */
.booking-panel-left {
  background: transparent;
  width: 100%;
  padding: 24px 16px; /* Mobile first / Stacked */
  border-bottom: none;
}

/* Sidebar hiding logic moved to media query block */
@media screen and (min-width: 1025px) {
  .booking-panel-left {
    display: block !important;
  }
}

.booking-panel-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* DESKTOP GRID */
@media screen and (min-width: 1025px) {
  .booking-body-layout {
    display: grid;
    grid-template-columns: 42% 1fr; /* 2 Columns: Prices | Main Form */
    overflow: visible; 
  }

  .booking-panel-left {
    border-right: none;
    padding: 32px;
    overflow-y: auto;
  }

  .booking-panel-main {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .booking-modal-main {
    padding: 48px 60px;
  }

  /* Success State: Full width content, hides sidebar */
  #booking-modal.is-success .booking-body-layout {
    grid-template-columns: 1fr;
  }

  #booking-modal.is-success .booking-panel-left {
    display: none;
  }

  #booking-modal.is-success .booking-modal-main {
    padding: 60px 80px;
    max-width: 800px;
    margin: 0 auto;
  }

  .booking-modal-form {
    padding: 0;
  }

  /* Private Date Flow Integration */
  .private-date-flow {
    margin-top: 32px;
  }
}

/* Unified Private Date Flow Visibility */
.private-date-flow {
  display: block;
}


/* Previous Desktop visibility overrides updated to target panels */
@media screen and (min-width: 1025px) {
  .booking-modal-content,
  .booking-body-layout,
  .booking-panel-left,
  .booking-panel-main,
  .booking-modal-main {
    overflow: visible !important;
    max-height: none !important;
  }
}

/* ===== CLOSE BUTTON ===== */
.booking-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
}

.booking-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.booking-modal-close svg {
  stroke: white;
  width: 18px;
  height: 18px;
}

/* ===== HEADER ===== */
.booking-modal-header {
  margin-bottom: 24px;
  flex-shrink: 0;
}

.booking-modal-title {
  color: var(--color--light, white);
  font-family: Inter, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 44px;
  margin: 0 0 12px 0;
  text-transform: uppercase;
}

.booking-modal-tour-name {
  color: var(--color--blue-dark, #8fbbd3);
  font-family: Inter, sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  margin: 0;
}

/* ===== LAYOUT GRID (Unified in Panels) ===== */
.booking-modal-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== LEFT COLUMN (Info + Pricing) ===== */
.booking-modal-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  padding-right: 16px;

}

.booking-info-section h4 {
  color: var(--color--blue-dark, #8fbbd3);
  font-family: Inter, sans-serif;
  font-size: 0.8em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 16px 0;
}

.booking-info-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.booking-info-section li {
  color: rgba(255, 255, 255, 0.8);
  font-family: Inter, sans-serif;
  font-size: 0.95em;
  font-weight: 300;
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}

.booking-info-section li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color--blue-dark, #8fbbd3);
}

/* ===== PRICING TIERS ===== */
.pricing-tiers-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-tier:last-child {
  border-bottom: none;
}

.pricing-tier-pax {
  color: rgba(255, 255, 255, 0.7);
  font-family: Inter, sans-serif;
  font-size: 0.9em;
  font-weight: 400;
}

.pricing-tier-price {
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1.05em;
  font-weight: 600;
}

/* ===== RIGHT COLUMN (Form) ===== */
.booking-modal-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0px 0 0 0; /* Removed padding */
  background: transparent;
  border: none; /* Removed border */
  border-radius: 0;
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1em;
  font-weight: 500;
  cursor: default; /* Reset cursor */
  transition: all 0.3s ease;
  
}

/* DESKTOP ONLY: Large margins for form */
@media screen and (min-width: 1025px) {
  
}

/* Gray track background - Dynamic positioning */
/* Gray track background - Dynamic positioning */
.booking-steps {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 32px;
  margin-top: 8px;
  width: 100%;
  padding: 0;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  /* Removed overflow hidden to allow dots to be slightly larger if needed */
}

/* Hide progress bar in success state */
.is-success .booking-steps {
  display: none;
}

/* Progress Fill */
.booking-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
  border-radius: 8px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* Checkpoints Container */
.booking-checkpoints {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

/* Checkpoint Dot */
.checkpoint {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: scale(1);
}

/* Specific positioning to align with progress percentages (0%, 50%, 100%) */
.checkpoint[data-step="1"] { margin-left: -2px; }
.checkpoint[data-step="3"] { margin-right: -2px; }

.checkpoint.active {
  background: #10b981;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
  transform: scale(1.2);
}

.checkpoint[data-step="1"].active {
  background: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}



/* ===== DATE SELECTION (Step 1) ===== */
.booking-step {
  display: none;
}

.booking-step.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* REDESIGNED: Date Cards - Larger, more visual */
.date-cards-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media screen and (min-width: 1025px) {
  .date-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
  }
}



.date-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 16px; /* Reduced for mobile */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px; /* Reduced gap */
  width: 100%;
}

@media screen and (min-width: 1025px) {
  .date-card {
    flex-direction: column;
    padding: 20px 18px;
    height: auto;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
   
  }
}

.date-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.date-card.selected {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
  box-shadow: 
    0 0 0 3px rgba(37, 99, 235, 0.15),
    0 8px 25px rgba(37, 99, 235, 0.2);
}

/* Date Card Layout - Left side (date info) */
.date-card-left {
  display: flex;
  flex-direction: column; /* Vertical stack for better mobile fit */
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  min-width: 60px; /* Consistent width for the date column */
}

.date-card-icon {
  display: none;
}

@media screen and (min-width: 1025px) {
  .date-card-left {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .date-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .date-card-weekday {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: lowercase;
  }

  .date-card-day {
    font-size: 1.5em;
  }

  .date-card-month {
    font-size: 0.9em;
  }

  .date-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
    color: var(--color--blue-dark, #8fbbd3);
  }
}


.date-card-weekday {
  color: rgba(255, 255, 255, 0.4);
  font-family: Inter, sans-serif;
  font-size: 0.75em; /* Smaller on mobile */
  font-weight: 500;
  text-transform: lowercase;
}

.date-card-day {
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1.4em; /* Slightly adjusted */
  font-weight: 700;
  line-height: 1;
}

.date-card-month {
  color: var(--color--blue-dark, #8fbbd3);
  font-family: Inter, sans-serif;
  font-size: 0.8em; /* Smaller on mobile */
  text-transform: capitalize;
}

/* Date Card Layout - Center (spots + price) */
.date-card-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  overflow: hidden; /* Safety for long text */
}

@media screen and (min-width: 1025px) {
  .date-card-center {
    align-items: flex-start;
    margin-top: 16px;
    width: 100%;
    gap: 4px;
    overflow: visible;
  }

  .date-card-price {
    font-size: 0.85em;
    white-space: normal;
  }
}

.date-card-slots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-card-slots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.date-card-slots.low .dot {
  background: #f59e0b;
}

.date-card-slots span {
  color: #10b981;
  font-family: Inter, sans-serif;
  font-size: 0.8em;
  font-weight: 500;
}

.date-card-slots.low span {
  color: #f59e0b;
}

.date-card-price {
  color: rgba(255, 255, 255, 0.7);
  font-family: Inter, sans-serif;
  font-size: 0.8em; /* Slightly smaller for mobile */
  font-weight: 500;
  margin: 0;
  white-space: nowrap; /* Prevent "USD/person" wrapping */
}

.date-card-right {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
}

.date-card-right svg {
  width: 16px; /* Smaller icon on mobile */
  height: 16px;
}

.date-card:hover .date-card-right {
  color: rgba(255, 255, 255, 0.6);
  transform: translateX(4px);
}

.date-card.selected .date-card-right {
  color: #2563eb;
}

@media screen and (min-width: 1025px) {
  .date-card-right {
    display: none; /* Hide arrow on square desktop cards */
  }
}


/* Private date toggle with switch */
.private-date-toggle {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s ease;
}

.private-date-toggle:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.02);
}

.private-date-toggle .toggle-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.private-date-toggle svg {
  stroke: var(--color--blue-dark, #8fbbd3);
  width: 22px;
  height: 22px;
}

.private-date-toggle span {
  color: rgba(255, 255, 255, 0.8);
  font-family: Inter, sans-serif;
  font-size: 0.95em;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  transition: all 0.3s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background: #2563eb;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

/* Date picker input wrapper */
.private-date-input {
  display: none;
  margin-top: 16px;
  padding: 0; 
  width: 100%;
  box-sizing: border-box;
  position: relative; /* Added for popup alignment */
}

.private-date-input.active {
  display: block;
}

/* CUSTOM DATE TRIGGER */
.custom-date-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  width: 100%;
}

.custom-date-label {
  color: var(--color--blue-dark, #8fbbd3);
  font-family: Inter, sans-serif;
  font-size: 0.85em;
}

.custom-date-trigger {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.custom-date-trigger:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.custom-date-trigger svg {
  stroke: #8fbbd3;
  width: 20px;
  height: 20px;
}

/* CUSTOM CALENDAR POPUP (Expanded on Mobile) */
.custom-calendar-popup {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 8px;
  background: rgba(4, 46, 77, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
  z-index: 999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  
  /* Animation/Transition */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.custom-calendar-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media screen and (max-width: 1024px) {
  .custom-date-trigger {
    display: none !important; /* Force hide the redundant selector on mobile */
  }

  .custom-calendar-popup {
    position: relative; 
    top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px 0;
    margin-top: 5px;
    backdrop-filter: none;
  }
}

/* DESKTOP: Refined size and flyout position */
@media screen and (min-width: 1025px) {
  .custom-calendar-popup {
    width: 320px;
    left: calc(100% - 184px); /* Shifted 100px to the left from previous calc(100% + 16px) */
    top: auto;
    bottom: 50%; /* Align bottom to vertically-middle of trigger */
    transform: translateY(50%) translateX(-10px);
    margin-top: 0;
  }

  .custom-calendar-popup.active {
    transform: translateY(50%) translateX(0);
  }
}

/* Calendar Header */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calendar-month-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.calendar-month-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.calendar-current-month {
  color: white;
  font-weight: 700;
  font-size: 1.1em;
  text-transform: capitalize;
  letter-spacing: 0.05em;
}

/* Calendar Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

@media screen and (max-width: 1024px) {
  .calendar-grid {
    gap: 8px; /* Breathable mobile grid */
  }
}

.calendar-weekday {
  text-align: center;
  font-size: 0.7em;
  color: #3b82f6;
  font-weight: 700;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calendar-day {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}

@media screen and (max-width: 1024px) {
  .calendar-day {
    opacity: 0;
    transform: translateY(8px);
    animation: globalItemIn 0.4s forwards;
    will-change: transform, opacity; /* GPU Optimization */
  }
}

/* INITIAL STATE FOR STAGGERED ELEMENTS (Prevents flicker) */
.booking-header-subtitle,
.booking-header-title,
.booking-steps,
.pricing-table-container,
.pricing-tier,
#pricing-table-body tr,
.booking-step h3,
.booking-step .form-group,
.booking-step .form-row,
.booking-step .private-date-flow,
.booking-step .booking-btn-group,
.booking-step .booking-summary,
.booking-step .success-booking-summary,
.booking-step .step-explanation,
.booking-step .booking-success-icon,
.booking-step .date-card,
.booking-step .no-dates-message {
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
}

/* GLOBAL STAGGERED ENTRY ANIMATION */
.stagger-animate {
  animation: globalItemIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes globalItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calendar-day:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.calendar-day.selected {
  background: #2563eb !important;
  border-color: #3b82f6 !important;
  color: white !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.calendar-day.today {
  border-color: #3b82f6;
  position: relative;
}

.calendar-day.today::after {
  content: '';
  position: absolute;
  bottom: 6px;
  width: 4px;
  height: 4px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
}

.calendar-day.selected.today::after {
  background: white;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.calendar-day.disabled {
  background: rgba(255, 255, 255, 0.01);
  border-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
  box-shadow: none;
}

.calendar-day:active:not(.disabled) {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.1);
}

/* ===== SELECTED DATE SUMMARY (Left Column) ===== */
.selected-date-summary {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 12px;
  padding: 20px;
}

.selected-date-summary h4 {
  color: var(--color--blue-dark, #8fbbd3);
  font-family: Inter, sans-serif;
  font-size: 0.8em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 12px 0;
}

.selected-date-display {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-date-value {
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1em;
  font-weight: 500;
  text-transform: capitalize;
  line-height: 1.4;
}

.spots-info {
  color: #10b981;
  font-size: 0.9em;
  font-weight: 500;
}

.change-date-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 10px 16px;
  color: white;
  font-family: Inter, sans-serif;
  font-size: 0.85em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.change-date-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== FORM INPUTS - IMPROVED WITH FULL BORDER ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--color--blue-dark, #8fbbd3);
  font-family: Inter, sans-serif;
  font-size: 0.85em;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1em;
  font-weight: 400;
  outline: none;
  transition: all 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Hover effects for inputs */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Date input - Calendar icon and styling */
.form-group input[type="date"] {
  cursor: pointer;
  position: relative;
  padding-left: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238fbbd3' stroke-width='1.5'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
}

.form-group input[type="date"]:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}

.form-group input[type="date"]:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='1.5'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--color--dark, #042e4d);
  color: white;
}

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

/* Error state */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--pink, #ed155c);
  background: rgba(237, 21, 92, 0.05);
}

.form-group .error-message {
  color: var(--pink, #ed155c);
  font-size: 0.8em;
  margin-top: 4px;
}

/* ===== FORM ROW (2 columns) ===== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== BOOKING SUMMARY ===== */
.booking-summary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-top: 8px;
}

.booking-summary h4 {
  color: var(--color--blue-dark, #8fbbd3);
  font-family: Inter, sans-serif;
  font-size: 0.8em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 20px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 16px;
}

/* Fix double separator: Remove border from 2nd to last element (the one before Total) */
.summary-row:nth-last-child(2) {
  border-bottom: none;
}

.summary-row:last-of-type {
  border-bottom: none;
}

.summary-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 12px;
  padding-top: 16px;
}

/* Icons Styles */
.summary-label-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-icon {
  stroke: var(--color--blue-dark, #8fbbd3);
  opacity: 0.8;
}

.summary-label {
  color: rgba(255, 255, 255, 0.7);
  font-family: Inter, sans-serif;
  font-size: 0.95em;
  flex-shrink: 0;
  max-width: 40%;
  text-align: left;
}

.summary-value {
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1em;
  font-weight: 500;
  text-align: right;
  flex: 1;
}

.summary-row.total .summary-label,
.summary-row.total .summary-value {
  font-size: 1.1em;
  font-weight: 600;
}

.summary-row.total .summary-value {
  color: #10b981;
}

/* ===== BUTTONS ===== */
.booking-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.booking-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Continue Button (Step 2) - Matches 'Reservar Tour' style */
.booking-btn.primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.booking-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* REVERTED: Confirm Button (Step 3) */
.booking-submit-btn {
  display: flex !important; /* Keep distinct from previous edit */
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 32px;
  margin-top: 16px;
  background: #2563eb;
  border: none;
  border-radius: 1000px;
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.booking-submit-btn:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
  color: white !important;
}

.booking-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.booking-submit-btn.loading {
  pointer-events: none;
}

.booking-submit-btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.booking-submit-btn.loading .spinner {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Back button */
.booking-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: Inter, sans-serif;
  font-size: 0.9em;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s ease;
  margin-bottom: 8px;
}

.booking-back-btn:hover {
  color: white;
}

.booking-back-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* ===== SUCCESS STATE ===== */
.booking-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.booking-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.booking-success-icon svg {
  width: 40px;
  height: 40px;
  stroke: #10b981;
}

.booking-success h3 {
  color: white;
  font-family: Inter, sans-serif;
  font-size: 1.8em;
  font-weight: 500;
  margin: 0 0 12px 0;
}

.booking-success p {
  color: rgba(255, 255, 255, 0.7);
  font-family: Inter, sans-serif;
  font-size: 1.05em;
  font-weight: 300;
  margin: 0 0 24px 0;
  max-width: 400px;
  line-height: 1.6;
}

/* Copy ID Wrapper & Button */
.booking-id-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
  min-width: 200px;
}

.booking-id {
  color: #10b981;
  font-family: 'SF Mono', monospace;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.copy-id-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  padding: 0;
  flex-shrink: 0;
}

.copy-id-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
}

.copy-id-btn:active {
  transform: translateY(0) scale(0.95);
}

.copy-id-btn.copied {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
}

@media screen and (min-width: 1024px) {
  .is-success .booking-modal-content {
    min-width: 80vw;
  }
}

.booking-success {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px; /* Reduced gap */
  padding: 20px 0;
}

.booking-success-icon {
  margin-bottom: 8px; /* Reduced margin */
}

.booking-success h3 {
  margin-bottom: 4px; /* Reduced margin */
}

.booking-success p {
  margin-bottom: 16px; /* Reduced margin */
}

.booking-success-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

/* Success Booking Summary */
.success-booking-summary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px; /* Slimmer padding */
  margin: 12px 0; /* Slimmer margin */
  width: 100%;
  max-width: 420px; /* Wider summary */
}

.success-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Better for multi-line values */
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
}

.success-summary-row:last-child {
  border-bottom: none;
}

.success-summary-row.total {
  padding-top: 16px;
  margin-top: 4px;
  align-items: center;
}

.success-summary-label {
  color: rgba(255, 255, 255, 0.5);
  font-family: Inter, sans-serif;
  font-size: 0.85em;
  flex-shrink: 0;
  max-width: 40%;
  text-align: left;
}

.success-summary-value {
  color: white;
  font-family: Inter, sans-serif;
  font-size: 0.95em;
  font-weight: 500;
  text-align: right;
  flex: 1;
}

.success-summary-row.total .success-summary-value {
  color: #10b981;
  font-size: 1.1em;
  font-weight: 600;
}

/* ===== STEP EXPLANATION TEXT ===== */
.step-explanation {
  color: rgba(255, 255, 255, 0.7);
  font-family: Inter, sans-serif;
  font-size: 0.95em;
  margin: 0;
  line-height: 1.4;
}

/* ===== TOAST NOTIFICATION ===== */
.booking-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #10b981;
  color: white;
  padding: 16px 28px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Inter, sans-serif;
  font-size: 1em;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
  z-index: 2147483648;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.booking-toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.booking-toast svg {
  width: 22px;
  height: 22px;
  stroke: white;
  flex-shrink: 0;
}

/* ===== ERROR STATE ===== */
.booking-error {
  background: rgba(237, 21, 92, 0.1);
  border: 1px solid var(--pink, #ed155c);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  display: none;
}

.booking-error.active {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-error svg {
  width: 20px;
  height: 20px;
  stroke: var(--pink, #ed155c);
  flex-shrink: 0;
}

.booking-error p {
  color: var(--pink, #ed155c);
  font-family: Inter, sans-serif;
  font-size: 0.9em;
  margin: 0;
}

/* ===== NO DATES MESSAGE ===== */
.no-dates-message {
  color: rgba(255, 255, 255, 0.6);
  font-family: Inter, sans-serif;
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ===== DIVIDER ===== */
.booking-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}

.booking-divider::before,
.booking-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.booking-divider span {
  color: rgba(255, 255, 255, 0.4);
  font-family: Inter, sans-serif;
  font-size: 0.85em;
}

/* ===== HERO SUBTITLE ===== */
.booking-hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-family: Inter, sans-serif;
  font-size: 0.85em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===== PRICING TABLE (STEP 1) ===== */
.pricing-table-container {
  margin-bottom: 0; /* Managed by sidebar padding */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

@media screen and (max-width: 768px) {
  .pricing-table-container {
    margin: 4px 0 12px 0 !important; /* Minimize space around table */
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 6px 8px; /* Ultra-minimal internal padding */
    font-size: 0.85em;
  }
  
  .pricing-table td.pax-col {
    width: 25%; /* Even tighter for mobile */
  }
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 12px 16px;
  text-align: left;
  font-family: Inter, sans-serif;
  font-size: 0.9em;
  color: white;
}

.pricing-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table td.pax-col {
  font-weight: 600;
  color: var(--color--blue-dark, #8fbbd3);
  width: 40%;
}

.pricing-table th:last-child,
.pricing-table td.price-col {
  text-align: right;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

.pricing-table tbody tr:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
  .booking-modal {
    padding: 0;
    align-items: flex-end;
  }
    .booking-modal-form {
    padding: 0;
    padding-top: 0px;
  }

  
  .date-cards-container {
   
    margin-top: 16px;
  }
  
  .booking-modal-content {
    border-radius: 20px 20px 0 0; /* User preference */
    max-width: none;
    width: 100%;
    height: 96vh;
    height: 96svh; /* Enforce 96% height */
    max-height: 96svh;
    padding: 0 !important;
    overflow-x: hidden;
  }
  
  .booking-hero {
    height: 160px;
    border-radius: 0;
  }
  
  .booking-hero-content {
    padding: 16px 20px;
  }
  
  .booking-hero-title {
    font-size: 1.3em;
  }
  
  .booking-chip {
    padding: 5px 10px;
    font-size: 0.7em;
  }
  
  .booking-modal-form {
    padding: 20px;
  }
  
  .booking-steps {
    margin-bottom: 24px;
  }
  
  .date-card-left {
    gap: 6px;
  }
  
  .date-card-day {
    font-size: 1.3em;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .booking-success-actions {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .booking-hero {
    height: 120px;
  }
  
  .booking-hero-chips {
    gap: 6px;
  }
  
  .booking-chip {
    padding: 4px 8px;
  }
  
  .booking-modal-form {
    padding: 24px 16px !important; /* Restored 16px margins */
    padding-top: 0 !important;
    margin-top: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }

  /* Tighter form spacing on mobile */
  .form-group {
    gap: 4px; /* Reduced from 8px */
    margin-bottom: 12px;
  }
  
  .form-group label {
    font-size: 0.8em;
    margin-bottom: 2px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 14px; /* Prevent zoom on iOS */
  }
}

/* ===== SCROLLBAR ===== */
.booking-modal-content::-webkit-scrollbar,
.booking-modal-info::-webkit-scrollbar,
.booking-modal-form::-webkit-scrollbar {
  width: 6px;
}

.booking-modal-content::-webkit-scrollbar-track,
.booking-modal-info::-webkit-scrollbar-track,
.booking-modal-form::-webkit-scrollbar-track {
  background: transparent;
}

.booking-modal-content::-webkit-scrollbar-thumb,
.booking-modal-info::-webkit-scrollbar-thumb,
.booking-modal-form::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.booking-modal-content::-webkit-scrollbar-thumb:hover,
.booking-modal-info::-webkit-scrollbar-thumb:hover,
.booking-modal-form::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ===== FORCE OVERRIDE FOR MOBILE PADDING ===== */
@media screen and (max-width: 1024px) {
  html body #booking-modal .booking-modal-content {
    padding: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    overflow-y: auto; /* Ensure content is scrollable inside modal */
  }
  
  html body #booking-modal .booking-hero {
    border-radius: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Force form padding to be symmetrical and contain elements */
  html body #booking-modal .booking-modal-form {
    padding: 24px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}
