/* Driver app, light theme: readable text on the panels the app builds in JavaScript.
   Many panels (Street Hail, the vehicle and profile forms, cards in the ride sheet...) are written with dark colours inline:
   a dark surface (#191926, #12121d...) with light text (#EDEDF5, gold, grey). The light theme already turns that light text dark
   (driver/index.html), but the dark surfaces stayed dark, so the text ended up dark on dark. Here the same dark surfaces become
   light too, and the greys, reds, greens and blues that were chosen for a dark background are darkened to match.
   Additive: only applies with body.light-mode, never changes the dark theme. Loaded after the light-theme block in driver/index.html. */

/* surfaces */
body.light-mode [style*="background:#12121d" i],
body.light-mode [style*="background: #12121d" i],
body.light-mode [style*="background:#0d0d1a" i],
body.light-mode [style*="background:#10101c" i],
body.light-mode [style*="background:#11131c" i],
body.light-mode [style*="background:#16121a" i],
body.light-mode [style*="background:#1b1c28" i]{background:#FFFFFF !important;border-color:rgba(110,84,20,.28) !important;color:#1A1206 !important}
body.light-mode [style*="background:#191926" i],
body.light-mode [style*="background: #191926" i]{background:#F4EFE3 !important;border-color:rgba(110,84,20,.28) !important;color:#1A1206 !important}
body.light-mode [style*="background:rgba(255,255,255,.02)"],
body.light-mode [style*="background:rgba(255,255,255,.03)"],
body.light-mode [style*="background:rgba(255,255,255,.04)"],
body.light-mode [style*="background:rgba(255,255,255,.05)"],
body.light-mode [style*="background:rgba(255,255,255,.06)"],
body.light-mode [style*="background:rgba(255,255,255,.07)"],
body.light-mode [style*="background:rgba(255,255,255,.08)"]{background:rgba(60,45,10,.05) !important}
body.light-mode [style*="border:1px solid rgba(255,255,255"],
body.light-mode [style*="border-bottom:1px solid rgba(255,255,255"],
body.light-mode [style*="border-top:1px solid rgba(255,255,255"]{border-color:rgba(110,84,20,.22) !important}

/* text that was chosen for a dark background */
body.light-mode [style*="color:#9A9AAE" i],
body.light-mode [style*="color:#B8B0A0" i],
body.light-mode [style*="color:#8A8AA8" i],
body.light-mode [style*="color:#6B6E82" i],
body.light-mode [style*="color:#4B4F5E" i],
body.light-mode [style*="color:#C4C6D0" i]{color:#5A5650 !important}
body.light-mode [style*="color:#F7F5EE" i],
body.light-mode [style*="color:#F5EDD8" i]{color:#1A1206 !important}
body.light-mode [style*="color:#e88" i],
body.light-mode [style*="color:#ff6b6b" i],
body.light-mode [style*="color:#FF8A80" i],
body.light-mode [style*="color:#E63946" i]{color:#B3261E !important}
body.light-mode [style*="color:#FFB74D" i]{color:#8A5200 !important}
body.light-mode [style*="color:#60B4FF" i]{color:#1F6FD1 !important}
body.light-mode [style*="color:#4ECDC4" i],
body.light-mode [style*="color:#2ECC71" i]{color:#17784A !important}

/* Street Hail: the buttons, the chips and the messages inside it */
body.light-mode #hail-modal > div{background:#FFFFFF !important;border-color:rgba(160,120,20,.4) !important;box-shadow:0 18px 50px rgba(0,0,0,.28)}
body.light-mode #hail-modal button:not(#hail-go){border-color:rgba(110,84,20,.35) !important}
body.light-mode #hail-modal .hail-km,body.light-mode #hail-modal #hail-km-input{background:#F4EFE3 !important;color:#1A1206 !important}
body.light-mode #hail-modal input{background:#FFFFFF !important;color:#1A1206 !important;border-color:rgba(110,84,20,.4) !important}
body.light-mode #hail-modal #hail-msg{color:#B3261E !important;background:rgba(192,57,43,.09) !important;border-color:rgba(192,57,43,.4) !important}
body.light-mode #hail-modal #hail-fare{color:#8A6500 !important}
body.light-mode #hail-modal #hail-go{color:#1a1a2e !important}

/* The driver pop-up panel (Update Vehicle Info, Learning hub, announcements, referral code...): a dark panel with light text by
   design, but the light theme darkened the text without lightening the panel. In the light theme the panel is light too. */
body.light-mode #drv-modal-bg{background:rgba(30,24,12,.45) !important}
body.light-mode #drv-modal-box{background:#FFFFFF !important;border-color:rgba(160,120,20,.4) !important;color:#1A1206 !important;box-shadow:0 -10px 40px rgba(0,0,0,.2)}
body.light-mode #drv-modal-title{color:#8A6500 !important}
body.light-mode #drv-modal-close{background:rgba(60,45,10,.08) !important;color:#1A1206 !important}
body.light-mode #drv-modal-body{color:#3A342A !important}
body.light-mode #drv-modal-body h4{color:#8A6500 !important}
body.light-mode #drv-modal-body .reg-option{background:#F4EFE3 !important;border-color:#D9CFB8 !important}
body.light-mode #drv-modal-body .reg-option .ro-label{color:#1A1206 !important}
body.light-mode #drv-modal-body .reg-option .ro-sub{color:#8A6500 !important}
body.light-mode #drv-modal-body .reg-option.selected{background:#FFF6D8 !important;border-color:#B88A10 !important;box-shadow:0 0 0 1px rgba(184,138,16,.35),0 6px 18px rgba(184,138,16,.15)}
body.light-mode #drv-modal-body .reg-option.selected .ro-label{color:#8A6500 !important}
body.light-mode #drv-modal-body .reg-field-label{color:#8A6500 !important}
body.light-mode #drv-modal-body .reg-input,body.light-mode #drv-modal-body .reg-select{background:#FFFFFF !important;color:#1A1206 !important;border-color:rgba(110,84,20,.4) !important}
body.light-mode #drv-modal-body .reg-input::placeholder{color:rgba(26,18,6,.45) !important}
body.light-mode .drv-ann-item{border-bottom-color:rgba(110,84,20,.18) !important}
body.light-mode .drv-ann-title{color:#1A1206 !important}
body.light-mode .drv-ann-body{color:#4A443A !important}
body.light-mode .drv-ann-date{color:#6B6558 !important}
body.light-mode .drv-referral-code{color:#8A6500 !important;background:rgba(184,138,16,.1) !important;border-color:rgba(184,138,16,.5) !important}

/* Driver self-registration wizard: it is a solid black screen by design (its own colours are hard-coded for black), but in the light theme
   the page-wide light rules still reached it, so the titles, labels and vehicle names turned dark on black and the inputs turned white.
   Inside the wizard everything keeps its dark look, whatever theme the rest of the app is in. */
body.light-mode .reg-overlay{
  --text:#FFFFFF;--dim:#C9BCA0;--gold-lt:#E9C767;--sheet:#111111;--sheet2:#111111;--surface-3:#1A1A1A;--line:rgba(255,255,255,.14);
  color:#FFFFFF !important;background:#000000 !important;
}
body.light-mode .reg-overlay .reg-title,
body.light-mode .reg-overlay .reg-step-title,
body.light-mode .reg-overlay .reg-success-title,
body.light-mode .reg-overlay .reg-option .ro-label,
body.light-mode .reg-overlay .reg-step-text,
body.light-mode .reg-overlay .reg-btn.outline{color:#FFFFFF !important}
body.light-mode .reg-overlay .reg-option.selected .ro-label{color:#E9C767 !important}
body.light-mode .reg-overlay .reg-sub,
body.light-mode .reg-overlay .reg-step-sub,
body.light-mode .reg-overlay .reg-success-sub,
body.light-mode .reg-overlay .reg-field-label,
body.light-mode .reg-overlay label{color:#D4AF37 !important}
body.light-mode .reg-overlay .reg-option .ro-sub{color:#B8860B !important}
body.light-mode .reg-overlay .reg-option{background:#111111 !important;border-color:#333333 !important}
body.light-mode .reg-overlay .reg-option.selected{background:#1F1A0A !important;border-color:#D4AF37 !important}
body.light-mode .reg-overlay .reg-topbar,
body.light-mode .reg-overlay .reg-body{background:#000000 !important}
body.light-mode .reg-overlay [style*="color:#fff" i],
body.light-mode .reg-overlay [style*="color:#EDEDF5" i],
body.light-mode .reg-overlay [style*="color:var(--text)"]{color:#FFFFFF !important}
body.light-mode .reg-overlay [style*="color:#D4AF37" i],
body.light-mode .reg-overlay [style*="color:#E5C76B" i],
body.light-mode .reg-overlay [style*="color:#F0CA58" i],
body.light-mode .reg-overlay [style*="color:#FFD700" i]{color:#D4AF37 !important}
body.light-mode .reg-overlay [style*="color:var(--dim)"]{color:#C9BCA0 !important}
body.light-mode .reg-overlay input:not([type=radio]):not([type=checkbox]):not([type=range]),
body.light-mode .reg-overlay select,
body.light-mode .reg-overlay textarea{background:#111111 !important;color:#FFFFFF !important;border-color:#4A4A4A !important}
body.light-mode .reg-overlay select option{background:#111111;color:#FFFFFF}
body.light-mode .reg-overlay input::placeholder,
body.light-mode .reg-overlay textarea::placeholder{color:rgba(212,175,55,.7) !important}
body.light-mode .reg-overlay input:focus,
body.light-mode .reg-overlay select:focus,
body.light-mode .reg-overlay textarea:focus{border-color:#D4AF37 !important}
body.light-mode .reg-overlay .reg-steps-list{background:#111111 !important;border-color:#333333 !important}
