/* unified-app.css — Book2-first design system overlay (A: text-on-green hero headers)
   Goal: make every page feel like one premium ATE app.
*/

:root{
  --font-sans: "Inter", "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --ate-green:#0f2f1f;
  --ate-green-2:#143a27;
  --ate-gold:#d6c28b;
  /* Dark background + cream cards (matches the home page feel) */
  --ate-cream:#f7f2e9;
  --ate-cream-2:#f2eadc;
  --ate-ink:#0f2f1f;
  --ate-ink2: rgba(15,47,31,.72);
  /* legacy token aliases (many pages reference these) */
  --ink: var(--ate-ink);
  --ink2: var(--ate-ink2);
  --page-ink: rgba(247,245,239,.92);
  --page-ink2: rgba(247,245,239,.72);
  --border: rgba(15,47,31,.14);

  --bg: radial-gradient(1200px 700px at 15% 10%, rgba(214,194,139,.14), transparent 55%),
        radial-gradient(900px 600px at 85% 0%, rgba(214,194,139,.10), transparent 60%),
        linear-gradient(180deg, #0b2418 0%, #0f2f1f 55%, #0b2418 100%);
  /* “Paper” surfaces = light cards */
  --paper: rgba(247,242,233,.92);
  --paper-strong: rgba(247,242,233,.98);

  --radius-1: 16px;
  --radius-2: 20px;
  --radius-3: 26px;

  --shadow-1: 0 12px 30px rgba(0,0,0,.16);
  --shadow-2: 0 18px 56px rgba(0,0,0,.20);

  --border: rgba(214,194,139,.22);
  --hairline: rgba(214,194,139,.14);

  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;

  --maxw: 980px;
}

html{ background:#0b2418 !important; }
body{
  background: var(--bg) !important;
  color: var(--page-ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global layout rhythm */
main, .main, .app-main, .simplified-main{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) calc(var(--space-6) + 74px);
}

/* HERO headers: text on green (A) */
.hero, .simplified-hero, header.hero, .page-hero{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) var(--space-4);
}
.hero h1, .simplified-hero h1, header.hero h1, .page-hero h1{
  font-family: var(--font-display);
  margin: 0 0 var(--space-2);
  letter-spacing: -.015em;
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 42px);
  color: #fff;
}
.hero p, .simplified-hero p, header.hero p, .page-hero p,
.hero .sub, .simplified-hero .sub{
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.45;
}

/* Trust microline */
.trust-line{
  margin-top: var(--space-3);
  font-size: 13.5px;
  color: rgba(255,255,255,.78);
}

/* Unified surface cards */
.section, .card, .panel, .content-card, .content-block, .block,
.surface, .tile, .glass-card, .paper,
main > section, main > article{
  background: var(--paper);
  color: var(--ate-ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-1);
  padding: var(--space-5);
  margin: 0 0 var(--space-5);
}

/* If a section is intentionally full-bleed (rare), allow opt-out */
.no-paper, .no-paper.section, .no-paper.card{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.92) !important;
}

/* Headings inside cards */
.section h2, .card h2, .panel h2, .content-block h2, main > section h2{
  font-family: var(--font-display);
  margin: 0 0 var(--space-3);
  font-weight: 800;
  letter-spacing: -.01em;
  font-size: 18px;
  color: var(--ate-ink);
}
.section h3, .card h3, .panel h3, main > section h3{
  font-family: var(--font-display);
  margin: 0 0 var(--space-2);
  font-weight: 800;
  font-size: 16px;
  color: var(--ate-ink);
}
.section p, .card p, .panel p, main > section p{
  color: var(--ate-ink2);
  line-height: 1.55;
}

/* Forms */
input, select, textarea{
  border-radius: 16px !important;
  border: 1px solid rgba(214,194,139,.22) !important;
  background: rgba(0,0,0,.32) !important;
  color: var(--ate-ink) !important;
  padding: 12px 14px !important;
}
input::placeholder, textarea::placeholder{ color: rgba(247,245,239,.52); }
label{ color: rgba(247,245,239,.78) !important; font-weight: 600; }

/* Buttons */
.btn, button, .button, a.btn{
  border-radius: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
}
.btn.primary, .btn-primary, button.primary, button[type="submit"]{
  background: linear-gradient(180deg, var(--ate-green-2), var(--ate-green)) !important;
  color: #fff !important;
  border: 1px solid rgba(214,194,139,.35) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.btn.secondary, .btn-secondary{
  background: rgba(255,255,255,.08) !important;
  color: var(--ate-ink) !important;
  border: 1px solid rgba(214,194,139,.18) !important;
}

/* Links inside cards */
.section a, .card a, .panel a, main > section a{
  color: var(--ate-gold);
  font-weight: 700;
}

/* Lists */
.section ul, .card ul, .panel ul{ padding-left: 18px; }
.section li, .card li, .panel li{ color: var(--ate-ink2); margin: 6px 0; }

/* Bottom nav */
.bottom-nav, nav.bottom, .app-nav{
  position: fixed;
  left: 0; right: 0;
  /* iOS Safari: pin to the visual viewport bottom when the browser chrome resizes */
  bottom: var(--vv-bottom, 0px);
  /* iOS/Safari: keep fixed nav truly fixed even when other elements animate */
  transform: translateZ(0);
  backdrop-filter: blur(10px);
  background: rgba(15,47,31,.72) !important;
  border-top: 1px solid rgba(214,194,139,.22) !important;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  will-change: transform;
  -webkit-transform: translateZ(0);
}

.bottom-nav a, .app-nav a, nav.bottom a{
  color: rgba(255,255,255,.78) !important;
}
.bottom-nav a.active, .app-nav a.active, nav.bottom a.active{
  color: var(--ate-gold) !important;
}

/* Make sure page content never sits under the fixed bottom nav */
/* iOS Safari: avoid locking html/body to height:100% (can make fixed bars "scroll") */
html, body{ height: auto !important; min-height: 100%; }
body{ padding-bottom: calc(var(--bottom-nav-h, 74px) + 24px + env(safe-area-inset-bottom)); }

/*
  iOS Safari: if <body> (or another ancestor) is animated with transform,
  position:fixed children can behave like they're scrolling with the page.
  styles.css applies .screen-enter with ateFadeIn that uses translateY.
  Override that animation to be opacity-only (keep the nice fade, no transform).
*/
@media (prefers-reduced-motion: no-preference) {
  @keyframes ateFadeIn { from { opacity: 0; } to { opacity: 1; } }
  .screen-enter { transform: none !important; }
}

/* Compact cards on small screens */
@media (max-width: 520px){
  main, .main, .app-main, .simplified-main{ padding: 22px 14px calc(28px + 74px); }
  .hero, .simplified-hero, header.hero, .page-hero{ padding: 22px 14px 12px; }
  .section, .card, .panel, .content-card, .content-block, main > section, main > article{
    padding: 16px;
    border-radius: 20px;
  }
}

/* ------------------------------
   Phase‑1A conversion layer
   (Hero clarity + above-fold prices + sticky mobile CTA)
-------------------------------- */
body[data-page="home"] .home-h1{
  margin: 0 0 6px 0;
  font-size: clamp(26px, 4.6vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
body[data-page="home"] .home-sub{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,.84);
  font-weight: 700;
}

.quick-prices .price-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.quick-prices .price-cell{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(214,194,139,.18);
  border-radius: 16px;
  padding: 12px;
}
@media (max-width: 520px){
  .quick-prices .price-grid{ grid-template-columns: 1fr; }
}

.sticky-booking{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--vv-bottom, 0px) + var(--bottom-nav-h, 74px) + env(safe-area-inset-bottom) + 10px);
  z-index: 9999;
  display: none;
  gap: 10px;
}
.sticky-booking a{
  flex: 1;
  padding: 12px 14px;
  border-radius: 16px;
  text-align: center;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.sticky-booking .sb-quote{
  background: var(--ate-green);
  color: #fff;
}
.sticky-booking .sb-wa{
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(214,194,139,.22);
  color: #fff;
}
@media (max-width: 768px){
  .sticky-booking{ display: flex; }
  /* Give the home page a bit more breathing room above the fixed bars */
  body[data-page="home"]{ padding-bottom: calc(var(--bottom-nav-h, 74px) + 86px + 24px + env(safe-area-inset-bottom)) !important; }
}

/* Avoid double-styling on Book2 (keep its vibe, just align background) */
body.book2 main > section{
  background: unset;
  border: unset;
  box-shadow: unset;
  padding: unset;
  margin: unset;
}

/* About page tidy (spacing + hero scale) */
body[data-page="about"] .page-hero{
  max-width: 980px;
  margin: 16px auto 0;
  padding: 18px 16px 14px;
  background: var(--paper-strong);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  box-shadow: var(--shadow-1);
}
body[data-page="about"] .page-hero h1{
  font-size: clamp(30px, 6.2vw, 44px);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  color: var(--ate-ink);
}
body[data-page="about"] .page-hero p{
  max-width: 52ch;
  color: rgba(15,47,31,.76);
}
body[data-page="about"] .trust-line{
  margin-top: 10px;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15,47,31,.06);
  border: 1px solid rgba(15,47,31,.10);
  color: rgba(15,47,31,.72);
  font-weight: 650;
}
body[data-page="about"] main{ padding-top: 10px; }
body[data-page="about"] .section{ margin: 18px 0; }
body[data-page="about"] .section--info-hero{ margin-top: 14px; }
body[data-page="about"] .info-hero__image img{
  border-radius: 18px;
  display:block;
}

/* About: make the highlight pills feel like the rest of the app (no heavy gradients) */
body[data-page="about"] .info-hero__highlights{ display:grid; gap:10px; margin-top: 12px; }
body[data-page="about"] .info-pill{
  background: rgba(247,242,233,.85);
  border: 1px solid rgba(15,47,31,.12);
  border-radius: 999px;
  padding: 10px 12px;
  box-shadow: none;
}
body[data-page="about"] .info-pill__label{ color: rgba(15,47,31,.65); font-weight: 650; }
body[data-page="about"] .info-pill__value{ color: var(--ate-ink); font-weight: 800; }


/* Button press feedback */
.btn:active, button:active, a.btn:active{ transform: translateY(1px); }

@keyframes ateFadeUp{ from{opacity:0; transform: translateY(6px);} to{opacity:1; transform:none;} }
.section, .card, .panel, .content-card, .content-block, main > section, main > article{ animation: ateFadeUp .25s ease both; }


/* iOS/Safari: avoid transforms on <body> (breaks position:fixed nav) */
body.screen-enter{
  animation: ateFadeInOpacity 180ms ease-out both !important;
  transform: none !important;
}
@keyframes ateFadeInOpacity{ from{opacity:0;} to{opacity:1;} }

/* Phase‑1B: Homepage van proof + booking WhatsApp fail‑safe */
.van-img{
  width:100%;
  display:block;
  border-radius: 16px;
  border: 1px solid rgba(15,47,31,.12);
  box-shadow: var(--shadow-1);
  object-fit: cover;
  max-height: 320px;
}

.wa-failsafe{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,47,31,.05);
  border: 1px solid rgba(15,47,31,.10);
  color: rgba(15,47,31,.85);
  font-size: 14px;
}
.wa-failsafe a{
  font-weight: 800;
  text-decoration: none;
}


/* Phase-1C: fast strip + MPV nudge + booking microcopy */
.home-faststrip{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin:14px auto 6px;
  padding:10px 12px;
  max-width:860px;
  border-radius:999px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size:14px;
  line-height:1.2;
}
.home-faststrip .dot{opacity:.7}

.tile__badge{
  display:inline-block;
  margin-top:6px;
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background: rgba(11,111,58,.12);
  color:#0b6f3a;
}

.mpv-badge{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background: rgba(11,111,58,.12);
  color:#0b6f3a;
  vertical-align:middle;
}

.bk-micro{
  margin-top:8px;
  font-size:14px;
  opacity:.85;
}


/* === Phase 1D: 2-step progress, inline validation, what-next box === */
.progress2{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 10px 14px;
  margin: 0 0 12px 0;
}
body.dark .progress2,
body[data-theme="dark"] .progress2{
  background: rgba(12,12,12,0.75);
  border-bottom-color: rgba(255,255,255,0.10);
}
.progress2__label{
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
}
.progress2__bar{
  margin-top: 8px;
  height: 6px;
  border-radius: 99px;
  background: rgba(0,0,0,0.08);
  overflow: hidden;
}
body.dark .progress2__bar,
body[data-theme="dark"] .progress2__bar{
  background: rgba(255,255,255,0.14);
}
#p2_fill{
  display: block;
  height: 100%;
  width: 50%;
  border-radius: 99px;
  background: rgba(11,111,58,1);
  transition: width 180ms ease;
}

.q--error .q__input,
.q--error input,
.q--error textarea,
.q--error select{
  outline: 2px solid rgba(220,38,38,0.9);
  outline-offset: 2px;
}
.q__error{
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(185,28,28);
}

.what-next{
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.04);
}
body.dark .what-next,
body[data-theme="dark"] .what-next{
  background: rgba(255,255,255,0.08);
}
.what-next h3{
  margin: 0 0 8px 0;
  font-size: 15px;
}
.what-next ul{
  margin: 0;
  padding-left: 18px;
}
.what-next li{
  margin: 6px 0;
}



/* ===== Phase 1E: Speed + Confidence Polish ===== */
.trust-strip{
  color: #111;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
  padding:12px;
  border-radius:12px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  font-size:14px;
}
.trust-strip > div{ line-height:1.25; }

.field-note{
  margin: 8px 0 0;
  font-size: 13px;
  opacity: 0.85;
}

@media (max-width: 768px){
  /* Make taps easier */
  .btn, .bk-btn, button, .tile, .choice, a.btn{
    min-height: 44px;
  }
  .btn, .bk-btn{
    padding: 14px 16px;
  }
  input, select, textarea{
    min-height: 44px;
  }
  /* Ensure sticky bar doesn't cover important controls */
  body{ padding-bottom: 90px; }
  .sticky-booking{ bottom: 58px; } /* sits above bottom nav */
}


/* Phase 1F: Local SEO service areas */
.service-areas{padding:18px 16px}
.service-areas .card{padding:16px;border-radius:14px}
.area-list{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0}
.area-list li{font-size:13px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.area-note{margin-top:12px;font-size:14px;opacity:.9}

/* Submit overlay */
#ate-submit-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,0.65);
  display:flex; align-items:center; justify-content:center;
  z-index:10000;
}
#ate-submit-overlay.out{opacity:0; transition:opacity .2s ease;}
.ate-submit-card{
  width:min(420px, 92vw);
  background:#fff;
  border-radius:16px;
  padding:18px 16px 14px;
  text-align:center;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.ate-submit-logo{
max-width:90px;
margin-bottom:12px;
  width:96px; height:96px; object-fit:contain;
  animation: atePulse 1s ease-in-out 1;
}
@keyframes atePulse{
  0%{ transform:scale(.85); opacity:.85; }
  50%{ transform:scale(1.05); opacity:1; }
  100%{ transform:scale(1); opacity:1; }
}
.ate-submit-msg{
  margin-top:10px;
  font-weight:700;
  line-height:1.25;
  opacity:0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.ate-submit-msg.show{ opacity:1; transform: translateY(0); }
.ate-submit-close{
  margin-top:12px;
  width:100%;
  border:0;
  border-radius:12px;
  padding:12px 14px;
  font-weight:700;
  background:#0b6f3a;
  color:#fff;
}

/* Global footer */
.ate-footer{ margin-top:40px; padding:18px 14px 86px; background: rgba(0,0,0,0.04); border-top:1px solid rgba(0,0,0,0.08);}
.ate-footer-inner{ max-width:1100px; margin:0 auto; display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between;}
.ate-footer-brand{ font-weight:800; letter-spacing:.2px;}
.ate-footer-links{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-weight:600; }
.ate-footer-links a{ text-decoration:none; }

/* V14 Hero Badge Upgrade */
.hero img, .hero-logo, .logo-hero {
    max-width:130px !important;
    width:130px !important;
    margin-top:10px !important;
    margin-bottom:8px !important;
}

.hero {
    padding-top:10px !important;
    padding-bottom:10px !important;
}


/* V15 Hero Badge Full-Bleed */
.hero img, .hero-logo, .logo-hero {
  width: 170px !important;
  max-width: 170px !important;
  height: auto !important;
  margin-top: 4px !important;
  margin-bottom: 2px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hero {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* If a wrapper is adding a circular plate/ring, neutralise it */
.hero .logo-wrap, .hero .logo-circle, .hero .badge, .hero .badge-ring {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}



/* V15 Full-bleed Hero Badge */
.hero img, .hero-logo, .logo-hero {
  width: 170px !important;
  max-width: 170px !important;
  height: auto !important;
  margin-top: 6px !important;
  margin-bottom: 2px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.38) !important;
}
.hero {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}



/* --- Premium components: trust strip + concierge blocks --- */
.ate-truststrip{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 12px;
  margin: 12px 0 6px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,47,31,.14);
  background: rgba(247,242,233,.78);
  color: rgba(15,47,31,.92);
  backdrop-filter: blur(6px);
}
.ate-truststrip__item{
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: -.01em;
  line-height: 1.2;
  opacity: .95;
}
@media (min-width: 760px){
  .ate-truststrip{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.ate-concierge{
  margin: 14px 0 18px;
  padding: 14px 14px 10px;
  border-radius: 18px;
  border: 1px solid rgba(15,47,31,.14);
  background: linear-gradient(180deg, rgba(247,242,233,.92), rgba(242,234,220,.82));
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.ate-concierge__title{
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.02em;
  font-size: 16px;
  color: rgba(15,47,31,.96);
}
.ate-concierge__sub{
  margin-top: 6px;
  font-weight: 700;
  font-size: 13px;
  color: rgba(15,47,31,.72);
}

.ate-nextsteps{
  margin: 14px 0 10px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(15,47,31,.14);
  background: rgba(247,242,233,.86);
}
.ate-nextsteps__title{
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.02em;
  font-size: 15px;
  color: rgba(15,47,31,.96);
  margin-bottom: 8px;
}
.ate-nextsteps__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(15,47,31,.78);
  font-weight: 650;
  font-size: 13px;
  line-height: 1.35;
}
.ate-nextsteps__list li{ margin: 6px 0; }


/* --- Drivers pages: readability + toggle polish (patch) --- */
body.drivers .backLink{
  display:inline-block;
  margin-top:6px;
  color: rgba(247,242,233,.95);
  font-weight: 900;
  letter-spacing: .01em;
  text-decoration: none;
}
body.drivers .backLink:active, body.drivers .backLink:hover{ text-decoration: underline; }
body.drivers .page > h1{ color: rgba(247,242,233,.98); }
body.drivers .page > p{ color: rgba(247,242,233,.90) !important; }

/* Make form labels and helper text more readable on the cream card */
body.drivers label{
  color: rgba(15,47,31,.78) !important;
}
body.drivers .small{ color: rgba(15,47,31,.70) !important; }

/* Inputs: slightly stronger border + placeholder */
body.drivers input, body.drivers select, body.drivers textarea{
  border-color: rgba(15,47,31,.18) !important;
}
body.drivers input::placeholder, body.drivers textarea::placeholder{
  color: rgba(15,47,31,.42);
}

/* Chips: replace ugly iOS checkbox with a clean toggle */
body.drivers .chip input[type="checkbox"]{
  -webkit-appearance: none;
  appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15,47,31,.18);
  border: 1px solid rgba(15,47,31,.18);
  position: relative;
  margin: 0;
  flex: 0 0 auto;
}
body.drivers .chip input[type="checkbox"]::before{
  content:"";
  position:absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  top: 1px;
  left: 1px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  transition: transform 140ms ease;
}
body.drivers .chip input[type="checkbox"]:checked{
  background: rgba(19,92,60,.98);
  border-color: rgba(19,92,60,.98);
}
body.drivers .chip input[type="checkbox"]:checked::before{
  transform: translateX(16px);
}


/* PATCH: booking page label contrast */
body[data-page="booking3"] .q__label,
body[data-page="booking3"] .q__help{
  color:#27483b !important;
  opacity:1 !important;
  -webkit-text-fill-color:#27483b !important;
}


/* PATCH: booking form readability + kill ASAP */
#btnASAPFill,
#btnAsap,
.asap,
.asap-btn,
.asap-cta,
[data-asap],
[data-action="asap"],
button[aria-label="ASAP"],
button[title="ASAP"]{
  display:none !important;
}

body[data-page="booking3"] .q__label,
body[data-page="booking3"] .q label,
body[data-page="booking3"] .q-title,
body[data-page="booking3"] .question-label,
body[data-page="booking3"] .form-label,
body[data-page="booking3"] .field-label,
body[data-page="booking3"] [class*="label"],
body[data-page="booking3"] [class*="question"]{
  color:#27483b !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
  -webkit-text-fill-color:#27483b !important;
}

body[data-page="booking3"] .q__help,
body[data-page="booking3"] .step__sub,
body[data-page="booking3"] .field-help,
body[data-page="booking3"] .hint,
body[data-page="booking3"] [class*="help"]{
  color:#5f7269 !important;
  opacity:1 !important;
  -webkit-text-fill-color:#5f7269 !important;
}

body[data-page="booking3"] input,
body[data-page="booking3"] textarea,
body[data-page="booking3"] select{
  color:#0f2f1f !important;
  -webkit-text-fill-color:#0f2f1f !important;
  background:#fff !important;
}

body[data-page="booking3"] input::placeholder,
body[data-page="booking3"] textarea::placeholder{
  color:rgba(15,47,31,.45) !important;
  -webkit-text-fill-color:rgba(15,47,31,.45) !important;
}

body[data-page="booking3"] .step__title,
body[data-page="booking3"] h1,
body[data-page="booking3"] h2,
body[data-page="booking3"] h3{
  color:#0f2f1f !important;
  -webkit-text-fill-color:#0f2f1f !important;
}



/* Driver application readability patch */
body.page-drivers-apply .formCard,
body.page-drivers-apply .formCard p,
body.page-drivers-apply .formCard .hint,
body.page-drivers-apply .formCard label{
  color: #234236 !important;
}
body.page-drivers-apply .formCard input,
body.page-drivers-apply .formCard select,
body.page-drivers-apply .formCard textarea{
  color: #173229 !important;
  background: #fffdf8 !important;
  border: 1px solid rgba(35,66,54,.22) !important;
}
body.page-drivers-apply .formCard select option{
  color: #173229 !important;
  background: #fffdf8 !important;
}
body.page-drivers-apply .formCard input::placeholder,
body.page-drivers-apply .formCard textarea::placeholder{
  color: rgba(23,50,41,.55) !important;
}

/* === Desktop scroll hotfix ===
   Some pages can end up with a stale scroll lock / viewport-height conflict.
   Force normal page scrolling on desktop unless an intentional lock is active.
*/
@media (min-width: 769px){
  html,
  body{
    min-height: 100% !important;
  }

  html:not(.no-scroll),
  body:not(.no-scroll):not(.info-drawer-open):not(.ate-gate-open):not(.ate-wheel-open){
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body:not(.no-scroll):not(.info-drawer-open):not(.ate-gate-open):not(.ate-wheel-open){
    position: static !important;
    overscroll-behavior-y: auto !important;
  }

  /* Prevent inactive full-screen layers from swallowing desktop wheel scroll */
  #global-modal:not(.is-open),
  .more-drawer-backdrop:not(.is-visible),
  .info-drawer-overlay:not(.is-open),
  .bk-loading:not(.is-on),
  .bk-success:not(.is-on),
  .pacvan-modal-backdrop:not(.is-visible),
  .popup-overlay.hidden,
  .ate-wheel-wrap.hidden,
  #ate-submit-overlay.out,
  #ateEntryGate.ate-gate--hide{
    pointer-events: none !important;
  }

  main, .main, .app-main, .simplified-main, .app-shell{
    position: relative;
  }
}


@media (min-width: 769px){
  #global-modal{ pointer-events:none !important; }
  #global-modal.is-open{ pointer-events:auto !important; }
  body.info-drawer-open .info-drawer-overlay:not(.is-open),
  body.ate-wheel-open .ate-wheel-wrap.hidden,
  body.ate-gate-open #ateEntryGate.ate-gate--hide{
    pointer-events:none !important;
  }
}
