
.theme-toggle{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left));z-index:1100;min-height:44px;padding:10px 16px;border:1px solid #cbd5cc;border-radius:24px;background:#fff;color:#243c30;font:600 14px system-ui,sans-serif;box-shadow:0 3px 12px #0002;cursor:pointer}
body{padding-bottom:64px}
html[data-theme=dark]{color-scheme:dark;background:#0f172a;color:#e2e8f0}
html[data-theme=dark] body{background:#0f172a;color:#e2e8f0}
html[data-theme=dark] :is(header,.booking,.panel,.stats article,.auth-card,article,#login,#locationPanel,#navigationPanel,.pickup-dialog,.locations,.ride,.driver,.timeline,.trip-summary,.completed){background:#18243b;color:#e2e8f0;border-color:#364763}
html[data-theme=dark] :is(h1,h2,h3,strong,label,.brand,nav button,.ride-price){color:#f1f5f9}
html[data-theme=dark] :is(p,small,.intro,.hint,.muted,.field>span,.section-title>span,.demo-note,footer,.city,.payment small,.ride small,.maps-status,.chosen-place,.location-tools p){color:#b3c2d8}
html[data-theme=dark] :is(input,select,.field select,.landmark input,button,.secondary,.lang,.account-button,.navigation,.location-tools button){background:#22324e;color:#e8eef8;border-color:#506583}
html[data-theme=dark] :is(.primary,.reset-code-row button){background:#ed7834;color:#0f172a;border-color:#ed7834}
html[data-theme=dark] #rides .ride.selected{background:#433126;border-color:#ff9c5f;box-shadow:inset 0 0 0 1px #ff9c5f,0 0 0 2px #ff9c5f26}
html[data-theme=dark] #rides .ride.selected .ride-copy strong{color:#ffba8e}
html[data-theme=dark] #rides .ride.selected .ride-copy strong::after{content:' ✓';display:inline-block;margin-inline-start:6px;color:#ffba8e;font-weight:800}
html[data-theme=dark] :is(.rider-auth){background:#0f172a}
html[data-theme=dark] :is(.badge,.status,.driver-status,.cash,.success-icon,.reset-result,#message){background:#2b405f;color:#e2ecfa;border-color:#506583}
html[data-theme=dark] :is(.auth-link,a,.eyebrow,.status){color:#ffb17f}
html[data-theme=dark] :is(#error,#authError,#requestError){color:#ffaaa0}
html[data-theme=dark] .theme-toggle{background:#263c60;color:#f3f6fc;border-color:#637ea5}
html[data-theme=dark] :is(.auth-logo,.brand-wordmark-image,header>img){background:transparent;border-radius:0;padding:0;content:url("/logo-wordmark-dark.svg")}
html[data-theme=dark] .payment-unavailable{background:#202e46;color:#b6c3d8;border-color:#475c7a}
html[data-theme=dark] .payment-brand{background:#edf1f7}
html[data-theme=dark] gmp-place-autocomplete{color-scheme:dark}
html[data-theme=dark] :is(.map,.map.google-active,#driverMap,#fleetMap){background:#1b2c46}
html[data-theme=dark] .pickup-dialog::backdrop{background:#000b}
html[data-theme=dark] .auth-card input:focus{outline-color:#ffae77}

html[data-theme=dark] .fleet-popup,html[data-theme=dark] .fleet-popup p{color:#e2e8f0}
html[data-theme=dark] :is(.city-tag,.map-demo,.map-caption){background:#243650;color:#dce7f7;border-color:#405777}

/* Orange Car location search: style the supported Google widget parts. */
.locations.places-ready{--place-bg:#fafbf8;--place-text:#283d33;--place-muted:#68776e;--place-border:#dfe5df;--place-hover:#fff1e6;background:transparent;border:0;padding:0;display:grid;gap:12px}
html[data-theme=dark] .locations.places-ready{--place-bg:#22324e;--place-text:#e8eef8;--place-muted:#b3c2d8;--place-border:#506583;--place-hover:#30415c;background:transparent}
.locations.places-ready label{padding:12px 14px;gap:14px;min-height:86px;border:1px solid var(--place-border);border-radius:16px;background:var(--place-bg);transition:border-color .15s,box-shadow .15s}
.locations.places-ready label:focus-within{border-color:#f47730;box-shadow:0 0 0 3px #f4773026}
.locations.places-ready label .field{border:0;padding:0;gap:0}
.locations.places-ready .field>span{font-size:12px;font-weight:700;color:var(--place-muted);padding-inline:12px}
.locations.places-ready .dot,.locations.places-ready .square{flex-shrink:0;width:12px;height:12px;background:#f47730;box-shadow:0 0 0 5px #f477301a}
.locations.places-ready .square{background:var(--place-text);box-shadow:0 0 0 5px #8293ac1a}
.locations.places-ready .connector{display:none}
.flow:has(.places-ready)>.swap{top:75px;inset-inline-end:18px;width:36px;height:36px;z-index:3;border-color:var(--place-border,#dfe5df);box-shadow:0 2px 6px #0001;font-size:21px}
.locations.places-ready gmp-place-autocomplete{border:0;border-radius:10px;background:transparent;color:var(--place-text);font-family:inherit;font-size:16px;box-shadow:none;min-height:44px}
.locations.places-ready gmp-place-autocomplete::part(input){font-family:inherit;font-size:16px;font-weight:500;line-height:1.5;color:var(--place-text);background:transparent;padding-block:10px}
.locations.places-ready gmp-place-autocomplete::part(focus-ring){outline-color:#f47730;border-color:#f47730}
.locations.places-ready gmp-place-autocomplete::part(prediction-list){border:1px solid var(--place-border);border-radius:16px;background:var(--place-bg);color:var(--place-text);box-shadow:0 12px 32px #0f172a24;font-family:inherit}
.locations.places-ready gmp-place-autocomplete::part(prediction-item){background:var(--place-bg);color:var(--place-text);padding-block:12px;font-family:inherit;line-height:1.5}
.locations.places-ready gmp-place-autocomplete::part(prediction-item):hover,.locations.places-ready gmp-place-autocomplete::part(prediction-item-selected){background:var(--place-hover)}
.locations.places-ready gmp-place-autocomplete::part(prediction-item-main-text){color:var(--place-text);font-weight:600}
.locations.places-ready gmp-place-autocomplete::part(prediction-item-secondary-text){color:var(--place-muted);font-size:12px}
.locations.places-ready gmp-place-autocomplete::part(prediction-item-match){color:#dc682c;font-weight:700}
html[data-theme=dark] .locations.places-ready gmp-place-autocomplete::part(prediction-item-match){color:#ffb17f}
.locations.places-ready gmp-place-autocomplete::part(prediction-item-icon){color:#f47730;background:var(--place-hover);border-radius:10px}
.locations.places-ready .chosen-place{color:var(--place-muted);padding-inline:12px}
.locations.places-ready .chosen-place:empty{display:none}
.map-retry{position:absolute;z-index:20;inset:72px 16px auto;width:calc(100% - 32px);padding:14px 18px;min-height:48px;border:1px solid #f47730;border-radius:14px;background:#fff;color:#9b451c;font:600 15px/1.5 'DM Sans','Noto Sans Arabic',sans-serif;box-shadow:0 4px 18px #0002}
.locations.places-ready gmp-place-autocomplete::part(input)::placeholder{color:var(--place-muted);opacity:1}
@media(max-width:850px){.flow:has(.places-ready)>.swap{width:44px;height:44px;top:72px}}

.map.map-load-failed>svg,.map.map-load-failed .map-caption,.map.map-load-failed .map-bottom{display:none}
.map:not(.google-active)>svg,.map:not(.google-active) .map-caption,.map:not(.google-active) .map-bottom,.map:not(.google-active) .map-top{display:none}
#mapLoadState{position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:12px;padding:72px 24px 24px;text-align:center;background:#f1f4f8;color:#283d33;font-size:16px;line-height:1.6}
#mapLoadState p{max-width:340px;margin:0;font-size:14px}#mapLoadState button{border:1px solid #f47730;border-radius:12px;min-height:48px;padding:10px 24px;background:#f47730;color:#111827;font-weight:700}
.google-active #mapLoadState,.map:has(#mapLoadState) .map-retry{display:none}
html[data-theme=dark] #mapLoadState{background:#18243b;color:#e8eef8}
