/* ETEL DRIVER finish pass - loads after driver-bundle.css and the inline
   page styles. Visual only: no markup, JS or API behaviour changes. */

/* One voice. The shared gold stylesheet sets every *-label, *-badge, label
   and a few titles in uppercase monospace; mono belongs to codes and
   measurements, so buttons, rows and captions go back to the interface sans. */
.drv-main [class*="-label"],.drv-main label,.drv-main [class*="-badge"],.drv-main [class*="-chip"],
.driver-bottom-nav [class*="-label"],.driver-sidebar [class*="-label"],.driver-sidebar .si-label,
.dn-label,.drv-subtitle,.kpi-ring-label,.reg-overlay [class*="-label"],.reg-overlay label,
.slide-online-label span,.slide-accept-wrap [class*="-label"]{
  font-family:'Outfit',system-ui,sans-serif!important;text-transform:none!important;letter-spacing:.01em!important}
.drv-main label,.reg-overlay label{font-size:12px!important;font-weight:600!important}
.kpi-ring-label{text-transform:none!important;line-height:1.25}
.profile-verified-badge{text-transform:none!important}
.drv-main [class*="-price"],.drv-main [class*="-amount"],.drv-main [class*="-total"],.gc-trips{
  font-variant-numeric:tabular-nums}
/* The plate is a code: it stays monospace. */
.vehicle-plate-box,[class*="plate"]{font-family:'JetBrains Mono',monospace!important;letter-spacing:.08em!important}
/* Row titles ("Payment & earnings", "Update Vehicle Info") */
.profile-row-label,.money-label{font-size:15px!important;font-weight:700!important;color:var(--text,#F7F5EE)!important}
.profile-row-label+*,.money-label+*{font-size:13px}

/* Top bar: carbon, like the rider app, instead of the brown gold wash. */
body:not(.light-mode) .drv-topbar{
  background:linear-gradient(180deg,rgba(9,10,15,.97),rgba(9,10,15,.88))!important;
  border-bottom:1px solid rgba(212,175,55,.28)!important;box-shadow:0 8px 28px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(12px)}
.drv-title{font-family:'Sora',sans-serif!important;letter-spacing:.02em!important;font-size:16px!important}
/* The sidebar toggle belongs to wide screens (the sidebar is hidden on a
   phone); below 900px it showed as an unstyled white pill. */
@media (max-width:899px){.topbar-sidebar-btn{display:none!important}}

/* Bottom nav: carbon with the same gold hairline, no brown cast. */
body:not(.light-mode) .driver-bottom-nav{
  background:rgba(8,9,15,.97)!important;background-image:none!important;
  border-top:1px solid rgba(212,175,55,.18)!important}
.nav-tab .nl{font-size:11.5px!important;font-weight:700!important;letter-spacing:.01em!important}
.driver-bottom-nav .nav-tab.active{box-shadow:inset 0 2px 0 #D4AF37}

/* Page ground: the same near-black as the rider app (it read navy here). */
body:not(.light-mode) .drv-main{background:transparent}

/* Waiting card */
.dn-label{font-size:15px!important;font-weight:700!important}

/* Go-online slider: sans label, a drawn chevron on the thumb instead of a
   text glyph, and no glow. */
.slide-online-label,.slide-online-label span{font-family:'Outfit',system-ui,sans-serif!important}
.slide-online-label{font-size:14px!important;font-weight:600!important}
.slide-online-arrow{font-size:0!important;width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);display:inline-block}
@keyframes slide-arrow-left{0%,100%{transform:translateX(0) rotate(45deg);opacity:.3}60%{transform:translateX(-6px) rotate(45deg);opacity:.9}}
.slide-online-thumb{font-size:0!important;box-shadow:0 6px 16px -6px rgba(0,0,0,.6)!important;position:absolute}
.slide-online-thumb::before{content:"";width:11px;height:11px;border-left:3px solid #fff;border-bottom:3px solid #fff;
  transform:rotate(45deg);margin-left:4px}
.slide-online-track{box-shadow:none!important}

/* Section captions ("MY VEHICLES") */
.profile-section-label,.section-label,.money-section-label{font-size:12px!important;font-weight:700!important;color:var(--dim,#9A9AAE)!important}

/* Motion: one calm entrance per page, none for reduced-motion users. */
@keyframes etel-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.drv-page.active{animation:etel-rise .32s cubic-bezier(.22,1,.36,1) both}
@media (prefers-reduced-motion:reduce){.drv-page.active{animation:none}}
.driver-bottom-nav .nav-tab{border-radius:0!important}

/* ── Trip and request cards (from phone screenshots) ── */
.ride-state-header{font-family:'Sora',sans-serif!important;font-weight:800!important;font-size:22px!important;letter-spacing:-.01em!important;text-wrap:balance}
.active-status-pill,.active-ride-code,.ride-info-k,.req-dist-badge,.call-btn{font-family:'Outfit',system-ui,sans-serif!important;text-transform:none!important;letter-spacing:.01em!important}
.ride-info-k{font-size:12px!important;font-weight:600!important;color:var(--dim,#9A9AAE)!important}
.active-ride-code{font-family:'JetBrains Mono',monospace!important;letter-spacing:.08em!important}
/* One brand gold for the primary action, large enough to hit mid-trip. */
.action-btn.primary{background:linear-gradient(135deg,#F4D56A,#C89A24)!important;color:#16120A!important;
  font-size:16px!important;min-height:56px;letter-spacing:.005em}
.action-btn.more-toggle{min-height:56px}
/* Call is a phone action: green like the rider app, not teal. */
.call-btn{background:rgba(53,209,124,.14)!important;color:#35D17C!important;border:1px solid rgba(53,209,124,.35)!important}
/* Request card: air between fare and distance, quiet decline */
.req-top{gap:10px!important;align-items:center}
.req-fare{font-family:'Sora',sans-serif!important;font-variant-numeric:tabular-nums}
.req-expiry-text{font-variant-numeric:tabular-nums}
/* Slide to accept: drawn chevrons instead of text glyphs, like go-online */
.slide-accept-label,.slide-accept-label span{font-family:'Outfit',system-ui,sans-serif!important;text-transform:none!important}
.slide-accept-label{font-size:14px!important;font-weight:600!important}
.slide-accept-arrow{font-size:0!important;width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);display:inline-block;opacity:.6}
.slide-accept-thumb{font-size:0!important}
.slide-accept-thumb::before{content:"";width:11px;height:11px;border-left:3px solid #16120A;border-bottom:3px solid #16120A;
  transform:rotate(45deg);margin-left:4px}

/* Top bar controls. The power glyph is missing from many phone fonts and
   drew an empty box, and the battery tip link wrapped into the bar as a
   sentence. Both are now compact round icon buttons. */
.drv-poweroff-btn{width:40px;height:40px;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center;color:#EF5350}
.drv-poweroff-btn[style*="display:none"]{display:none!important}
#battery-tip-help-btn{font-size:0!important;width:34px;height:34px;min-width:34px;padding:0!important;border-radius:50%;
  border:1px solid rgba(255,255,255,.14)!important;background:rgba(255,255,255,.05)!important;color:#C4C6D0!important;position:relative}
#battery-tip-help-btn::before{content:"?";position:absolute;inset:0;display:grid;place-items:center;font:700 15px 'Outfit',sans-serif}
/* Route dots: pickup is gold, drop-off blue, like the rider app. */
.req-stop-dot{background:transparent}
.req-stop-dot.pickup{border-color:#D4AF37!important;background:#D4AF37!important}
.req-stop-dot.dropoff{border-color:#60B4FF!important;background:transparent!important}
#wait-toggle-btn{background:linear-gradient(135deg,#F4D56A,#C89A24)!important}

/* ── Profile cover: the location chip sat on top of the Invite button ── */
.profile-location-chip{top:auto!important;bottom:10px;right:16px}

/* ── SOS stays reachable but off the content on the non-map pages ── */
body[data-page]:not([data-page="requests"]) #sos-fab{
  top:auto!important;bottom:calc(var(--tab-h,64px) + 14px + env(safe-area-inset-bottom,0px))!important;
  width:48px!important;height:48px!important}

/* ── Light mode ──
   The gold stylesheet paints secondary text in pale cream (made for the dark
   theme) and the pages keep a dark ground, so in light mode captions and
   subtitles went invisible and the cards turned a muddy grey. */
body.light-mode .drv-page{background:#F0EDE6}
body.light-mode .drv-main [class*="-sub"],body.light-mode .drv-main [class*="-desc"],
body.light-mode .drv-main [class*="-hint"],body.light-mode .drv-main [class*="-note"],
body.light-mode .drv-main [class*="-meta"],body.light-mode .drv-main [class*="-lbl"],
body.light-mode .drv-main [class*="-caption"],body.light-mode .drv-main small,
body.light-mode .drv-main .money-label,body.light-mode .drv-main .profile-section-label{color:#5A5650!important}
body.light-mode .drv-topbar .drv-gps-quality,body.light-mode .drv-topbar .drv-gps-quality *{color:#5A5650!important}
body.light-mode .drv-topbar .drv-online-pill{color:#136B3A!important;background:rgba(46,204,113,.14)!important}
body.light-mode #battery-tip-help-btn{opacity:1!important;color:#5A5650!important;border-color:rgba(0,0,0,.18)!important;background:rgba(0,0,0,.04)!important}
body.light-mode .profile-location-chip{background:rgba(255,255,255,.7);color:#5A5650}
body.light-mode .profile-cover{background:
  radial-gradient(120% 100% at 15% 0%,rgba(212,175,55,.28) 0%,transparent 55%),linear-gradient(180deg,#F7F4EE,#F0EDE6)}
body.light-mode .profile-section,body.light-mode .pstat{background:#FFFFFF;border:1px solid rgba(0,0,0,.08);box-shadow:0 1px 2px rgba(0,0,0,.04)}
/* Pages paint var(--bg); light mode never redefined it, so the page ground
   stayed near-black under light cards. */
body.light-mode{--bg:#F0EDE6}
/* The page ground behind the cards: html keeps the dark colour, so give the
   scrolling container the light one on the pages that hide the map. */
body.light-mode[data-page]:not([data-page="requests"]) .drv-main{background:#F0EDE6}
body.light-mode #page-money.active,body.light-mode #page-chats.active,body.light-mode #page-profile.active{background:#F0EDE6}
/* Earnings hero and performance in light mode */
body.light-mode .money-hero{background:linear-gradient(180deg,#FFFFFF,#F7F4EE)!important;border:1px solid rgba(0,0,0,.08)!important;box-shadow:0 1px 2px rgba(0,0,0,.04)!important}
body.light-mode .money-amount{color:#8A6500!important}
body.light-mode .qstat-card{background:#FFFFFF!important;border:1px solid rgba(0,0,0,.08)!important}
body.light-mode .qstat-val{color:#1A1206!important}
body.light-mode .date-strip button,body.light-mode .date-strip [class*="day"]{color:#5A5650}
body.light-mode .kpi-ring-label{color:#F3D56B!important}

/* The top bar rides over the sheet when the driver is online. In light mode
   it was a see-through gradient, so the text underneath ("Waiting for ride
   request") ghosted through the Online pill and the status line. Solid
   grounds in both modes. */
body.light-mode .drv-topbar{background:#F0EDE6!important;background-image:none!important;border-bottom:1px solid rgba(160,120,20,.3)!important;box-shadow:0 2px 10px rgba(0,0,0,.06)!important}
body:not(.light-mode) .drv-topbar{background:rgba(9,10,15,.98)!important}
body.light-mode .drv-topbar .drv-status-line,body.light-mode .drv-topbar .drv-subtitle{color:#3F3A30!important}
body.light-mode .drv-online-pill .dot{background:#1FA45B}
body.light-mode .drv-topbar .drv-poweroff-btn{color:#C62828}

/* Read by the version panel: must equal the ?v= on this file's <link>. */
:root{--etel-css-driver:"20261005"}
