:root{--cc-ink:#07192b;--cc-navy:#06233d;--cc-blue:#1188f7;--cc-soft:#eff6fc;--cc-line:#d9e4ed;--cc-muted:#647487;--cc-green:#087f5b;--cc-red:#c8323c;--cc-amber:#c47800}

body:has(#cc-driver-app){margin:0!important;background:#eaf1f6!important;overflow-x:hidden;color:var(--cc-ink)}

body:has(#cc-driver-app) #masthead,body:has(#cc-driver-app) .site-header,body:has(#cc-driver-app) footer,body:has(#cc-driver-app) .site-footer{display:none!important}

#cc-driver-app,#cc-driver-app *{box-sizing:border-box}

#cc-driver-app{position:relative;width:100%;max-width:none;min-height:100dvh;margin:0!important;font-family:Inter,"Helvetica Neue",Arial,sans-serif;background:#eaf1f6;overflow:hidden;color:var(--cc-ink)}

#cc-driver-app button,#cc-driver-app a,#cc-driver-action-sheet button{font:inherit;-webkit-tap-highlight-color:transparent}

.cc-driver-map,#cc-driver-map{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;z-index:1;background:#dce8f1}

.leaflet-control-attribution{font-size:8px!important;opacity:.55}.leaflet-control-zoom{display:none!important}

.cc-driver-shell,.cc-driver-layout,.cc-driver-main{position:relative;z-index:3;min-height:100dvh;pointer-events:none}

.cc-driver-shell>*,.cc-driver-layout>*,.cc-driver-main>*{pointer-events:auto}

.cc-driver-topbar,.cc-driver-header{position:fixed;z-index:20;top:max(14px,env(safe-area-inset-top));left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}

.cc-driver-topbar>*,.cc-driver-header>*{pointer-events:auto}

.cc-driver-back,.cc-driver-profile,.cc-map-control,#cc-zoom-driver,#cc-locate-driver,#cc-map-theme{display:grid;place-items:center;width:50px;height:50px;padding:0;border:0;border-radius:50%;background:#fff;color:var(--cc-ink);box-shadow:0 8px 28px rgba(7,25,43,.16)}

.cc-driver-status,.cc-driver-duty-status{display:flex;align-items:center;gap:8px;height:44px;padding:0 15px;border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 8px 28px rgba(7,25,43,.13);font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}

#cc-duty-dot{width:9px;height:9px;border-radius:50%;background:#8897a5}#cc-duty-dot.online{background:#0aa574;box-shadow:0 0 0 5px rgba(10,165,116,.12)}

.cc-driver-map-tools{position:fixed;z-index:18;right:16px;top:92px;display:grid;gap:10px}

#cc-driver-notice{position:fixed;z-index:80;top:max(72px,calc(env(safe-area-inset-top) + 60px));left:50%;width:min(calc(100% - 32px),430px);transform:translateX(-50%);padding:13px 16px;border-radius:14px;background:#fff;color:var(--cc-ink);box-shadow:0 15px 50px rgba(7,25,43,.2);font-size:13px;font-weight:750;text-align:center}

#cc-driver-notice.success{background:#e4fff3;color:#066a4a}#cc-driver-notice.error{background:#fff0f0;color:#a5212a}

.cc-driver-dashboard,.cc-driver-panel{position:relative;z-index:10;min-height:100dvh;padding:0 14px 18px;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}

.cc-driver-dashboard>* ,.cc-driver-panel>*{pointer-events:auto}

.cc-driver-sidebar,.cc-driver-stats,.cc-driver-metrics,.cc-driver-history-section,.cc-driver-history-wrap,.cc-driver-section-title{display:none!important}

#cc-driver-zone{position:fixed;z-index:12;left:16px;top:92px;max-width:156px;height:42px;padding:0 14px;border:0;border-radius:22px;background:#fff;color:var(--cc-ink);box-shadow:0 8px 28px rgba(7,25,43,.13);font-size:12px;font-weight:800}

#cc-driver-active{width:min(100%,560px);margin:0 auto;pointer-events:auto}

.cc-driver-assignment,.cc-driver-empty{position:relative;width:100%;max-height:67dvh;overflow:auto;padding:9px 18px calc(18px + env(safe-area-inset-bottom));border:1px solid rgba(217,228,237,.9);border-radius:30px 30px 24px 24px;background:rgba(255,255,255,.98);box-shadow:0 -8px 50px rgba(7,25,43,.18);scrollbar-width:none}

.cc-driver-assignment::-webkit-scrollbar{display:none}.cc-driver-sheet-handle{display:block;width:46px;height:5px;margin:0 auto 15px;border-radius:99px;background:#d9dee3}

.cc-driver-state-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.cc-driver-state-row span{font-size:11px;font-weight:950;letter-spacing:.13em;color:#1176d0}.cc-driver-state-row b{font-size:11px;color:#6c7b89}

.cc-driver-mission-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.cc-driver-mission-title small{display:block;margin-bottom:4px;font-size:12px;font-weight:900;color:#687788}.cc-driver-mission-title h2{max-width:390px;margin:0;font-size:22px;line-height:1.12;letter-spacing:-.04em}.cc-driver-mission-title h2 i{font-style:normal;color:#1687eb}.cc-driver-mission-title em{padding:7px 9px;border-radius:10px;background:#e7f3ff;color:#0874d4;font-size:10px;font-style:normal;font-weight:950;letter-spacing:.1em}

.cc-assignment-route{display:grid;grid-template-columns:18px 1fr;gap:11px;padding:15px;border:1px solid var(--cc-line);border-radius:18px;background:#f8fbfd}.cc-assignment-rail{display:grid;grid-template-rows:9px 1fr 9px;justify-items:center;padding:5px 0}.cc-assignment-rail i{width:9px;height:9px;border:3px solid #1687eb;border-radius:50%}.cc-assignment-rail i:last-child{border-radius:2px;border-color:#07192b}.cc-assignment-rail b{width:2px;margin:3px 0;background:repeating-linear-gradient(to bottom,#97a9b8 0 4px,transparent 4px 8px)}.cc-assignment-route-content{display:grid;gap:17px}.cc-assignment-route-content span,.cc-driver-next-stop small,.cc-driver-pickup-detail span,.cc-driver-verification small,.cc-driver-payment small{display:block;margin-bottom:4px;font-size:10px;font-weight:950;letter-spacing:.12em;color:#788a9a}.cc-assignment-route-content strong{display:block;font-size:15px;line-height:1.2}.cc-assignment-route-content small{display:block;margin-top:3px;color:#788796;font-size:12px}

.cc-driver-pickup-detail{margin-top:12px;padding:14px 15px;border-radius:16px;background:#eaf6ff;border:1px solid #cde7fa}.cc-driver-pickup-detail span{color:#0b7bd7}.cc-driver-pickup-detail strong{display:block;font-size:14px;line-height:1.35}

.cc-assignment-meta{
    display:flex;
    flex-wrap:wrap;
    gap:97px;
    margin:13px 0;
}

.cc-assignment-meta span{
    padding:8px 10px;
    border-radius:10px;
    background:#f0f4f7;
    color:#33485b;
    font-size:11px;
    font-weight:850;
}
.cc-assignment-actions{display:grid;gap:9px;margin-top:14px}.cc-driver-assignment button.primary,#cc-duty-button,.cc-driver-sheet-primary{width:100%;min-height:55px;border:0;border-radius:17px;padding:0 18px;background:linear-gradient(135deg,#0b74dc,#1398ff);box-shadow:0 10px 24px rgba(17,136,247,.24);color:#fff;font-size:15px;font-weight:900;cursor:pointer}.cc-driver-assignment button.quiet,.cc-driver-sheet-secondary{width:100%;min-height:48px;border:1px solid var(--cc-line);border-radius:15px;background:#f3f7fa;color:#21384c;font-size:13px;font-weight:850;cursor:pointer}.cc-driver-assignment button.danger-text{color:#b72b35;background:#fff4f4;border-color:#f0d0d3}.cc-driver-assignment button.cash{background:linear-gradient(135deg,#047d5c,#09a778)}

.cc-driver-next-stop{padding:4px 0 15px}.cc-driver-next-stop strong{display:block;font-size:27px;line-height:1.03;letter-spacing:-.045em}.cc-driver-next-stop span{display:block;margin-top:6px;color:#6a7c8c;font-size:13px;font-weight:650}

.cc-driver-contact-row{display:flex;gap:9px;margin:13px 0}.cc-driver-icon-action{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;border:1px solid var(--cc-line);border-radius:15px;background:#f5f8fa;color:#183247!important;text-decoration:none!important}.cc-driver-icon-action i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e5f2fd;color:#0877d5;font-style:normal;line-height:0}.cc-driver-icon-action i svg{display:block;width:14px;height:14px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.cc-driver-icon-action b{font-size:12px}.cc-driver-contact-disabled{color:#7f8e9b;font-size:12px}

.cc-driver-arrived-banner{display:flex;align-items:center;gap:9px;margin-bottom:16px;padding:10px 12px;border-radius:13px;background:#e5fff3;color:#07704f}.cc-driver-arrived-banner i{width:9px;height:9px;border-radius:50%;background:#0aa574}.cc-driver-arrived-banner span{font-size:11px;font-weight:950;letter-spacing:.12em}.cc-driver-arrived-banner b{margin-left:auto;font-variant-numeric:tabular-nums}.cc-driver-arrived-banner.warning{background:#fff4d9;color:#9a5e00}.cc-driver-arrived-banner.warning i{background:#e79a00}.cc-driver-arrived-banner.danger{background:#ffe5e7;color:#a82029}.cc-driver-arrived-banner.danger i{background:#d73741}.cc-driver-arrived-banner.success{background:#e5fff3;color:#07704f}

.cc-driver-passenger{display:flex;align-items:center;gap:13px;margin-bottom:14px}.cc-driver-passenger>span{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:linear-gradient(145deg,#0c2b47,#127dde);color:#fff;font-size:20px;font-weight:950}.cc-driver-passenger p{margin:0}.cc-driver-passenger small{display:block;color:#728394;font-size:10px;font-weight:950;letter-spacing:.12em}.cc-driver-passenger strong{display:block;margin-top:2px;font-size:21px}.cc-driver-passenger em{display:block;margin-top:2px;color:#647687;font-size:12px;font-style:normal}

.cc-driver-verification,.cc-driver-payment{margin:12px 0;padding:15px;border:1px solid var(--cc-line);border-radius:17px;background:#f7fafc}.cc-driver-verification small{color:#157bd2}.cc-driver-verification strong{display:block;font-size:13px;line-height:1.4}.cc-driver-confirm-strip,.cc-driver-onboard{display:flex;align-items:center;gap:10px;margin:12px 0;padding:13px;border-radius:15px;background:#e8fff5;color:#087454}.cc-driver-confirm-strip>i,.cc-driver-onboard>i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#0aa574;color:#fff;font-style:normal}.cc-driver-confirm-strip span,.cc-driver-onboard span{display:block}.cc-driver-confirm-strip b,.cc-driver-onboard b{display:block;font-size:13px}.cc-driver-confirm-strip small,.cc-driver-onboard small{display:block;margin-top:2px;font-size:11px;color:#4b7768}

.cc-driver-driving-actions{display:grid;gap:9px}.cc-driver-payment strong{display:block;font-size:27px;line-height:1.1}.cc-driver-payment span{display:block;margin-top:5px;color:#657786;font-size:12px}.cc-driver-payment.success{background:#e8fff5;border-color:#c9efdf}.cc-driver-payment.success small,.cc-driver-payment.success strong{color:#077454}.cc-driver-payment.cash{background:#fff9e8;border-color:#f0dfa9}.cc-driver-payment.cash small,.cc-driver-payment.cash strong{color:#9b6500}

.cc-driver-empty{text-align:center;padding:24px 22px max(102px,calc(90px + env(safe-area-inset-bottom)))}.cc-driver-empty-status{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:99px;background:#edf1f4;color:#697987;font-size:10px;font-weight:950;letter-spacing:.12em}.cc-driver-empty-status i{width:8px;height:8px;border-radius:50%;background:#9ba8b2}.cc-driver-empty-status.online{background:#e5fff3;color:#067251}.cc-driver-empty-status.online i{background:#08a574;box-shadow:0 0 0 5px rgba(8,165,116,.12)}.cc-driver-empty strong{display:block;margin-top:13px;font-size:22px;letter-spacing:-.035em}.cc-driver-empty small{display:block;margin-top:6px;color:#6e7e8c;font-size:14px;line-height:1.4}

#cc-duty-button{position:fixed!important;z-index:24!important;left:50%!important;right:auto!important;bottom:max(20px,env(safe-area-inset-bottom))!important;width:min(calc(100% - 32px),480px)!important;max-width:480px!important;margin:0!important;transform:translateX(-50%)!important}#cc-driver-app:has(.cc-driver-assignment) #cc-duty-button{display:none!important}#cc-duty-button.is-online,#cc-duty-button.is-online:is(:hover,:focus,:focus-visible,:active){background:linear-gradient(135deg,#a91f3a 0%,#d83b50 54%,#f05d66 100%)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:0 13px 30px rgba(174,31,57,.3),inset 0 1px 0 rgba(255,255,255,.24)!important}

body.cc-driver-sheet-open{overflow:hidden}.cc-driver-action-sheet[hidden]{display:none}.cc-driver-action-sheet{position:fixed;z-index:99999;inset:0;display:flex;align-items:flex-end;justify-content:center;font-family:Inter,"Helvetica Neue",Arial,sans-serif}.cc-driver-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(2,14,25,.58);backdrop-filter:blur(5px)}

.cc-driver-sheet-card{position:relative;width:min(100%,560px);max-height:88dvh;overflow:auto;padding:9px 18px calc(20px + env(safe-area-inset-bottom));border-radius:30px 30px 0 0;background:#fff;box-shadow:0 -15px 55px rgba(1,14,25,.28);animation:cc-sheet-up .22s ease-out}.cc-driver-sheet-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin:5px 0 16px}.cc-driver-sheet-card header small{color:#1178d2;font-size:13px;font-weight:950;letter-spacing:.13em}.cc-driver-sheet-card h2{margin:4px 0 0;color:var(--cc-ink);font-size:24px;letter-spacing:-.04em}

.cc-driver-sheet-card header>button{
    position:relative;
    top:-7px;
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:#eef3f7;
    color:#11283a;
    font-size:24px;
}

.cc-driver-sheet-copy{margin:0 0 14px;color:#5d7081;font-size:16px;line-height:1.5}.cc-driver-option-list{display:grid;gap:8px}.cc-driver-option-list button{display:grid;grid-template-columns:42px 1fr 14px;align-items:center;gap:11px;width:100%;padding:11px;border:1px solid var(--cc-line);border-radius:16px;background:#f8fafc;text-align:left;color:#132b3e}.cc-driver-option-list button>i{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e4f2fe;color:#0877d5;font-style:normal;font-weight:950}.cc-driver-option-list button b{display:block;font-size:16px}.cc-driver-option-list button small{display:block;margin-top:2px;color:#6f7f8d;font-size:14px}.cc-driver-option-list button em{font-size:22px;font-style:normal;color:#748595}.cc-driver-sheet-primary,.cc-driver-sheet-secondary{margin-top:9px}.cc-driver-sheet-primary.danger{background:linear-gradient(135deg,#be2f3a,#e14b55);box-shadow:0 10px 24px rgba(190,47,58,.2)}.cc-driver-cash-confirm{text-align:center;padding:15px 10px}.cc-driver-cash-confirm small{display:block;color:#718290;font-size:10px;font-weight:950;letter-spacing:.13em}.cc-driver-cash-confirm strong{display:block;margin-top:6px;color:#087454;font-size:38px;letter-spacing:-.04em}.cc-driver-cash-confirm p{max-width:340px;margin:9px auto 0;color:#627382;font-size:13px;line-height:1.45}
@keyframes cc-sheet-up{from{transform:translateY(25px);opacity:.5}to{transform:none;opacity:1}}

@media(min-width:700px){.cc-driver-dashboard,.cc-driver-panel{padding-bottom:28px}.cc-driver-assignment,.cc-driver-empty{border-radius:30px;max-height:72dvh}.cc-driver-sheet-card{border-radius:30px;margin-bottom:20px}.cc-driver-topbar,.cc-driver-header{left:28px;right:28px}}

@media(max-width:420px){.cc-driver-assignment,.cc-driver-empty{padding-left:16px;padding-right:16px;border-radius:28px 28px 0 0;border-bottom:0}.cc-driver-dashboard,.cc-driver-panel{padding:0}.cc-driver-mission-title h2{font-size:20px}.cc-driver-next-stop strong{font-size:24px}.cc-driver-contact-row{flex-wrap:wrap}.cc-driver-icon-action{min-width:30%}}



/* The live template uses the map-wrap/console class family. Keep the driver

   experience pinned to the viewport even when Elementor wraps the shortcode. */

body.cc-driver-hub-screen{overflow:hidden!important}

#cc-driver-app{position:fixed!important;inset:0!important;z-index:9999!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important}

.cc-driver-map-wrap{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}

.cc-driver-map,#cc-driver-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}

.cc-driver-map-back,.cc-driver-map-account{position:absolute!important;z-index:22;top:max(16px,env(safe-area-inset-top));display:grid!important;place-items:center;width:52px!important;height:52px!important;border-radius:50%;background:#fff;color:var(--cc-ink);box-shadow:0 8px 28px rgba(7,25,43,.16);text-decoration:none!important}

.cc-driver-map-back{left:16px}.cc-driver-map-account{right:16px;overflow:hidden}

.cc-driver-map-back svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

.cc-driver-map-account img{width:100%;height:100%;object-fit:cover}

.cc-driver-map-actions{position:absolute;z-index:22;right:16px;top:84px;display:grid;gap:10px}

.cc-driver-map-actions button{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:#fff;color:var(--cc-ink);box-shadow:0 8px 28px rgba(7,25,43,.15)}

.cc-driver-map-actions svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.cc-driver-console{position:absolute!important;inset:0!important;z-index:20!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;padding:0 14px max(14px,env(safe-area-inset-bottom))!important;overflow:hidden!important;pointer-events:none!important;transition:transform .24s ease,opacity .18s ease}

.cc-driver-console>*{pointer-events:auto}

.cc-driver-console-handle,.cc-driver-section-head{display:none!important}

.cc-driver-status-row{position:absolute;z-index:23;top:max(21px,calc(env(safe-area-inset-top) + 5px));left:80px;right:80px;display:flex;justify-content:center;pointer-events:none!important}

.cc-driver-status-pill{display:flex!important;align-items:center;gap:8px;height:42px;padding:0 14px;border-radius:23px;background:rgba(255,255,255,.97)!important;box-shadow:0 8px 28px rgba(7,25,43,.13);font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;pointer-events:auto!important}

.cc-driver-rides{flex:0 1 auto!important;width:min(100%,560px);min-height:0!important;max-height:68dvh;margin:0 auto;overflow:visible;pointer-events:none!important}

#cc-driver-active{pointer-events:auto!important}

@media(max-width:420px){.cc-driver-console{padding:0!important}.cc-driver-rides{width:100%;max-height:70dvh}.cc-driver-map-back,.cc-driver-map-account{top:max(14px,env(safe-area-inset-top));width:50px!important;height:50px!important}.cc-driver-map-actions{top:78px}.cc-driver-status-row{top:max(18px,calc(env(safe-area-inset-top) + 3px));left:74px;right:74px}}

.cc-driver-safety{display:none!important}

.cc-driver-pin-wrap{border:0!important;background:transparent!important}

.cc-driver-nav-marker{display:grid!important;place-items:center!important;width:50px!important;height:50px!important;border:3px solid #fff!important;border-radius:50%!important;background:#1188f7!important;box-shadow:0 8px 24px rgba(5,42,73,.28)!important;line-height:1!important}

.cc-driver-nav-marker svg{display:block!important;width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;fill:#fff!important;stroke:none!important}

.cc-driver-nav-marker svg path{fill:#fff!important;stroke:none!important}

#cc-driver-zone{display:none!important}



/* Keep the map tool glyphs optically centered inside their circular controls. */

.cc-driver-map-actions button{padding:0!important;line-height:1!important}

.cc-driver-map-actions button svg{margin:auto!important}

/* Interaction hardening: isolate Driver Hub controls from WordPress/theme hover rules. */
#cc-driver-app button,
#cc-driver-app button:hover,
#cc-driver-app button:focus,
#cc-driver-app button:focus-visible,
#cc-driver-app button:active,
#cc-driver-action-sheet button,
#cc-driver-action-sheet button:hover,
#cc-driver-action-sheet button:focus,
#cc-driver-action-sheet button:focus-visible,
#cc-driver-action-sheet button:active{
    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
    text-decoration:none!important;
    letter-spacing:normal;
    transform:none;
}

/* QA polish: keep every map and mission control optically centered and theme-safe. */
#cc-driver-app .cc-driver-map-actions{display:grid!important;gap:12px!important}
#cc-driver-app #cc-zoom-driver,
#cc-driver-app #cc-locate-driver,
#cc-driver-app #cc-map-theme,
#cc-driver-app #cc-zoom-driver:is(:hover,:focus,:focus-visible,:active),
#cc-driver-app #cc-locate-driver:is(:hover,:focus,:focus-visible,:active),
#cc-driver-app #cc-map-theme:is(:hover,:focus,:focus-visible,:active){display:grid!important;place-items:center!important;width:50px!important;height:50px!important;padding:0!important;border:0!important;border-radius:50%!important;color:#0b1c2c!important;background:#fff!important;box-shadow:0 8px 28px rgba(7,25,43,.16)!important;transform:none!important}
#cc-driver-app #cc-zoom-driver svg,
#cc-driver-app #cc-locate-driver svg,
#cc-driver-app #cc-map-theme svg{display:block!important;width:24px!important;height:24px!important;margin:auto!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;transform:none!important}
#cc-driver-app .cc-driver-contact-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
#cc-driver-app .cc-driver-icon-action,
#cc-driver-app .cc-driver-icon-action:is(:hover,:focus,:focus-visible,:active){display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:0!important;min-height:50px!important;padding:0 8px!important;border:1px solid var(--cc-line)!important;border-radius:16px!important;color:#183247!important;background:#f5f8fa!important;box-shadow:none!important;line-height:1!important;transform:none!important}
#cc-driver-app .cc-driver-icon-action i{display:grid!important;place-items:center!important;flex:0 0 26px!important;width:26px!important;height:26px!important;margin:0!important;border-radius:50%!important;line-height:0!important}
#cc-driver-app .cc-driver-icon-action i svg{display:block!important;width:14px!important;height:14px!important;margin:auto!important;transform:none!important}
#cc-driver-app .cc-driver-icon-action b{display:block!important;margin:0!important;line-height:1.1!important}
@media(max-width:420px){#cc-driver-app .cc-driver-contact-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}#cc-driver-app .cc-driver-icon-action{min-width:0!important}}
.cc-driver-assignment button.primary,
.cc-driver-assignment button.primary:is(:hover,:focus,:focus-visible,:active),
#cc-duty-button:not(.is-online),
#cc-duty-button:not(.is-online):is(:hover,:focus,:focus-visible,:active),
.cc-driver-sheet-primary,
.cc-driver-sheet-primary:is(:hover,:focus,:focus-visible,:active){
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    background:linear-gradient(135deg,#0b74dc,#1398ff)!important;
    border-color:transparent!important;
}
.cc-driver-sheet-primary.danger,
.cc-driver-sheet-primary.danger:is(:hover,:focus,:focus-visible,:active){
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    background:linear-gradient(135deg,#be2f3a,#e14b55)!important;
    border-color:transparent!important;
}
.cc-driver-assignment button.quiet,
.cc-driver-assignment button.quiet:is(:hover,:focus,:focus-visible,:active),
.cc-driver-sheet-secondary,
.cc-driver-sheet-secondary:is(:hover,:focus,:focus-visible,:active){
    color:#21384c!important;
    -webkit-text-fill-color:#21384c!important;
    background:#f3f7fa!important;
    border-color:var(--cc-line)!important;
    box-shadow:none!important;
}
.cc-driver-assignment button.danger-text,
.cc-driver-assignment button.danger-text:is(:hover,:focus,:focus-visible,:active){
    color:#b72b35!important;
    -webkit-text-fill-color:#b72b35!important;
    background:#fff4f4!important;
    border-color:#f0d0d3!important;
}
.cc-driver-assignment button.cash,
.cc-driver-assignment button.cash:is(:hover,:focus,:focus-visible,:active){
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    background:linear-gradient(135deg,#047d5c,#09a778)!important;
}
.cc-driver-sheet-card header>button,
.cc-driver-sheet-card header>button:is(:hover,:focus,:focus-visible,:active),
.cc-driver-back,
.cc-driver-back:is(:hover,:focus,:focus-visible,:active),
.cc-driver-profile,
.cc-driver-profile:is(:hover,:focus,:focus-visible,:active),
.cc-driver-map-actions button,
.cc-driver-map-actions button:is(:hover,:focus,:focus-visible,:active){
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    color:var(--cc-ink)!important;
    -webkit-text-fill-color:var(--cc-ink)!important;
    background:#fff!important;
    line-height:1!important;
    transform:none!important;
}
.cc-driver-sheet-card header>button,
.cc-driver-sheet-card header>button:is(:hover,:focus,:focus-visible,:active){
    background:#eef3f7!important;
    color:#11283a!important;
    -webkit-text-fill-color:#11283a!important;
}
.cc-driver-icon-action,
.cc-driver-icon-action:is(:hover,:focus,:focus-visible,:active){
    color:#183247!important;
    -webkit-text-fill-color:#183247!important;
    background:#f5f8fa!important;
    border-color:var(--cc-line)!important;
    transform:none!important;
}
.cc-driver-option-list button,
.cc-driver-option-list button:is(:hover,:focus,:focus-visible,:active){
    color:#132b3e!important;
    -webkit-text-fill-color:#132b3e!important;
    background:#f8fafc!important;
    border-color:var(--cc-line)!important;
    transform:none!important;
}
#cc-driver-app button:focus-visible,
#cc-driver-action-sheet button:focus-visible,
.cc-driver-icon-action:focus-visible{
    outline:3px solid rgba(17,136,247,.28)!important;
    outline-offset:2px!important;
}
#cc-driver-app button svg,
#cc-driver-action-sheet button svg,
.cc-driver-icon-action svg{
    display:block!important;
    margin:auto!important;
    transform:none!important;
}

#cc-close-navigation{display:none;position:fixed;z-index:45;left:50%;bottom:max(18px,env(safe-area-inset-bottom));align-items:center;justify-content:center;gap:9px;min-width:150px;min-height:48px;padding:0 18px;border:0;border-radius:24px;background:#fff!important;color:#10293d!important;box-shadow:0 12px 38px rgba(2,18,31,.28);font-size:13px;font-weight:900;transform:translateX(-50%)!important}
#cc-close-navigation span{font-size:20px;line-height:1; transform:translateY(-4px);
}
#cc-driver-app.is-map-focus .cc-driver-console{opacity:0!important;transform:translateY(105%)!important;pointer-events:none!important}
#cc-driver-app.is-map-focus #cc-close-navigation{display:flex!important}
#cc-driver-app.is-map-focus .cc-driver-map-back{opacity:0;pointer-events:none}

/* Keep the idle duty control reachable by touch. The idle rides wrapper
   deliberately ignores map gestures, so this control must opt back in. */
#cc-driver-app .cc-driver-empty,
#cc-driver-app #cc-duty-button{
  pointer-events:auto!important;
  touch-action:manipulation!important;
}
#cc-driver-app #cc-duty-button:disabled{
  pointer-events:none!important;
}

.cc-driver-verification input,
.cc-driver-cash-input input{
    display:block!important;
    width:100%!important;
    height:50px!important;
    margin:12px 0 9px!important;
    padding:0 14px!important;
    border:1px solid #cbd8e2!important;
    border-radius:13px!important;
    outline:0!important;
    color:#10283b!important;
    -webkit-text-fill-color:#10283b!important;
    background:#fff!important;
    box-shadow:none!important;
    font:750 16px/1 Inter,"Helvetica Neue",Arial,sans-serif!important;
}
.cc-driver-verification input:focus,
.cc-driver-cash-input input:focus{
    border-color:#1687eb!important;
    box-shadow:0 0 0 3px rgba(22,135,235,.14)!important;
}
.cc-driver-cash-input{display:grid;gap:4px;color:#5d7081;font-size:12px;font-weight:850}
.cc-driver-assignment button:disabled,
.cc-driver-assignment button:disabled:is(:hover,:focus,:active){
    cursor:not-allowed!important;
    color:#8a98a4!important;
    -webkit-text-fill-color:#8a98a4!important;
    background:#edf1f4!important;
    border-color:#d9e0e5!important;
    box-shadow:none!important;
    opacity:1!important;
    transform:none!important;
}
.cc-driver-map-back,
.cc-driver-map-back:is(:hover,:focus,:focus-visible,:active),
.cc-driver-map-account,
.cc-driver-map-account:is(:hover,:focus,:focus-visible,:active){
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    color:var(--cc-ink)!important;
    -webkit-text-fill-color:var(--cc-ink)!important;
    background:#fff!important;
    text-decoration:none!important;
    line-height:1!important;
    transform:none!important;
}
#cc-driver-app.is-offline-active:before{
    content:"Connection interrupted Â· showing saved ride state";
    position:fixed;
    z-index:30;
    top:max(72px,calc(env(safe-area-inset-top) + 58px));
    left:50%;
    width:max-content;
    max-width:calc(100vw - 32px);
    padding:8px 12px;
    border:1px solid rgba(239,184,71,.45);
    border-radius:99px;
    color:#6d4600;
    background:#fff3cf;
    box-shadow:0 8px 24px rgba(7,25,43,.13);
    font-size:10px;
    font-weight:900;
    transform:translateX(-50%);
}

.cc-driver-roster{
    display:grid;
    gap:9px;
    margin:0 14px 9px;
    padding:11px;
    border:1px solid rgba(190,207,220,.9);
    border-radius:18px;
    background:rgba(255,255,255,.96);
    box-shadow:0 10px 28px rgba(7,25,43,.12);
    backdrop-filter:blur(16px);
}
.cc-driver-roster>small{color:#647789;font-size:9px;font-weight:950;letter-spacing:.11em}
.cc-driver-roster>div{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.cc-driver-roster>div::-webkit-scrollbar{display:none}
.cc-driver-roster button,
.cc-driver-roster button:is(:hover,:focus,:focus-visible,:active){
    display:flex!important;
    flex:0 0 auto;
    align-items:center!important;
    gap:8px!important;
    min-width:132px!important;
    min-height:48px!important;
    padding:7px 10px!important;
    border:1px solid #dce5ec!important;
    border-radius:13px!important;
    color:#193145!important;
    -webkit-text-fill-color:#193145!important;
    background:#f4f7f9!important;
    box-shadow:none!important;
    text-align:left!important;
    transform:none!important;
}
.cc-driver-roster button.is-current,
.cc-driver-roster button.is-current:is(:hover,:focus,:focus-visible,:active){
    border-color:#1588ee!important;
    background:#eaf5ff!important;
}
.cc-driver-roster button>i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#fff;background:#1689ef;font-style:normal;font-size:12px;font-weight:950}
.cc-driver-roster button>span{display:grid;gap:2px}
.cc-driver-roster button b{font-size:11px;line-height:1.1}
.cc-driver-roster button em{color:#6a7c8c;font-size:9px;font-style:normal;font-weight:800}
@media(max-width:420px){.cc-driver-roster{margin:0 12px 8px}}

/* Final QA control geometry. */
#cc-driver-app .cc-driver-map-actions{display:grid!important;gap:12px!important}
#cc-driver-app #cc-zoom-driver,#cc-driver-app #cc-locate-driver,#cc-driver-app #cc-map-theme,
#cc-driver-app #cc-zoom-driver:is(:hover,:focus,:focus-visible,:active),#cc-driver-app #cc-locate-driver:is(:hover,:focus,:focus-visible,:active),#cc-driver-app #cc-map-theme:is(:hover,:focus,:focus-visible,:active){display:grid!important;place-items:center!important;width:50px!important;height:50px!important;padding:0!important;border:0!important;border-radius:50%!important;color:#0b1c2c!important;background:#fff!important;box-shadow:0 8px 28px rgba(7,25,43,.16)!important;transform:none!important}
#cc-driver-app #cc-zoom-driver svg,#cc-driver-app #cc-locate-driver svg,#cc-driver-app #cc-map-theme svg{display:block!important;width:24px!important;height:24px!important;margin:auto!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;transform:none!important}
#cc-driver-app .cc-driver-contact-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
#cc-driver-app .cc-driver-icon-action,#cc-driver-app .cc-driver-icon-action:is(:hover,:focus,:focus-visible,:active){display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:0!important;min-height:50px!important;padding:0 8px!important;border:1px solid var(--cc-line)!important;border-radius:16px!important;color:#183247!important;background:#f5f8fa!important;box-shadow:none!important;line-height:1!important;transform:none!important}
#cc-driver-app .cc-driver-icon-action i{display:grid!important;place-items:center!important;flex:0 0 26px!important;width:26px!important;height:26px!important;margin:0!important;border-radius:50%!important;line-height:0!important}
#cc-driver-app .cc-driver-icon-action i svg{display:block!important;width:14px!important;height:14px!important;margin:auto!important;transform:none!important}
#cc-driver-app .cc-driver-icon-action b{display:block!important;margin:0!important;line-height:1.1!important}
@media(max-width:420px){#cc-driver-app .cc-driver-contact-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}#cc-driver-app .cc-driver-icon-action{min-width:0!important}}


/* Driver state cards: full-width controls and readable labels ¡ª 2026-09-29 */
#cc-driver-app .cc-driver-assignment.is-assigned .cc-driver-mission-title>div{display:none!important}
#cc-driver-app .cc-driver-assignment.is-assigned .cc-driver-mission-title{justify-content:flex-end!important;margin-bottom:14px!important}
#cc-driver-app .cc-assignment-actions,
#cc-driver-app .cc-driver-driving-actions,
#cc-driver-app .cc-driver-payment,
#cc-driver-app .cc-driver-verification,
#cc-driver-app .cc-driver-confirm-strip,
#cc-driver-app .cc-driver-onboard,
#cc-driver-app .cc-driver-pickup-detail{width:100%!important;max-width:none!important}
#cc-driver-app .cc-assignment-actions,
#cc-driver-app .cc-driver-driving-actions{display:grid!important;gap:10px!important}
#cc-driver-app .cc-assignment-actions>button,
#cc-driver-app .cc-driver-driving-actions>button,
#cc-driver-app .cc-driver-verification>button,
#cc-driver-app .cc-driver-confirm-strip+button{display:flex!important;width:100%!important;max-width:none!important;align-items:center!important;justify-content:center!important}
#cc-driver-app #cc-duty-button{width:min(calc(100% - 28px),532px)!important;max-width:532px!important}
#cc-driver-app .cc-driver-state-row span,
#cc-driver-app .cc-driver-state-row b,
#cc-driver-app .cc-driver-arrived-banner span{font-size:12px!important}
#cc-driver-app .cc-assignment-route-content span{
    font-size:13.5px!important;
}

#cc-driver-app .cc-driver-next-stop small,
#cc-driver-app .cc-driver-pickup-detail span,
#cc-driver-app .cc-driver-verification small,
#cc-driver-app .cc-driver-payment small,
#cc-driver-app .cc-driver-passenger small{font-size:13px!important}
#cc-driver-app .cc-assignment-route-content strong,
#cc-driver-app .cc-driver-pickup-detail strong{font-size:16px!important}
#cc-driver-app .cc-assignment-route-content small,
#cc-driver-app .cc-driver-next-stop span,
#cc-driver-app .cc-driver-passenger em,
#cc-driver-app .cc-driver-payment span,
#cc-driver-app .cc-driver-confirm-strip small,
#cc-driver-app .cc-driver-onboard small{font-size:13px!important;line-height:1.4!important}
#cc-driver-app .cc-assignment-meta span,
#cc-driver-app .cc-driver-icon-action b,
#cc-driver-app .cc-driver-verification strong,
#cc-driver-app .cc-driver-confirm-strip b,
#cc-driver-app .cc-driver-onboard b{font-size:14px!important}


/* Full inner-width driver state sections ¡ª 2026-09-29 */
#cc-driver-app :is(.cc-driver-rides,#cc-driver-active,.cc-driver-assignment,.cc-driver-empty){box-sizing:border-box!important;width:100%!important;max-width:none!important}
#cc-driver-app .cc-driver-assignment>:is(.cc-driver-state-row,.cc-driver-mission-title,.cc-assignment-route,.cc-driver-pickup-detail,.cc-assignment-meta,.cc-assignment-actions,.cc-driver-next-stop,.cc-driver-contact-row,.cc-driver-arrived-banner,.cc-driver-passenger,.cc-driver-verification,.cc-driver-confirm-strip,.cc-driver-onboard,.cc-driver-driving-actions,.cc-driver-payment){box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
#cc-driver-app :is(.cc-assignment-actions,.cc-driver-driving-actions,.cc-driver-verification)>button,
#cc-driver-app .cc-driver-assignment>button.primary,
#cc-driver-app .cc-driver-assignment>button.quiet,
#cc-driver-app .cc-driver-empty>button,
#cc-driver-action-sheet .cc-driver-sheet-primary,
#cc-driver-action-sheet .cc-driver-sheet-secondary{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
#cc-driver-app .cc-driver-contact-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#cc-driver-app .cc-driver-contact-row>*{width:100%!important;min-width:0!important}
#cc-driver-action-sheet .cc-driver-sheet-content>*{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}


/* Arrived-state contact pills pinned to far left and far right */
#cc-driver-app .cc-driver-assignment.is-arrived .cc-driver-contact-row{
    display:flex!important;
    align-items:stretch!important;
    justify-content:space-between!important;
    gap:14px!important;
}

#cc-driver-app .cc-driver-assignment.is-arrived .cc-driver-contact-row>.cc-driver-icon-action,
#cc-driver-app .cc-driver-assignment.is-arrived .cc-driver-contact-row>.cc-driver-icon-action:is(:hover,:focus,:focus-visible,:active){
    flex:0 0 calc(50% - 7px)!important;
    width:calc(50% - 7px)!important;
    max-width:calc(50% - 7px)!important;
    min-width:0!important;
}

#cc-driver-app .cc-driver-assignment.is-arrived .cc-driver-contact-row>*{
    min-width:0!important;
}

/* rider-signal-cache-bust-174 */


/* Driver panel vertical scrolling */
.cc-driver-assignment,.cc-driver-empty{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
#cc-driver-active,.cc-driver-rides{min-height:0!important}


/* Rider on-my-way alert */
.cc-driver-rider-signal{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:14px 16px;border:1px solid #a9dcff;border-radius:18px;background:linear-gradient(135deg,#e9f8ff 0%,#f4fbff 100%);box-shadow:0 8px 24px rgba(0,118,212,.09)}
.cc-driver-rider-signal>i{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#0788ef,#075cc9);font-size:22px;font-style:normal;font-weight:900;box-shadow:0 7px 16px rgba(4,111,211,.24)}
.cc-driver-rider-signal>span{display:flex;min-width:0;flex-direction:column;line-height:1.15}
.cc-driver-rider-signal small{color:#3174a8;font-size:10px;font-weight:900;letter-spacing:1.1px}
.cc-driver-rider-signal b{margin-top:3px;color:#071d36;font-size:18px;font-weight:900}
.cc-driver-rider-signal em{margin-top:4px;color:#526b82;font-size:12px;font-style:normal;font-weight:650}


/* Driver issue sheet containment - 2026-10-05 */
#cc-driver-action-sheet{box-sizing:border-box!important;width:100vw!important;max-width:100vw!important;overflow-x:hidden!important}
#cc-driver-action-sheet .cc-driver-sheet-card{
    box-sizing:border-box!important;
    width:min(560px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    margin-right:auto!important;
    margin-left:auto!important;
    overflow-x:hidden!important;
}
#cc-driver-action-sheet .cc-driver-sheet-content,
#cc-driver-action-sheet .cc-driver-option-list,
#cc-driver-action-sheet .cc-driver-option-list>button{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}
#cc-driver-action-sheet .cc-driver-option-list>button{grid-template-columns:42px minmax(0,1fr) 14px!important}
#cc-driver-action-sheet .cc-driver-option-list>button>*{min-width:0!important}
#cc-driver-action-sheet .cc-driver-option-list>button small{white-space:normal!important;overflow-wrap:anywhere!important}


/* Full-width Driver Trip Issue sheet - 2026-10-05 */
#cc-driver-action-sheet{padding-right:0!important;padding-left:0!important}
#cc-driver-action-sheet .cc-driver-sheet-card{width:100vw!important;max-width:100vw!important;margin-right:0!important;margin-left:0!important}


/* Edge-to-edge Driver Trip Issue option pills - 2026-10-05 */
#cc-driver-action-sheet .cc-driver-option-list{width:calc(100% + 36px)!important;max-width:none!important;margin-right:-18px!important;margin-left:-18px!important}
#cc-driver-action-sheet .cc-driver-option-list>button{width:100%!important;max-width:none!important}
