/* ============================================
   Book Now V2 — American Transportation Systems
   Premium interactive booking experience
   Bootstrap 3 compatible
   ============================================ */

/* --- Variables --- */
.book-v2 {
  --red: #b8151d;
  --red-dark: #9e1319;
  --red-glow: rgba(184, 21, 29, 0.2);
  --navy: #1a1a2e;
  --navy-light: #16213e;
  --blue: #002876;
  --blue-light: #007bff;
  --bg: #f4f6f9;
  --white: #ffffff;
  --g50: #f8f9fa;
  --g100: #f1f3f4;
  --g200: #e9ecef;
  --g300: #dee2e6;
  --g400: #ced4da;
  --g500: #adb5bd;
  --g600: #6c757d;
  --g700: #495057;
  --text: #1a1a2e;
  --muted: #5a5c61;
  --shadow-1: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-2: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-3: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --r: 12px;
  --r-sm: 8px;
  --r-lg: 16px;
  --r-xl: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base --- */
.book-v2 {
  position: relative;
  padding: 28px 0 80px;
  min-height: 100vh;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background: transparent !important;
}

.book-v2 * { box-sizing: border-box; }

/* Map moved inside step-1 side panel. Hide its original top position
   and let #v2-map-slot own its placement. */
.book-v2 > #map-canvas {
  display: none !important;
}

.book-v2 .content_sec {
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
}
.book-v2 .content_sec > .container > .book_now_sec,
.book-v2 .content_sec > .container {
  background: transparent !important;
}

/* ==========================================
   GLASS FORM PANELS — compact + light blur
   ========================================== */
.book-v2 .book-v2__panel {
  background: rgba(255, 255, 255, 0.62) !important;
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  backdrop-filter: blur(6px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px !important;
  box-shadow:
    0 12px 36px rgba(15, 25, 60, 0.10),
    0 2px 8px rgba(15, 25, 60, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  padding: 28px 32px !important;
  margin-top: 16px !important;
  margin-bottom: 24px !important;
}

/* Progress bar container also glass so it doesn't sit awkwardly on the bg */
.book-v2 .book-v2__progress {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 12px 20px;
  margin-bottom: 16px !important;
  box-shadow: 0 6px 22px rgba(15, 25, 60, 0.06);
}

/* Panel headings — tighter */
.book-v2 .book-v2__panel h2 {
  margin-bottom: 6px !important;
  font-size: 22px !important;
}
.book-v2 .book-v2__panel .book-v2__subtitle,
.book-v2 .book-v2__panel > p:first-of-type {
  margin-bottom: 18px !important;
  font-size: 13px !important;
  color: #64748b !important;
}

/* Tighter form groups */
.book-v2 .form-group {
  margin-bottom: 14px !important;
}
.book-v2 .form-group label {
  margin-bottom: 6px !important;
  font-size: 12px !important;
}
.book-v2 .form-control {
  min-height: 46px !important;
  height: auto !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.book-v2 textarea.form-control {
  height: auto !important;
  min-height: 60px !important;
}

/* Trip-type toggle — slimmer */
.book-v2 .book-v2__trip-toggle {
  margin-bottom: 16px !important;
}
.book-v2 .book-v2__trip-toggle .btn {
  padding: 10px 14px !important;
}

/* Return-trip details card inside step 1 — tighter */
.book-v2 .book-v2__dropoff-section {
  margin-top: 8px !important;
  padding: 16px 18px !important;
}
.book-v2 .book-v2__dropoff-section h4 {
  margin-bottom: 10px !important;
  font-size: 14px !important;
}

/* Add/Remove stop buttons — compact */
.book-v2 .book-v2__stop-buttons {
  margin-bottom: 10px !important;
}
.book-v2 .book-v2__stop-buttons .btn {
  padding: 6px 12px !important;
  font-size: 12px !important;
}

/* Nav bar — remove extra padding */
.book-v2 .book-v2__nav {
  padding-top: 6px !important;
  padding-bottom: 0 !important;
  margin-top: 16px !important;
}

.book-v2 .book-v2__panel h2 {
  color: #0f193c !important;
}

.book-v2 .book-v2__nav {
  padding-top: 16px;
  padding-bottom: 4px;
}

/* --- Step 1: split layout (form left, sticky map right) — compact --- */
/* IMPORTANT: no `!important` on display — the goToStep() JS uses inline
   `display: none` to hide non-active panels. If we `!important` grid here,
   step 1 stays visible on every step. Use a class flag on the wrapper
   instead so the split-column layout only applies when the panel is shown. */
.book-v2__panel--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 24px;
  align-items: start;
}
/* When jQuery hides the panel inline (display: none), that wins over the
   above `display: grid` (both are non-important). Good. */
.book-v2__panel-form { min-width: 0; }
.book-v2__panel-map {
  position: sticky;
  top: 16px;
  align-self: start;
}
/* MILES + TIME readout above the map (Dan Apr 23 spec).
   Two-column card with big numbers, matching the sheet's prominent display. */
.book-v2__miletime {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 25, 60, 0.08);
  margin-bottom: 12px;
}
.book-v2__miletime-item {
  text-align: center;
  padding: 6px 4px;
  border-radius: 8px;
  background: rgba(15, 25, 60, 0.03);
}
.book-v2__miletime-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.book-v2__miletime-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #0f193c;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* Map card — inner glass finish, live-indicator header */
.book-v2__map-slot {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  height: 380px;
  box-shadow:
    0 12px 30px rgba(15, 25, 60, 0.14),
    0 2px 8px rgba(15, 25, 60, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #ffffff;
}
.book-v2__map-slot::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 12px 6px 26px;
  font-size: 11px;
  font-weight: 700;
  color: #0f193c;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  content: 'LIVE ROUTE';
  box-shadow: 0 2px 10px rgba(15, 25, 60, 0.12);
}
.book-v2__map-slot::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 4;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  animation: v2-pulse 1.8s infinite;
}
@keyframes v2-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.book-v2__map-slot #map-canvas {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}
.book-v2__map-hint {
  margin: 12px 4px 0;
  font-size: 12px;
  color: #475569;
  text-align: center;
  font-weight: 500;
}
.book-v2__map-hint i { margin-right: 6px; color: #b8151d; }

/* Helper cards below map — fill the empty column space */
.book-v2__side-card {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 6px 22px rgba(15, 25, 60, 0.06);
}
.book-v2__side-card h4 {
  margin: 0 0 10px !important;
  font-size: 13px !important;
  color: #0f193c !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.book-v2__side-card h4 i {
  color: #b8151d;
  margin-right: 6px;
}
.book-v2__side-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.book-v2__side-card li {
  font-size: 12px;
  color: #475569;
  padding: 5px 0;
  line-height: 1.5;
}
.book-v2__side-card li i {
  color: #16a34a;
  margin-right: 8px;
  font-size: 11px;
}

.book-v2__help-card {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(15, 25, 60, 0.94) 0%, rgba(30, 64, 175, 0.94) 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(15, 25, 60, 0.20);
}
.book-v2__help-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  flex-shrink: 0;
}
.book-v2__help-body strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
}
.book-v2__help-body p {
  margin: 2px 0 4px !important;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}
.book-v2__help-body a {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.book-v2__help-body a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .book-v2__panel--split { grid-template-columns: 1fr; }
  .book-v2__panel-map { position: static; margin-top: 24px; order: -1; }
  .book-v2__map-slot { height: 260px; }
}

/* ==========================================
   DATE PICKER — readable calendar
   ========================================== */
.xdsoft_datetimepicker {
  border: 1px solid rgba(15, 25, 60, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 48px rgba(15, 25, 60, 0.22) !important;
  padding: 14px !important;
  background: #ffffff !important;
  font-family: 'Open Sans', -apple-system, sans-serif !important;
  width: auto !important;
  min-width: 300px !important;
  box-sizing: border-box !important;
}
/* Calendar internal — ensure the table has enough room for all 7 columns */
.xdsoft_datetimepicker .xdsoft_datepicker {
  width: 280px !important;
  margin-right: 0 !important;
}
.xdsoft_datetimepicker .xdsoft_datepicker.active + .xdsoft_timepicker {
  margin-left: 12px !important;
}
.xdsoft_datetimepicker .xdsoft_datepicker .xdsoft_calendar,
.xdsoft_datetimepicker .xdsoft_calendar {
  width: 100% !important;
}
.xdsoft_datetimepicker .xdsoft_datepicker .xdsoft_calendar table {
  width: 100% !important;
  table-layout: fixed !important;
}

.xdsoft_datetimepicker .xdsoft_label {
  font-weight: 700 !important;
  color: #0f193c !important;
  font-size: 14px !important;
  background: transparent !important;
}

.xdsoft_datetimepicker .xdsoft_prev,
.xdsoft_datetimepicker .xdsoft_next {
  background-color: #0f193c !important;
  background-image: none !important;
  border-radius: 6px !important;
  opacity: 0.85 !important;
}
.xdsoft_datetimepicker .xdsoft_prev:hover,
.xdsoft_datetimepicker .xdsoft_next:hover { opacity: 1 !important; }

/* Hide the "home / today" button — arrows are enough, keeps header clean */
.xdsoft_datetimepicker .xdsoft_today_button {
  display: none !important;
}

.xdsoft_datetimepicker .xdsoft_calendar table {
  border-collapse: separate !important;
  border-spacing: 3px !important;
}

.xdsoft_datetimepicker .xdsoft_calendar th {
  background: transparent !important;
  color: #64748b !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  padding: 8px 4px !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td {
  border: none !important;
  border-radius: 10px !important;
  color: #0f193c !important;
  padding: 12px 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  background: transparent !important;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td:hover {
  background: #dbeafe !important;
  color: #0f193c !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_time_box > div > div.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current.xdsoft_today {
  background: #0f193c !important;
  background-color: #0f193c !important;
  background-image: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(15, 25, 60, 0.30) !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today {
  color: #b8151d !important;
  font-weight: 700 !important;
  background: rgba(184, 21, 29, 0.08) !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month {
  color: #cbd5e1 !important;
  background: transparent !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled {
  color: #cbd5e1 !important;
  background: transparent !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Tiered date pricing color-coding (Dan Apr 23 spec).
   0-3 days out are already xdsoft_disabled (minDate excludes them).
   4-7 = red (+20%), 8-14 = yellow (+10%), 15+ = green (no markup). */
.xdsoft_datetimepicker .xdsoft_calendar td.v2-tier-red:not(.xdsoft_disabled):not(.xdsoft_current) {
  background: rgba(220, 38, 38, 0.10) !important;
  color: #b91c1c !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.v2-tier-red:not(.xdsoft_disabled):not(.xdsoft_current):hover {
  background: rgba(220, 38, 38, 0.22) !important;
  color: #7f1d1d !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.v2-tier-yellow:not(.xdsoft_disabled):not(.xdsoft_current) {
  background: rgba(234, 179, 8, 0.14) !important;
  color: #a16207 !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.v2-tier-yellow:not(.xdsoft_disabled):not(.xdsoft_current):hover {
  background: rgba(234, 179, 8, 0.26) !important;
  color: #713f12 !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.v2-tier-green:not(.xdsoft_disabled):not(.xdsoft_current) {
  background: rgba(22, 163, 74, 0.08) !important;
  color: #166534 !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.v2-tier-green:not(.xdsoft_disabled):not(.xdsoft_current):hover {
  background: rgba(22, 163, 74, 0.20) !important;
  color: #14532d !important;
}
/* Legend below the date picker input */
.book-v2__date-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 4px 0;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}
.book-v2__date-legend .legend-swatch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.book-v2__date-legend .swatch-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.book-v2__date-legend .swatch-red    { background: rgba(220, 38, 38, 0.45); }
.book-v2__date-legend .swatch-yellow { background: rgba(234, 179, 8, 0.55); }
.book-v2__date-legend .swatch-green  { background: rgba(22, 163, 74, 0.45); }

/* ==========================================
   TIME PICKER — one line per slot, no overlap
   ========================================== */
body .xdsoft_datetimepicker.xdsoft_ ,
body .xdsoft_datetimepicker {
  min-width: 0 !important;
}
/* Time-only picker: constrain overall width tightly */
body .xdsoft_datetimepicker.xdsoft_noselect > .xdsoft_timepicker,
body .xdsoft_datetimepicker .xdsoft_timepicker {
  width: 118px !important;
  max-width: 118px !important;
  margin-left: 0 !important;
}
/* When time picker is standalone (no calendar), tighten overall picker width */
body .xdsoft_datetimepicker:has(.xdsoft_timepicker.active):not(:has(.xdsoft_datepicker.active)) {
  width: 148px !important;
  min-width: 148px !important;
}
.xdsoft_datetimepicker .xdsoft_time_box {
  border: 1px solid rgba(15, 25, 60, 0.08) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  height: 260px !important;
}

/* The parent .xdsoft_time_variant container that wraps all time cells —
   library gives it an orange background by default. */
.xdsoft_datetimepicker .xdsoft_time_box.xdsoft_time_variant,
.xdsoft_datetimepicker .xdsoft_time_variant,
.xdsoft_datetimepicker .xdsoft_time_box,
.xdsoft_datetimepicker .xdsoft_time_box > div {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}

/* Hide the library's fake scrollbar (was consuming 7-30px of horizontal
   space and misaligning the time cells) and use native browser scrolling
   on the time box. */
.xdsoft_datetimepicker .xdsoft_scrollbar,
.xdsoft_datetimepicker .xdsoft_scroller,
.xdsoft_datetimepicker .xdsoft_scroller_box > .xdsoft_scrollbar {
  display: none !important;
  width: 0 !important;
}
.xdsoft_datetimepicker .xdsoft_time_box {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 0 !important;
  /* Slim native scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 25, 60, 0.15) transparent;
}
.xdsoft_datetimepicker .xdsoft_time_box::-webkit-scrollbar {
  width: 4px;
}
.xdsoft_datetimepicker .xdsoft_time_box::-webkit-scrollbar-track {
  background: transparent;
}
.xdsoft_datetimepicker .xdsoft_time_box::-webkit-scrollbar-thumb {
  background: rgba(15, 25, 60, 0.20);
  border-radius: 4px;
}

/* Time cells — flexbox center for true vertical alignment of the number.
   line-height alone doesn't center when cell height varies. */
.xdsoft_datetimepicker .xdsoft_time_box > div > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  line-height: 1 !important;
}

/* NUCLEAR OVERRIDE — kill any yellow/orange default the library
   or bootstrap tries to slap on time cells. Highest specificity + !important. */
body .xdsoft_datetimepicker .xdsoft_time_box > div > div,
body .xdsoft_datetimepicker .xdsoft_time_box .xdsoft_time,
body .xdsoft_datetimepicker .xdsoft_time_box .xdsoft_time.xdsoft_today,
body .xdsoft_datetimepicker .xdsoft_time_box .xdsoft_time.xdsoft_today_time,
body .xdsoft_datetimepicker .xdsoft_time_box div[style*="orange"],
body .xdsoft_datetimepicker .xdsoft_time_box div[style*="yellow"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #0f193c !important;
}
body .xdsoft_datetimepicker .xdsoft_time_box .xdsoft_current,
body .xdsoft_datetimepicker .xdsoft_time_box > div > div.xdsoft_current,
body .xdsoft_datetimepicker .xdsoft_time_box .xdsoft_time.xdsoft_current {
  background: #0f193c !important;
  background-color: #0f193c !important;
  background-image: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}
body .xdsoft_datetimepicker .xdsoft_time_box > div > div:hover,
body .xdsoft_datetimepicker .xdsoft_time_box .xdsoft_time:hover {
  background: #dbeafe !important;
  background-color: #dbeafe !important;
  color: #0f193c !important;
}
.xdsoft_datetimepicker .xdsoft_time_box > div > div,
.xdsoft_datetimepicker .xdsoft_time_box > div > div.xdsoft_time,
.xdsoft_datetimepicker .xdsoft_time_box > div > div.xdsoft_today,
body .xdsoft_datetimepicker .xdsoft_time_box > div > div {
  border-bottom: 1px solid #f1f5f9 !important;
  border-top: none !important;
  color: #0f193c !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 22px !important;
  padding: 8px 14px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-shadow: none !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
.xdsoft_datetimepicker .xdsoft_time_box > div > div:hover,
.xdsoft_datetimepicker .xdsoft_time_box > div > div.xdsoft_time:hover {
  background: #dbeafe !important;
  background-color: #dbeafe !important;
  color: #0f193c !important;
}
.xdsoft_datetimepicker .xdsoft_time_box > div > div.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_time_box > div > div.xdsoft_time.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_time_box > div > div.xdsoft_current.xdsoft_today {
  background: #0f193c !important;
  background-color: #0f193c !important;
  background-image: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

/* Time picker up/down scroll arrows — replace default triangle blocks */
.xdsoft_datetimepicker .xdsoft_prev,
.xdsoft_datetimepicker .xdsoft_next {
  height: 22px !important;
  background-image: none !important;
  background-color: #0f193c !important;
  border-radius: 6px !important;
  opacity: 0.85 !important;
  position: relative !important;
}
.xdsoft_datetimepicker .xdsoft_prev::before,
.xdsoft_datetimepicker .xdsoft_next::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: translate(-50%, -30%) rotate(45deg);
}
.xdsoft_datetimepicker .xdsoft_next::before {
  transform: translate(-50%, -80%) rotate(225deg);
}

/* ==========================================
   Google Places Autocomplete dropdown
   ========================================== */
.pac-container {
  border: 1px solid rgba(15, 25, 60, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 48px rgba(15, 25, 60, 0.22) !important;
  margin-top: 6px !important;
  padding: 8px !important;
  background: #ffffff !important;
  font-family: 'Open Sans', -apple-system, sans-serif !important;
}
.pac-item {
  border-top: none !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
  font-size: 13px !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1.4 !important;
}
.pac-item > span:not(.pac-icon) {
  flex: 1;
  min-width: 0;
}
.pac-item:hover, .pac-item-selected {
  background: #dbeafe !important;
}
.pac-item-query {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f193c !important;
  padding-right: 6px !important;
}
.pac-matched {
  font-weight: 700 !important;
  color: #b8151d !important;
}
/* Proper map-pin icon via inline SVG data URI. No FontAwesome dependency,
   no ::after white-dot glyph. Uses brand navy fill. */
.pac-icon, .pac-icon-marker {
  background-color: transparent !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f193c'><path d='M12 2C8 2 5 5 5 9c0 5 7 13 7 13s7-8 7-13c0-4-3-7-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  border-radius: 0 !important;
  width: 18px !important;
  height: 22px !important;
  min-width: 18px !important;
  margin-right: 10px !important;
  margin-top: 0 !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}
.pac-icon::after,
.pac-icon::before {
  content: none !important;
  display: none !important;
}

/* ==========================================
   Date / Time Picker (jquery.datetimepicker)
   ========================================== */
.xdsoft_datetimepicker {
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px rgba(15, 25, 60, 0.18) !important;
  padding: 12px !important;
  font-family: 'Open Sans', -apple-system, sans-serif !important;
  background: #ffffff !important;
}

.xdsoft_datetimepicker .xdsoft_label {
  font-weight: 600 !important;
  color: #0f193c !important;
  font-size: 14px !important;
}

.xdsoft_datetimepicker .xdsoft_prev,
.xdsoft_datetimepicker .xdsoft_next {
  background-color: #0f193c !important;
  border-radius: 4px !important;
}

.xdsoft_datetimepicker .xdsoft_calendar table {
  border-collapse: separate !important;
  border-spacing: 2px !important;
}

.xdsoft_datetimepicker .xdsoft_calendar th {
  background: transparent !important;
  color: #64748b !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  border: none !important;
  padding: 6px !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td {
  border: none !important;
  border-radius: 6px !important;
  color: #1e293b !important;
  padding: 8px !important;
  font-size: 13px !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover {
  background: #e0e7ff !important;
  color: #0f193c !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_time_box > div > div.xdsoft_current {
  background: linear-gradient(135deg, #0f193c 0%, #1e40af 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 25, 60, 0.25) !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today {
  color: #b8151d !important;
  font-weight: 700 !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled,
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month {
  color: #cbd5e1 !important;
  background: #f8fafc !important;
  cursor: not-allowed !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover {
  background: #f8fafc !important;
  color: #cbd5e1 !important;
}

.xdsoft_datetimepicker .xdsoft_time_box {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.xdsoft_datetimepicker .xdsoft_time_box > div > div {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b !important;
  font-size: 13px !important;
  padding: 8px 12px !important;
  transition: background 0.15s ease !important;
}

.xdsoft_datetimepicker .xdsoft_time_box > div > div:hover {
  background: #e0e7ff !important;
  color: #0f193c !important;
}

/* (Duplicate .pac-* block removed 2026-07-14 — was fighting the earlier
   canonical block at ~line 585 and producing the wrong pin icon. See the
   consolidated .pac-icon rule below with the SVG map-pin.) */

.book-v2__map::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

/* ==========================================
   PROGRESS BAR
   ========================================== */
.book-v2__progress {
  margin-bottom: 28px;
  padding-top: 4px;
}

.book-v2__steps-indicator {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 20px 0 0;
  position: relative;
}

.book-v2__steps-indicator li {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.book-v2__steps-indicator li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 55%;
  right: -45%;
  height: 3px;
  background: var(--g300);
  z-index: -1;
  transition: background 0.5s var(--ease);
}

.book-v2__steps-indicator li.completed:not(:last-child)::after {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

.book-v2__steps-indicator .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--g300);
  color: var(--g600);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.4s var(--ease);
}

.book-v2__steps-indicator .step-label {
  display: block;
  font-size: 11px;
  color: var(--g500);
  margin-top: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.3s var(--ease);
}

.book-v2__steps-indicator li.active .step-num {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 5px var(--red-glow);
  transform: scale(1.15);
}

.book-v2__steps-indicator li.active .step-label {
  color: var(--red);
}

.book-v2__steps-indicator li.completed .step-num {
  background: var(--blue);
  color: #fff;
}

.book-v2__steps-indicator li.completed .step-num .step-number-text { display: none; }
.book-v2__steps-indicator li.completed .step-num::after {
  content: '\f00c';
  font-family: 'FontAwesome';
  font-size: 14px;
}

.book-v2__steps-indicator li.completed .step-label {
  color: var(--blue);
}

/* ==========================================
   PANELS — slide transitions
   ========================================== */
.book-v2__panel {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-2);
  margin-bottom: 24px;
  border: none;
  animation: slideIn 0.45s var(--ease);
  overflow: hidden;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.book-v2__panel h2 {
  color: var(--navy);
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 28px;
  text-align: center;
  letter-spacing: -0.3px;
}

.book-v2__subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
  font-weight: 400;
}

.book-v2__panel .help-block {
  font-size: 13px;
  color: var(--g500);
  margin-top: 2px;
}

/* ==========================================
   FORM INPUTS — modern elevated style
   ========================================== */
.book-v2 .form-group {
  margin-bottom: 22px;
  position: relative;
}

.book-v2 .form-group label {
  font-weight: 600;
  color: var(--g700);
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.book-v2 .form-group label .text-danger { color: var(--red); }

/* Small parenthetical hints inside labels wrap to their own line without
   pushing the required-asterisk down with them. Uses flex + `order` so the
   asterisk stays inline with the title regardless of markup order. */
.book-v2 .form-group label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 4px;
  row-gap: 2px;
}
.book-v2 .form-group label small {
  flex-basis: 100%;
  order: 99;
  font-size: 11px;
  text-transform: none;
  letter-spacing: normal;
}
.book-v2 .form-group label .text-danger {
  order: 1;  /* keep asterisk on the title row, even if it comes after <small> */
}
/* Side-by-side rows (email/phone, first/last) — align input tops regardless
   of whether one label has a hint and the other doesn't. */
.book-v2__name-row .form-group { display: flex; flex-direction: column; }
.book-v2__name-row .form-group label { min-height: 34px; }
.book-v2__name-row .form-group .book-v2__input-icon { margin-top: auto; }

.book-v2 .form-control {
  height: 52px;
  border-radius: var(--r);
  border: 2px solid var(--g300);
  font-size: 15px;
  padding: 10px 18px;
  color: var(--text);
  background: var(--white);
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-1);
}

.book-v2 .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 40, 118, 0.1), var(--shadow-1);
  outline: none;
}

.book-v2 .form-control::placeholder {
  color: var(--g500);
}

.book-v2 textarea.form-control {
  height: auto;
  resize: vertical;
  min-height: 80px;
}

/* Input with icon — explicit box-sizing + width so padded text has room
   inside the visible frame instead of being clipped. Applies to both date
   fields (which showed the label-space clipping) and address fields. */
.book-v2__input-icon {
  position: relative;
  display: block;
  width: 100%;
}

.book-v2 .book-v2__input-icon .form-control {
  padding-left: 44px !important;
  padding-right: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-overflow: ellipsis;
}

.book-v2__input-icon .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--g500);
  font-size: 16px;
  z-index: 2;
  pointer-events: none;
  transition: color 0.25s var(--ease);
}

.book-v2__input-icon .form-control:focus + .input-icon,
.book-v2__input-icon .form-control:focus ~ .input-icon {
  color: var(--blue);
}

/* ==========================================
   TRIP TYPE TOGGLE
   ========================================== */
.book-v2__trip-toggle {
  margin-bottom: 32px;
}

/* Modern segmented control — no visible outline, soft frosted track,
   smooth pill highlight on the active option. */
.book-v2__trip-toggle .btn-group-justified {
  border-radius: 14px !important;
  overflow: hidden;
  border: none !important;
  background: rgba(15, 25, 60, 0.05) !important;
  padding: 5px !important;
  display: flex !important;
  box-shadow: inset 0 1px 2px rgba(15, 25, 60, 0.05);
}
.book-v2__trip-toggle .btn-group {
  flex: 1;
  display: flex !important;
  width: auto !important;
}

.book-v2__trip-toggle .btn,
.book-v2__trip-toggle .btn.btn-default,
.book-v2__trip-toggle .btn.btn-default:focus {
  font-size: 14px !important;
  padding: 11px 16px !important;
  font-weight: 600 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #64748b !important;
  transition: all 0.25s ease !important;
  border-radius: 10px !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  width: 100% !important;
}

.book-v2__trip-toggle .btn:hover {
  color: #0f193c !important;
  background: rgba(255, 255, 255, 0.4) !important;
}

.book-v2__trip-toggle .btn.active,
.book-v2__trip-toggle .btn.active:focus,
.book-v2__trip-toggle .btn.active:hover,
.book-v2__trip-toggle .btn.btn-default.active {
  background: #b8151d !important;
  background-color: #b8151d !important;
  background-image: linear-gradient(135deg, #b8151d 0%, #d11a25 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(184, 21, 29, 0.28) !important;
  border: none !important;
  outline: none !important;
}

.book-v2__trip-toggle .btn i { margin-right: 8px; }

/* Kill any stray browser focus ring / bootstrap outline on the toggle */
.book-v2__trip-toggle .btn:focus,
.book-v2__trip-toggle .btn:active,
.book-v2__trip-toggle .btn:active:focus {
  outline: none !important;
  box-shadow: 0 4px 12px rgba(184, 21, 29, 0.28) !important;
}
.book-v2__trip-toggle .btn:not(.active):focus,
.book-v2__trip-toggle .btn:not(.active):active {
  box-shadow: none !important;
}

/* ==========================================
   LOCATIONS / STOPS
   ========================================== */
/* Locations — pickup / first-stop / (buttons) / last-stop with a single
   continuous vertical connector so the line reaches all the way to the
   last stop, not just between consecutive form-groups. */
.book-v2__locations {
  position: relative;
  margin-bottom: 8px;
  padding-left: 28px;
}

/* The single connector line — spans the whole locations block */
.book-v2__locations::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: var(--g300, #d1d5db);
  z-index: 0;
}

.book-v2__locations .form-group {
  position: relative;
}

/* Dot markers for each location field */
.book-v2__locations .form-group::after {
  content: '';
  position: absolute;
  left: -25px;
  top: 32px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--blue, #1e40af);
  background: var(--white, #fff);
  z-index: 2;
}

.book-v2__locations .form-group:first-child::after {
  background: var(--red, #b8151d);
  border-color: var(--red, #b8151d);
}

/* Add/Remove Stop buttons — indent so they still align with the fields
   and don't visually break the connector line. */
.book-v2__locations .book-v2__stop-buttons {
  padding-left: 0;
  margin-left: 0;
}

/* Hide the connector when Last Stop is hidden (One Way trip type) — only
   drawn between existing points. When last-stop is display:none, the block
   ends after Add/Remove Stop buttons and the line stops there anyway. */

/* Stop buttons — Dan's Apr 23 spec asks for text-links, not buttons.
   Rendered as inline links (red for + Add, muted for - Remove). */
.book-v2__stop-buttons {
  margin-bottom: 16px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-left: 28px;
}
.book-v2__stop-link {
  color: #b8151d !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
.book-v2__stop-link i {
  margin-right: 4px;
}
.book-v2__stop-link:hover {
  color: #7a0e14 !important;
  text-decoration: underline !important;
}
.book-v2__stop-link.book-v2__stop-link--minus {
  color: #64748b !important;
}
.book-v2__stop-link.book-v2__stop-link--minus:hover {
  color: #334155 !important;
}

/* Reservation section headers — START/END OF RESERVATION per Dan */
.book-v2__reservation-section {
  margin-bottom: 20px;
}
/* Extra breathing room ABOVE the End of Reservation card so it doesn't
   crowd against the "Add another stop / Remove this stop" buttons (Dan
   Jul 20 feedback). Uses !important because an earlier rule at line ~142
   already forces margin-top:8px !important on this element — matches the
   codebase pattern for overriding that constraint. */
.book-v2 .book-v2__reservation-section.book-v2__dropoff-section {
  margin-top: 32px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(15, 25, 60, 0.08) !important;
}
.book-v2__reservation-title {
  margin: 0 0 12px !important;
  color: #0f193c !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(15, 25, 60, 0.08);
}
.book-v2__reservation-title i {
  color: #b8151d;
  margin-right: 6px;
}

/* Section Divider */
.book-v2__section-divider {
  display: flex;
  align-items: center;
  margin: 28px 0;
  gap: 16px;
}

.book-v2__section-divider::before,
.book-v2__section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--g300);
}

.book-v2__section-divider span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--g500);
}

/* Drop-off (round trip) */
.book-v2__dropoff-section {
  border: 2px dashed var(--g300);
  border-radius: var(--r);
  padding: 24px;
  margin-top: 8px;
  /* Light blue-tinted background — subtle but visible enough to separate
     the End of Reservation block from the stops above (Dan Jul 20 request:
     "add a light shade to the background… to help separate it"). */
  background: linear-gradient(135deg, rgba(0, 40, 118, 0.05), rgba(0, 40, 118, 0.09));
  animation: slideIn 0.3s var(--ease);
}

.book-v2__dropoff-section h4 {
  color: var(--blue);
  font-weight: 700;
  margin: 0 0 16px;
  font-size: 16px;
}

.book-v2__dropoff-section h4 i { margin-right: 8px; }

/* ==========================================
   NAME ROW
   ========================================== */
.book-v2__name-row {
  display: flex;
  gap: 16px;
}

.book-v2__name-row .form-group { flex: 1; }

/* ==========================================
   ADD-ONS
   ========================================== */
/* Special Requests — condensed per Dan Apr 23 spec.
   Compact grid; 3-per-row desktop, 2 tablet, 1 mobile.
   Tighter padding on the outer container + on each add-on card. */
.book-v2__addons {
  margin-bottom: 20px;
  padding: 14px 16px 8px;
  background: linear-gradient(135deg, var(--g50), var(--g100));
  border-radius: var(--r);
  border: 1px solid var(--g200);
}
.book-v2__addons .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 10px;
  margin: 0;
}
.book-v2__addons .row > [class*="col-"] {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
}
/* Bootstrap 3's global `.row:before` / `.row:after` clearfix pseudo-elements
   count as grid items when the row is `display: grid` — they took cell 1
   (leaving the first addon rendered in slot 2) and an invisible slot 9.
   Hide them here so the addon layout starts at column 1. */
.book-v2__addons .row::before,
.book-v2__addons .row::after {
  content: none;
  display: none;
}
@media (max-width: 900px) {
  .book-v2__addons .row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .book-v2__addons .row { grid-template-columns: 1fr; }
}
.book-v2__addons h4 {
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 10px;
  font-size: 14px;
}

.book-v2__addons h4 small {
  font-weight: 400;
  color: var(--g500);
  font-size: 13px;
}

.book-v2__addon-item {
  padding: 0;   /* padding lives on the label so entire card is clickable */
  border: 2px solid var(--g200);
  border-radius: var(--r);
  margin-bottom: 6px;
  background: var(--white);
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.book-v2__addon-item label {
  padding: 8px 12px !important;
  font-size: 13px !important;
}

.book-v2__addon-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-1);
  transform: translateY(-2px);
}

.book-v2__addon-item.checked {
  border-color: var(--blue);
  background: rgba(0, 40, 118, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 40, 118, 0.08);
}

.book-v2__addon-item label {
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 500 !important;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.book-v2__addon-item .icon_bus {
  width: 28px;
  height: auto;
  border-radius: 4px;
}

/* ==========================================
   VEHICLE CARDS — horizontal compact layout
   ========================================== */
/* 2-per-row grid layout (Dan Apr 23 spec). Cards stack column-wise
   inside each grid cell instead of horizontal so they fit at half width. */
.book-v2__vehicles {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 640px) {
  .book-v2__vehicles { grid-template-columns: 1fr; }
}
/* Header info bar spans full width across both columns */
.book-v2__vehicles > p {
  grid-column: 1 / -1;
}
/* Individual cards get column layout (image on top, info below) since
   width is now ~half of what horizontal expected */
.book-v2__vehicle-card {
  flex-direction: column !important;
  margin-bottom: 0 !important;
}
.book-v2__vehicle-card .book-v2__vehicle-img {
  width: 100% !important;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
/* Inline mini-carousel: all slides stacked, only .active visible */
.book-v2__vehicle-card .book-v2__vehicle-img .v2-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.book-v2__vehicle-card .book-v2__vehicle-img .v2-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
/* Prev/Next arrow buttons overlaid on carousel */
.v2-carousel-prev,
.v2-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #0f193c;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 25, 60, 0.20);
  transition: background 0.15s ease, transform 0.15s ease;
}
.v2-carousel-prev { left: 8px; }
.v2-carousel-next { right: 8px; }
.v2-carousel-prev:hover,
.v2-carousel-next:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
/* Slide counter badge (bottom-left) */
.v2-carousel-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  background: rgba(15, 25, 60, 0.88);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
/* Expand icon (top-right) — hint that image opens full-screen popup */
.v2-carousel-expand {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(15, 25, 60, 0.72);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.v2-carousel-expand:hover {
  background: rgba(15, 25, 60, 0.95);
}

.book-v2__vehicles > p {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--r);
  font-size: 14px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.book-v2__guest-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.book-v2__guest-badge i { font-size: 12px; }

/* Vehicle card — horizontal */
.book-v2__vehicle-card {
  border: 2px solid var(--g200);
  border-radius: var(--r);
  margin-bottom: 12px;
  transition: all 0.3s var(--ease);
  background: var(--white);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.book-v2__vehicle-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.book-v2__vehicle-card.selected {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(0, 40, 118, 0.02), rgba(0, 40, 118, 0.05));
  box-shadow: 0 0 0 3px rgba(0, 40, 118, 0.1), var(--shadow-2);
}

.book-v2__vehicle-card.selected .book-v2__vehicle-img::after {
  content: '\f00c';
  font-family: 'FontAwesome';
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--blue);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Vehicle image — left side thumbnail */
.book-v2__vehicle-img {
  width: 180px;
  min-height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--g100);
  position: relative;
}

.book-v2__vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.book-v2__vehicle-card:hover .book-v2__vehicle-img img {
  transform: scale(1.06);
}

/* Card content area — right side */
.book-v2__vehicle-content {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.book-v2__vehicle-info {
  flex: 1;
  min-width: 0;
}

.book-v2__vehicle-info strong {
  font-size: 17px;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.book-v2__capacity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  background: var(--g100);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.v2-preview-link {
  display: inline-block;
  margin-left: 8px;
}

.v2-preview-link small {
  color: var(--blue-light) !important;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s;
}

.v2-preview-link:hover small {
  text-decoration: underline;
  color: var(--blue) !important;
}

/* Quantity stepper */
.book-v2__qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--g300);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--g50);
  flex-shrink: 0;
}

.book-v2__qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--white);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.book-v2__qty-btn:hover {
  background: var(--blue);
  color: #fff;
}

.book-v2__qty-btn:active {
  transform: scale(0.92);
}

.book-v2__vehicle-card .v2-bus-item {
  width: 42px;
  height: 38px;
  border: none;
  border-left: 1px solid var(--g300);
  border-right: 1px solid var(--g300);
  border-radius: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  background: var(--white);
  box-shadow: none;
  padding: 0;
  -moz-appearance: textfield;
}

.book-v2__vehicle-card .v2-bus-item::-webkit-outer-spin-button,
.book-v2__vehicle-card .v2-bus-item::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ==========================================
   SEATING SUMMARY — floating bar
   ========================================== */
.book-v2__seating-summary {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  border-radius: var(--r);
  padding: 16px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  position: sticky;
  bottom: 12px;
  z-index: 10;
  box-shadow: var(--shadow-3);
  backdrop-filter: blur(10px);
}

.book-v2__seating-summary strong {
  color: #fff;
  font-size: 22px;
}

.book-v2__seating-summary .red { color: #ff6b6b; }
.book-v2__seating-summary .green { color: #51cf66; }

/* ==========================================
   REVIEW SUMMARY
   ========================================== */
.book-v2__review-container {
  margin-bottom: 24px;
}

.v2-review__section {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease);
}

.v2-review__section:hover {
  box-shadow: var(--shadow-1);
}

.v2-review__section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--g50), var(--g100));
  border-bottom: 1px solid var(--g200);
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.v2-review__section-title i {
  color: var(--blue);
  font-size: 14px;
}

/* Review page — dense two-column grid so labels+values sit together
   instead of forcing a huge empty gap between them via space-between. */
.v2-review__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 5px 16px;
  border-bottom: 1px solid var(--g100);
  font-size: 12.5px;
}

/* Review container — 2-column grid so Schedule + Passengers can sit
   side-by-side. Sections that should span full width (Route, Vehicles,
   Add-ons, Price) explicitly use grid-column: 1 / -1. */
@media (min-width: 900px) {
  .book-v2__review-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    align-items: start;
  }
  /* Route Details, Vehicles+Add-ons, Coupon, Notes (Dan's Apr 23 spec —
     "Additional Notes above the price"), Price box, Trust indicators —
     all span full width across the 2-column review grid. Without this,
     the Notes textarea (v2-review__notes-group) falls into a half-track
     and looks broken. */
  .book-v2__review-container > #v2-summary-trip,
  .book-v2__review-container > #v2-summary-buses,
  .book-v2__review-container > #v2-summary-addons,
  .book-v2__review-container > #v2-summary-coupon,
  .book-v2__review-container > .v2-review__notes-group,
  .book-v2__review-container > .v2-review__price-box,
  .book-v2__review-container > .v2-review__trust {
    grid-column: 1 / -1;
  }
  /* Empty placeholder divs that receive no content still occupy grid tracks;
     collapse them so the layout stays tidy. */
  .book-v2__review-container > div:empty {
    display: none;
  }
}

.v2-review__row:last-child { border-bottom: none; }

.v2-review__label {
  color: var(--g600);
  font-weight: 600;
  font-size: 12px;
  text-transform: none;
  line-height: 1.4;
}

.v2-review__value {
  color: var(--text);
  font-weight: 500;
  font-size: 13.5px;
  text-align: left;
  min-width: 0;
  word-wrap: break-word;
  line-height: 1.4;
}

/* Denser section spacing + section title padding */
.v2-review__section {
  margin-bottom: 10px;
}
.v2-review__section-title {
  padding: 9px 18px !important;
  font-size: 11px !important;
  letter-spacing: 0.8px !important;
}

/* Add-on chips — one-per-line becomes pill row */
.v2-review__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 18px 12px;
}
.v2-review__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.v2-review__chip::before {
  content: '\f00c';  /* fa-check */
  font-family: FontAwesome;
  color: #16a34a;
  font-size: 10px;
}

.v2-review__value strong { color: var(--navy); }

/* Price Box */
.v2-review__price-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: center;
  margin: 20px 0;
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.25);
  position: relative;
  overflow: hidden;
}

.v2-review__price-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.v2-review__price-label {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
}

.v2-review__price-amount {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.v2-review__price-note {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  font-weight: 500;
}

/* Trust */
.v2-review__trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.v2-review__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--g600);
  font-weight: 600;
}

.v2-review__trust-item i {
  color: #27ae60;
  font-size: 16px;
}

/* ==========================================
   ACTIONS / COUPON / TERMS
   ========================================== */
.book-v2__actions {
  margin-bottom: 24px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.book-v2__actions .btn {
  border-radius: 24px;
  font-weight: 600;
  padding: 10px 22px;
  font-size: 13px;
  border: 2px solid var(--g300);
  transition: all 0.2s var(--ease);
}

.book-v2__actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  border-color: var(--navy);
}

.book-v2__coupon {
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  animation: slideIn 0.3s var(--ease);
}

#v2-coupon-message {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}

.book-v2__terms {
  margin-top: 24px;
  margin-bottom: 16px;
}

.book-v2__terms h4 {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.book-v2__terms-scroll {
  max-height: 160px;
  overflow-y: auto;
  border: 2px solid var(--g200);
  padding: 16px 20px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.8;
  border-radius: var(--r-sm);
  background: var(--g50);
  color: var(--muted);
}

.book-v2__terms .checkbox label {
  font-weight: 600 !important;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

/* ==========================================
   NAVIGATION BUTTONS
   ========================================== */
.book-v2__nav {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.book-v2__nav .btn-lg {
  font-size: 16px;
  padding: 14px 36px;
  font-weight: 700;
  border-radius: var(--r);
  transition: all 0.25s var(--ease);
}

.book-v2__nav .btn-lg:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.book-v2 .btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: none;
  color: #fff;
  box-shadow: 0 4px 14px var(--red-glow);
}

.book-v2 .btn-primary:hover,
.book-v2 .btn-primary:focus {
  background: linear-gradient(135deg, var(--red-dark), #8a1015);
  box-shadow: 0 6px 20px var(--red-glow);
}

.book-v2 .btn-primary:disabled,
.book-v2 .btn-primary.disabled {
  background: var(--g300);
  color: var(--g500);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.book-v2 .btn-primary i { margin-left: 8px; }

.book-v2__nav .btn-default {
  border: 2px solid var(--g300);
  color: var(--muted);
  background: var(--white);
  border-radius: var(--r);
}

.book-v2__nav .btn-default:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.book-v2__nav .btn-default i { margin-right: 8px; }

/* ==========================================
   STEP 5: PROCESSING
   ========================================== */
.book-v2__processing {
  padding: 80px 20px;
}

.book-v2__processing .fa-spinner {
  color: var(--red);
  margin-bottom: 28px;
}

.book-v2__processing h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.book-v2__processing p {
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================
   PREVIEW MODAL
   ========================================== */
.v2-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s var(--ease);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.v2-modal {
  background: #1a1a1a;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6);
  animation: modalPop 0.3s var(--ease);
}

@keyframes modalPop {
  from { transform: scale(0.95) translateY(10px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* Header bar — always visible above image */
.v2-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #111;
  border-bottom: 1px solid #333;
  flex-shrink: 0;
}

.v2-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  padding: 0;
}

.v2-modal__counter {
  font-size: 12px;
  color: #aaa;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Close button — top-right on header */
.v2-modal__close {
  position: absolute;
  top: 8px; right: 12px;
  background: transparent;
  color: #999;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.v2-modal__close:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Image area */
.v2-modal__carousel {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  background: #000;
}

.v2-modal__track {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.v2-modal__slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-modal__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Navigation arrows */
.v2-modal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 5;
}

.v2-modal__arrow:hover {
  background: rgba(0,0,0,0.8);
  border-color: rgba(255,255,255,0.35);
}

.v2-modal__arrow--prev { left: 12px; }
.v2-modal__arrow--next { right: 12px; }

/* Thumbnail strip */
.v2-modal__thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  overflow-x: auto;
  background: #111;
  border-top: 1px solid #333;
  flex-shrink: 0;
  justify-content: center;
}

.v2-modal__thumbs::-webkit-scrollbar {
  height: 4px;
}

.v2-modal__thumbs::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.v2-modal__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.4;
  transition: all 0.2s;
}

.v2-modal__thumb:hover {
  opacity: 0.7;
}

.v2-modal__thumb.active {
  border-color: #fff;
  opacity: 1;
}

.v2-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .v2-modal-overlay { padding: 10px; }
  .v2-modal__carousel { padding-bottom: 66%; }
  .v2-modal__arrow { width: 36px; height: 36px; font-size: 13px; line-height: 36px; }
  .v2-modal__arrow--prev { left: 6px; }
  .v2-modal__arrow--next { right: 6px; }
  .v2-modal__thumb { width: 60px; height: 42px; }
  .v2-modal__title { font-size: 14px; }
}

.v2-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================
   PRINT
   ========================================== */
#print-div { display: none; }

/* ==========================================
   CONFIRMATION PAGE
   ========================================== */
.book-v2__confirmed {
  padding: 60px 24px;
}

.book-v2__confirmed .fa-check-circle {
  color: #27ae60;
  font-size: 80px;
  margin-bottom: 24px;
  animation: confirmBounce 0.6s var(--ease);
}

@keyframes confirmBounce {
  0%   { transform: scale(0); opacity: 0; }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.book-v2__confirmed .fa-exclamation-circle {
  color: #e74c3c;
  font-size: 80px;
  margin-bottom: 24px;
}

.book-v2__confirmed h2 {
  color: var(--navy);
  margin-bottom: 16px;
}

.book-v2__confirmed .panel {
  margin-top: 32px;
  text-align: left;
  border-radius: var(--r) !important;
  border: none !important;
  box-shadow: var(--shadow-2) !important;
}

.book-v2__confirmed .table td:first-child {
  width: 200px;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.book-v2__confirmed .table td {
  border-color: var(--g200) !important;
  padding: 14px 16px !important;
}

/* ==========================================
   VALIDATION
   ========================================== */
.book-v2 .parsley-errors-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.book-v2 .parsley-errors-list li {
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
}

.book-v2 .parsley-error {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px var(--red-glow) !important;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {
  .book-v2__panel { padding: 32px 28px; }
}

@media (max-width: 767px) {
  .book-v2__map { height: 140px; }

  .book-v2__panel {
    padding: 28px 20px;
    border-radius: var(--r);
  }

  .book-v2__panel h2 { font-size: 22px; }

  .book-v2__steps-indicator .step-label { display: none; }

  .book-v2__steps-indicator .step-num {
    width: 36px; height: 36px;
    font-size: 14px;
  }

  .book-v2__steps-indicator li:not(:last-child)::after { top: 18px; }

  .book-v2__nav {
    flex-direction: column-reverse;
  }

  .book-v2__nav .btn { width: 100%; }

  .book-v2__trip-toggle .btn {
    font-size: 14px;
    padding: 12px 12px;
  }

  .v2-review__price-amount { font-size: 36px; }

  .book-v2__actions { flex-direction: column; }
  .book-v2__actions .btn { width: 100%; }

  .book-v2__seating-summary {
    font-size: 13px;
    border-radius: var(--r-sm);
  }

  .book-v2__dropoff-section { padding: 16px; }
  .book-v2__name-row { flex-direction: column; gap: 0; }

  .book-v2 .form-control { height: 46px; font-size: 14px; }

  .book-v2__vehicle-card { flex-direction: column; }
  .book-v2__vehicle-img { width: 100%; min-height: 140px; }
  .book-v2__vehicle-content { flex-wrap: wrap; }

  .v2-modal__carousel { height: 280px; }

  .book-v2__locations .form-group { padding-left: 24px; }
  .book-v2__stop-buttons { padding-left: 24px; }

  .v2-review__trust { gap: 16px; }
}

@media (max-width: 480px) {
  .book-v2__steps-indicator .step-num {
    width: 30px; height: 30px;
    font-size: 12px;
  }
  .book-v2__steps-indicator li:not(:last-child)::after { top: 15px; }
  .book-v2__panel { padding: 22px 16px; }
  .book-v2__vehicle-img { min-height: 120px; }
  .v2-modal__carousel { height: 220px; }
}

/* ==========================================
   STEP 2 (About You) — split layout + compact form
   Now uses .book-v2__panel--split like step 1: form on left, trust
   cards on right. First/Last + Email/Phone in 2-col rows.
   ========================================== */
.book-v2 .book-v2__panel[data-step="2"] {
  padding: 36px 36px !important;
}
.book-v2 .book-v2__panel[data-step="2"] h2 {
  margin-bottom: 4px !important;
  font-size: 22px !important;
  text-align: left !important;
}
.book-v2 .book-v2__panel[data-step="2"] .book-v2__subtitle {
  margin-bottom: 24px !important;
  text-align: left !important;
}
.book-v2 .book-v2__panel[data-step="2"] .book-v2__section-divider {
  margin: 20px 0 16px !important;
}
.book-v2 .book-v2__panel[data-step="2"] .book-v2__name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-bottom: 8px;
}
.book-v2 .book-v2__panel[data-step="2"] .form-group {
  margin-bottom: 14px !important;
}
.book-v2 .book-v2__panel[data-step="2"] .help-block {
  font-size: 12px !important;
  color: #64748b !important;
  margin: 6px 0 0 !important;
}
/* Compact guest-count input — number field constrained rather than full-width */
.book-v2__guest-group .book-v2__input-icon {
  max-width: 260px;
}
/* Kill the browser default up/down number spinner per Dan's Apr 23 request —
   plain number input, no arrows. Validation still requires min=1 step=1. */
.book-v2 #v2_guests {
  -moz-appearance: textfield;
}
.book-v2 #v2_guests::-webkit-outer-spin-button,
.book-v2 #v2_guests::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media (max-width: 640px) {
  .book-v2 .book-v2__panel[data-step="2"] .book-v2__name-row {
    grid-template-columns: 1fr;
  }
}

/* Info variant of the side card — subtle blue tint for step 2 */
.book-v2__side-card.book-v2__side-card--info h4 i {
  color: #1e40af;
}

/* ==========================================
   Bus counter — buttons flush to container border
   The container has a 1px border with overflow:hidden. Buttons need to
   stretch to the container's full inner height (40px), not sit inside
   with visible 1-2px gap top/bottom. Use align-items:stretch and fixed
   container height so children match exactly.
   ========================================== */
.book-v2__qty-control {
  display: inline-flex !important;
  align-items: stretch !important;
  height: 40px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: inset 0 1px 2px rgba(15, 25, 60, 0.04);
  box-sizing: border-box !important;
  vertical-align: middle !important;
}
.book-v2__qty-btn {
  width: 40px !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: #ffffff !important;
  color: #0f193c !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
.book-v2__qty-btn.v2-qty-plus {
  background: #0f193c !important;
  color: #ffffff !important;
}
.book-v2__qty-btn.v2-qty-minus:hover {
  background: #f1f5f9 !important;
}
.book-v2__qty-btn.v2-qty-plus:hover {
  background: #1e40af !important;
}
.book-v2__vehicle-card .v2-bus-item {
  width: 52px !important;
  height: 100% !important;
  min-height: 0 !important;
  border: none !important;
  border-left: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f193c !important;
  background: #ffffff !important;
  box-shadow: none !important;
  padding: 0 !important;
  line-height: 40px !important;
  box-sizing: border-box !important;
  -moz-appearance: textfield;
}

/* ==========================================
   Special-Requests / Add-on cards — WHOLE card clickable
   Key: put the padding on the <label>, not the card, so the label
   extends border-to-border. Also disable pointer-events on the
   inner icon/img so they never intercept the click and drop it.
   ========================================== */
.book-v2__addon-item {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  transition: all 0.15s ease;
  padding: 0 !important;  /* padding is on the label so it fills fully */
  margin: 0 0 8px 0;
  cursor: pointer;
  overflow: hidden;
}
.book-v2__addon-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 25, 60, 0.06);
}
.book-v2__addon-item label,
.book-v2__addon-item > label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 16px !important;
  margin: 0 !important;
  width: 100% !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  color: #0f193c !important;
  user-select: none !important;
  box-sizing: border-box !important;
}
.book-v2__addon-item .v2-addon-checkbox {
  margin: 0 !important;
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer !important;
  accent-color: #b8151d;
  position: relative !important;
  z-index: 2 !important;
}
.book-v2__addon-item .icon_bus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;  /* never intercept click — let it bubble to label */
}
/* Checked state — highlight the whole card */
.book-v2__addon-item:has(.v2-addon-checkbox:checked) {
  border-color: #1e40af;
  background: #eff6ff;
  box-shadow: 0 2px 10px rgba(30, 64, 175, 0.10);
}
/* Safety: no descendant should intercept clicks except the checkbox itself */
.book-v2__addon-item > *:not(label):not(input) {
  pointer-events: none;
}
