:root{
  --brand:#ff4747; --brand-dark:#e33b3b; --ink:#17191d; --muted:#7d838d;
  --bg:#f6f7f9; --surface:#fff; --line:#e9ebef; --soft:#f0f2f5;
  --success:#18a56b; --warning:#d99b18; --danger:#e04b5d;
  --shadow:0 12px 35px rgba(24,29,37,.06); --radius:22px;
}
*{box-sizing:border-box} body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{text-decoration:none;color:inherit}.app-shell{display:flex;min-height:100vh}
.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:#fff;border-right:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;z-index:1000}
.brand{display:flex;align-items:center;gap:11px;padding:2px 8px 26px}.brand-mark{width:52px;height:52px;border-radius:15px;overflow:hidden;box-shadow:0 7px 18px rgba(255,71,71,.2);flex:none;background:var(--brand)}.brand-mark img{width:100%;height:100%;object-fit:cover}.brand-copy strong{display:block;font-size:15px;letter-spacing:.08em}.brand-copy span{display:block;color:#9a9fa7;font-size:9px;font-weight:800;letter-spacing:.15em;margin-top:3px}
.nav{gap:5px}.nav-link{display:flex;align-items:center;gap:13px;padding:12px 13px;border-radius:13px;color:#68707b;font-weight:600;font-size:14px;transition:.18s}.nav-link i{font-size:17px;width:20px;text-align:center}.nav-link:hover{background:#f8f9fa;color:var(--ink)}.nav-link.active{background:#fff0f0;color:var(--brand)}.sidebar-bottom{margin-top:auto}.user-mini{display:flex;align-items:center;gap:10px;padding:13px 10px;margin-bottom:8px;background:#fafafa;border:1px solid var(--line);border-radius:16px}.user-mini strong,.user-mini small{display:block}.user-mini strong{font-size:12px}.user-mini small{color:var(--muted);font-size:10px;margin-top:2px}.logout{color:#8b8f96}
.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#ffe3e3;color:var(--brand);font-weight:800;font-size:13px;flex:none}
.main{margin-left:250px;min-width:0;width:calc(100% - 250px)}.topbar{height:82px;background:rgba(246,247,249,.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:900}.top-title h1{font-size:20px;margin:2px 0 0;font-weight:750}.eyebrow{font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:800;color:#a0a5ad}.top-actions{display:flex;align-items:center;gap:9px}.icon-btn{width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:12px;display:grid;place-items:center;color:#69717c;transition:.18s}.icon-btn:hover{color:var(--brand);border-color:#ffd0d0}.profile-chip{display:flex;align-items:center;gap:9px;margin-left:5px;padding-left:10px}.profile-text strong,.profile-text small{display:block}.profile-text strong{font-size:12px}.profile-text small{color:var(--muted);font-size:10px}.position-relative .notif-dot{position:absolute;top:7px;right:7px;width:6px;height:6px;border-radius:50%;background:var(--brand)}
.content{padding:30px 34px 45px;max-width:1700px;margin:auto}.hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.hero-row.compact{align-items:center}.hero-row h2{font-size:27px;line-height:1.12;margin:5px 0 7px;letter-spacing:-.03em}.hero-row p{margin:0;color:var(--muted);font-size:13px;max-width:720px}.date-pill,.period-chip{background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 13px;font-size:11px;color:#6e747d;white-space:nowrap}.date-pill i{margin-right:6px;color:var(--brand)}
.btn-brand{background:var(--brand);color:#fff;border:0;border-radius:13px;padding:11px 16px;font-weight:700;box-shadow:0 8px 18px rgba(255,71,71,.18)}.btn-brand:hover{background:var(--brand-dark);color:#fff}.text-btn{font-size:11px;font-weight:700;color:var(--brand)}.text-btn i{margin-left:4px}.soft-btn{border:1px solid var(--line);background:#fff;color:#6e747d;border-radius:11px;padding:9px 12px;font-size:12px;font-weight:650}
.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.kpi-grid.three{grid-template-columns:repeat(3,1fr)}.kpi-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;display:flex;align-items:center;gap:13px;position:relative;box-shadow:var(--shadow);min-width:0}.kpi-icon{width:43px;height:43px;border-radius:14px;background:#fff0f0;color:var(--brand);display:grid;place-items:center;font-size:18px;flex:none}.kpi-card span,.kpi-card small{display:block;color:var(--muted);font-size:10px}.kpi-card strong{display:block;font-size:24px;letter-spacing:-.03em;margin:1px 0}.trend{position:absolute;right:17px;top:17px;color:#b2b6bd;font-size:14px}
.dashboard-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:18px;margin-bottom:18px}.bottom-grid{grid-template-columns:1.25fr .85fr}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:19px;box-shadow:var(--shadow);min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.panel-head h3{font-size:15px;margin:3px 0 0}.map-placeholder,.big-map{height:340px;border-radius:18px;position:relative;overflow:hidden;background:#f4f5f7;border:1px solid #eceef1}.map-grid{position:absolute;inset:0;background-image:linear-gradient(#e6e8ec 1px,transparent 1px),linear-gradient(90deg,#e6e8ec 1px,transparent 1px);background-size:54px 54px;opacity:.65}.road{position:absolute;height:12px;background:#fff;border:1px solid #e2e5e9;border-radius:999px;transform:rotate(-13deg)}.road-a{width:72%;left:9%;top:43%}.road-b{width:60%;left:27%;top:62%;transform:rotate(7deg)}.road-c{width:55%;left:18%;top:28%;transform:rotate(26deg)}.map-point{position:absolute;width:17px;height:17px;border:4px solid #fff;border-radius:50%;background:var(--brand);box-shadow:0 4px 12px rgba(0,0,0,.15)}.map-point span{position:absolute;left:16px;top:-7px;white-space:nowrap;background:#fff;border:1px solid var(--line);padding:5px 8px;border-radius:8px;font-size:9px;font-weight:800}.p1{left:62%;top:44%}.p2{left:35%;top:59%;background:#20a875}.p3{left:73%;top:25%;background:#2d6cdf}.map-legend{position:absolute;left:14px;bottom:12px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:7px 9px;display:flex;gap:11px;font-size:9px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}.live{background:var(--brand)}.idle{background:#20a875}
.vehicle-list{display:flex;flex-direction:column}.vehicle-row,.fleet-item{display:flex;align-items:center;gap:10px;padding:12px 4px;border-bottom:1px solid #f0f1f3}.vehicle-row:last-child,.fleet-item:last-child{border-bottom:0}.vehicle-row>div:nth-child(2),.fleet-item>div:nth-child(2){min-width:0;flex:1}.vehicle-row strong,.vehicle-row small,.fleet-item strong,.fleet-item small{display:block}.vehicle-row strong,.fleet-item strong{font-size:12px}.vehicle-row small,.fleet-item small{font-size:10px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.car-avatar{width:40px;height:32px;border-radius:10px;background:#f2f3f5;display:grid;place-items:center;color:#8b9199;flex:none}.status{font-size:9px;font-weight:800;padding:5px 8px;border-radius:999px;white-space:nowrap}.status-live{background:#e8f8f1;color:#148c5c}.status-ready{background:#edf2ff;color:#496bc4}.status-alert{background:#fff0e9;color:#c76a2e}.chart-wrap{height:230px}.alert-list{display:flex;flex-direction:column;gap:7px}.alert-item{display:flex;align-items:flex-start;gap:10px;padding:11px;border:1px solid #f0f1f3;border-radius:14px}.alert-item>div:nth-child(2){flex:1}.alert-item strong{font-size:11px}.alert-item p{margin:2px 0 0;color:var(--muted);font-size:10px}.alert-item>span{font-size:9px;color:#a2a7ae}.alert-icon{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;flex:none}.alert-icon.warning{background:#fff5df;color:#c18a14}.alert-icon.danger{background:#ffebee;color:#d24b5e}.alert-icon.success{background:#e8f8f1;color:#148c5c}.alert-icon.info{background:#edf2ff;color:#496bc4}
.tracking-layout{display:grid;grid-template-columns:350px 1fr;gap:18px}.search-box{display:flex;align-items:center;gap:8px;background:#f7f8fa;border:1px solid #eceef1;border-radius:12px;padding:0 11px}.search-box i{color:#a1a6ae}.search-box input{border:0;outline:0;background:transparent;width:100%;height:38px;font-size:11px}.fleet-items{margin-top:8px}.fleet-item{padding:12px 8px;border-radius:13px;border:1px solid transparent;margin-bottom:4px}.fleet-item.selected{background:#fff5f5;border-color:#ffd7d7}.fleet-item .status{margin-left:auto}.big-map{height:430px}.route-line{position:absolute;width:62%;height:3px;background:var(--brand);left:16%;top:54%;transform:rotate(-9deg);border-radius:5px;box-shadow:0 0 0 5px rgba(255,71,71,.07)}.main-point{left:70%;top:42%}.origin-point{left:16%;top:61%;background:#20242b}.main-point span{left:18px}.map-controls{position:absolute;right:12px;top:12px;display:flex;flex-direction:column;gap:5px}.map-controls button{width:32px;height:32px;border:1px solid var(--line);background:#fff;border-radius:9px;color:#6d747d}.telemetry{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:10px}.telemetry>div{background:#f8f9fa;border-radius:13px;padding:10px}.telemetry span{display:block;font-size:9px;color:var(--muted)}.telemetry strong{display:block;font-size:15px;margin-top:3px}.telemetry small{font-size:9px;color:var(--muted)}
.table-toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.table-toolbar .search-box{width:min(430px,100%)}.toolbar-actions{display:flex;gap:7px}.fleet-table{margin:0}.fleet-table th{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:#9da2aa;font-weight:800;border-bottom:1px solid var(--line);padding:12px 10px}.fleet-table td{font-size:11px;border-color:#f0f1f3;padding:12px 10px}.table-vehicle{display:flex;align-items:center;gap:9px}.table-vehicle strong,.table-vehicle small{display:block}.table-vehicle strong{font-size:11px}.table-vehicle small{font-size:9px;color:var(--muted);margin-top:2px}.fuel{width:72px;height:5px;border-radius:999px;background:#eceef1;display:inline-block;vertical-align:middle;margin-right:5px;overflow:hidden}.fuel span{display:block;height:100%;background:#1ca66d;border-radius:999px}
.driver-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.driver-card h3{font-size:16px;margin:14px 0 2px}.muted{font-size:11px;color:var(--muted)}.driver-top,.driver-bottom,.metric-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.driver-avatar{width:48px;height:48px;border-radius:15px;background:#fff0f0;color:var(--brand);display:grid;place-items:center;font-size:16px;font-weight:850}.metric-line{margin-top:18px;font-size:10px;color:var(--muted)}.metric-line strong{color:var(--ink);font-size:11px}.soft-progress{height:6px;background:#f0f1f3;margin:9px 0 10px}.soft-progress div{height:100%;background:var(--brand);border-radius:999px}.driver-bottom{font-size:10px;color:var(--muted)}.driver-bottom strong{color:var(--brand)}
.notification-panel{padding:8px 18px}.notification-row{display:flex;align-items:center;gap:12px;padding:15px 3px;border-bottom:1px solid #f0f1f3}.notification-row:last-child{border-bottom:0}.notification-copy{flex:1}.notification-copy strong{font-size:12px}.notification-copy p{font-size:10px;color:var(--muted);margin:3px 0 0}.notification-row time{font-size:9px;color:#a0a5ad}.notification-row .icon-btn{width:32px;height:32px}
.soft-modal{border:1px solid var(--line);border-radius:20px;box-shadow:0 25px 60px rgba(0,0,0,.12)}.soft-modal .modal-header,.soft-modal .modal-footer{border-color:var(--line)}.form-control{border:1px solid #e5e8ec;border-radius:12px;min-height:42px;font-size:12px;box-shadow:none}.form-control:focus{border-color:#ffb2b2;box-shadow:0 0 0 4px rgba(255,71,71,.08)}.form-label{font-size:11px;font-weight:750;color:#4d535c}.form-label span{color:var(--brand)}
.login-page{min-height:100vh;background:radial-gradient(circle at 15% 10%,#fff 0,#f7f8fa 42%,#f1f2f4 100%);display:grid;place-items:center;overflow:hidden;position:relative;padding:24px}.login-orb{position:absolute;border-radius:50%;filter:blur(1px);opacity:.65}.orb-one{width:340px;height:340px;background:#ffe4e4;top:-120px;left:-100px}.orb-two{width:280px;height:280px;background:#ffecec;bottom:-100px;right:-80px}.login-wrap{width:min(460px,100%);position:relative;z-index:2}.login-brand{width:92px;height:92px;border-radius:27px;overflow:hidden;background:var(--brand);margin:0 auto 22px;box-shadow:0 16px 35px rgba(255,71,71,.2)}.login-brand img{width:100%;height:100%;object-fit:cover}.login-heading{text-align:center;margin-bottom:18px}.login-heading h1{font-size:34px;letter-spacing:-.04em;margin:5px 0}.login-heading p{font-size:13px;color:var(--muted);margin:0}.login-card{background:rgba(255,255,255,.93);border:1px solid rgba(223,226,231,.9);box-shadow:0 25px 70px rgba(32,37,44,.09);border-radius:24px;padding:24px}.input-wrap{position:relative;margin-top:7px}.input-wrap>i{position:absolute;left:13px;top:12px;color:#8c929b;z-index:2}.input-wrap .form-control{padding-left:39px}.eye-btn{position:absolute;right:7px;top:4px;width:34px;height:34px;border:0;background:transparent;color:#8c929b}.small-link{font-size:10px;color:#737983}.remember{display:flex;align-items:center;gap:8px;font-size:11px;color:#686f79;margin:14px 0 18px}.remember input{width:16px;height:16px;accent-color:var(--brand)}.login-footer{text-align:center;border-top:1px solid #f0f1f3;padding-top:15px;margin-top:18px;color:#9a9fa7;font-size:9px}.soft-alert{font-size:11px;border-radius:12px}
@media (max-width:1200px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.driver-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.bottom-grid{grid-template-columns:1fr}.tracking-layout{grid-template-columns:1fr}.fleet-panel{order:2}.tracking-map-panel{order:1}}
@media (max-width:900px){.sidebar{transform:translateX(-102%);transition:.25s;box-shadow:0 20px 50px rgba(0,0,0,.1)}.sidebar.open{transform:translateX(0)}.main{margin-left:0;width:100%}.topbar{padding:0 18px}.content{padding:22px 18px 35px}.profile-text{display:none}.hero-row{align-items:flex-start;flex-direction:column}.hero-row.compact{align-items:flex-start}.table-toolbar{flex-direction:column}.toolbar-actions{width:100%}.toolbar-actions button{flex:1}}
@media (max-width:600px){.kpi-grid,.kpi-grid.three{grid-template-columns:1fr}.driver-grid{grid-template-columns:1fr}.hero-row h2{font-size:23px}.topbar{height:72px}.top-title .eyebrow{font-size:8px}.top-title h1{font-size:17px}.content{padding:18px 12px 28px}.panel{padding:14px;border-radius:18px}.map-placeholder,.big-map{height:290px}.telemetry{grid-template-columns:repeat(2,1fr)}.top-actions .icon-btn:first-child{display:none}.profile-chip{padding-left:2px}.login-card{padding:18px}.login-heading h1{font-size:30px}.login-brand{width:78px;height:78px}.date-pill{align-self:flex-start}.btn-brand{width:auto}}
@media (min-width:1800px){.content{padding-left:48px;padding-right:48px}.kpi-card strong{font-size:28px}.panel{padding:23px}.topbar{padding-left:48px;padding-right:48px}}
@media (min-width:2200px){body{font-size:17px}.sidebar{width:300px}.main{margin-left:300px;width:calc(100% - 300px)}.content{max-width:2200px}.topbar{height:96px}.hero-row h2{font-size:36px}.panel-head h3{font-size:19px}.kpi-card{padding:23px}}
/* V6 compatibility + official DTA logo treatment */
html{scroll-behavior:smooth} body{min-height:100vh}.card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#fff}.btn-dta{background:var(--brand);border-color:var(--brand);color:#fff;border-radius:12px;font-weight:700}.btn-dta:hover,.btn-dta:focus{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}.btn-outline-dark,.btn-outline-secondary,.btn-outline-danger{border-radius:10px}.table{--bs-table-bg:transparent}.table>thead>tr>th{color:#9298a1;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.table>tbody>tr>td{font-size:11px;vertical-align:middle}.form-control,.form-select,.form-control:focus,.form-select:focus{box-shadow:none}.form-select{border-radius:12px;min-height:42px;font-size:12px}.alert{border-radius:14px}.soft-flash{background:#eaf8f2;border:1px solid #d0f0e1;color:#167b55;font-size:12px}.sidebar{overflow-y:auto}.brand{padding-bottom:20px}.brand-logo{width:180px;height:62px;border-radius:13px;background:#ff4747;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 8px 20px rgba(255,71,71,.18)}.brand-logo img{display:block;width:100%;height:100%;object-fit:contain;padding:5px}.brand-text{display:none}.side-nav{display:flex;flex-direction:column;gap:3px}.side-link{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;color:#69717b;font-size:12px;font-weight:700}.side-link i{font-size:16px;width:20px;text-align:center}.side-link:hover{background:#f8f9fa;color:var(--ink)}.side-link.active{background:#fff0f0;color:var(--brand)}.side-sep{height:1px;background:var(--line);margin:9px 5px}.sidebar-bottom{margin-top:auto;padding-top:14px}.mini-profile{display:flex;align-items:center;gap:9px;padding:10px;background:#fafafa;border:1px solid var(--line);border-radius:14px;margin-bottom:7px}.mini-profile strong,.mini-profile small{display:block}.mini-profile strong{font-size:11px}.mini-profile small{font-size:9px;color:var(--muted);margin-top:2px}.logout-link{color:#818790}.mobile-close{position:absolute;right:10px;top:10px}.top-left{display:flex;align-items:center;gap:12px}.top-brand{width:95px;height:40px;border-radius:9px;overflow:hidden;background:var(--brand);flex:none}.top-brand img{width:100%;height:100%;object-fit:contain;padding:3px}.content{padding-top:27px}.login-page{background:radial-gradient(circle at 15% 8%,#fff 0,#f8f9fb 43%,#eef0f3 100%);min-height:100vh}.login-logo-card{width:min(330px,86vw);height:116px;margin:0 auto 22px;background:#ff4747;border-radius:22px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 18px 45px rgba(255,71,71,.18);border:8px solid #fff}.login-logo-card img{width:100%;height:100%;object-fit:contain;display:block}.login-heading h1{font-weight:800}.btn-login{min-height:50px;font-size:14px}.login-card{backdrop-filter:blur(12px)}
@media(max-width:991.98px){.sidebar{transform:translateX(-105%);transition:transform .25s ease;box-shadow:20px 0 55px rgba(0,0,0,.12)}.sidebar.open{transform:translateX(0)}.sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(22,25,29,.28);opacity:0;pointer-events:none;transition:.25s;z-index:999}.sidebar.open~.sidebar-backdrop{opacity:1;pointer-events:auto}.main{margin-left:0;width:100%}.topbar{padding:0 18px}.content{padding:20px 18px 35px}.desktop-side{display:block}.table-responsive{border-radius:14px}.brand-logo{width:180px}}
@media(max-width:575.98px){.topbar{height:72px}.top-actions>.icon-btn:first-child{display:none}.profile-text{display:none}.top-brand{width:78px;height:34px}.content{padding:16px 12px 28px}.card{border-radius:18px}.login-wrap{width:100%}.login-logo-card{height:94px;width:min(300px,92vw);border-width:6px}.login-card{padding:18px}.login-heading h1{font-size:29px}.login-heading p{font-size:12px}.table>thead>tr>th,.table>tbody>tr>td{white-space:nowrap}}
@media(min-width:1800px){.brand-logo{width:205px;height:70px}.top-brand{width:115px;height:45px}.content{max-width:1800px}.card{border-radius:24px}.stat{font-size:1.8rem}}
@media(min-width:2200px){.sidebar{width:300px}.main{margin-left:300px;width:calc(100% - 300px)}.brand-logo{width:235px;height:78px}.side-link{font-size:14px;padding:13px}.topbar{height:96px}.content{max-width:2200px}}
.hero-actions{display:flex;align-items:center;gap:9px}.kpi-link{cursor:pointer;transition:transform .18s,box-shadow .18s}.kpi-link:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(24,29,37,.09)}.fleet-health{display:flex;align-items:center;justify-content:center;gap:32px;min-height:220px}.health-circle{width:150px;height:150px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,#fff 58%,#ffe8e8 59%,#fff0f0 100%);border:1px solid #ffd7d7}.health-circle strong{font-size:31px;letter-spacing:-.04em}.health-circle span{font-size:10px;color:var(--muted)}.health-rows{width:160px}.health-rows>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #f0f1f3;font-size:10px}.health-rows strong{font-size:12px}.danger-dot{background:#e04b5d}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-grid a{display:grid;grid-template-columns:30px 1fr 18px;align-items:center;gap:8px;border:1px solid #eef0f2;background:#fafbfc;padding:11px;border-radius:13px;font-size:10px;color:#59616b}.quick-grid a>i:first-child{width:30px;height:30px;border-radius:9px;background:#fff0f0;color:var(--brand);display:grid;place-items:center}.quick-grid a>i:last-child{color:#a0a5ad}.quick-grid a:hover{border-color:#ffd1d1;background:#fff8f8;color:var(--ink)}
@media(max-width:700px){.hero-actions{width:100%;justify-content:space-between}.fleet-health{gap:18px}.health-circle{width:125px;height:125px}.health-rows{width:145px}.quick-grid{grid-template-columns:1fr}.dashboard-grid{gap:12px}}
/* DIOMANDE FLEET V8 — espace chauffeur distinct, même charte */
.driver-page{background:#f6f7f9;min-height:100vh;padding-bottom:84px}.driver-top{height:72px;background:#fff;border-bottom:1px solid #e9ebef;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(14px,4vw,50px);position:sticky;top:0;z-index:50}.driver-brand{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:900;letter-spacing:.07em}.driver-brand img{width:45px;height:45px;object-fit:contain;border-radius:12px;background:#fff}.driver-brand small{display:block;font-size:7px;color:#ff4747;letter-spacing:.12em;margin-top:2px}.driver-actions{display:flex;align-items:center;gap:10px}.driver-avatar{width:38px;height:38px;border-radius:50%;background:#fff0f0;color:#ff4747;display:grid;place-items:center;font-weight:800}.driver-logout{font-size:10px;color:#777f89}.driver-main{width:min(760px,100%);margin:auto;padding:25px 15px}.driver-hero{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.driver-hero>div:first-child>span,.driver-page-head>span{font-size:8px;letter-spacing:.14em;color:#a0a5ad;font-weight:900}.driver-hero h1,.driver-page-head h1{font-size:26px;letter-spacing:-.04em;margin:4px 0}.driver-hero p,.driver-page-head p{font-size:11px;color:#7d838d;margin:0}.driver-live{background:#e8f8f1;color:#148c5c;border-radius:999px;padding:7px 10px;font-size:9px;font-weight:900;white-space:nowrap}.driver-live b{display:inline-block;width:6px;height:6px;border-radius:50%;background:#18a56b;margin-right:5px}.driver-off{background:#f0f1f3;color:#777}.driver-balance{background:#ff4747;color:#fff;border-radius:22px;padding:22px;box-shadow:0 15px 35px rgba(255,71,71,.18);margin-bottom:13px}.driver-balance span,.driver-balance small{display:block;font-size:9px;opacity:.82}.driver-balance strong{display:block;font-size:30px;letter-spacing:-.04em;margin:5px 0}.driver-balance a{display:inline-block;background:#fff;color:#e33b3b;border-radius:11px;padding:9px 12px;margin-top:12px;font-size:9px;font-weight:900}.driver-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.driver-action-card{background:#fff;border:1px solid #e9ebef;border-radius:19px;padding:17px;text-decoration:none;color:#17191d;box-shadow:0 10px 28px rgba(24,29,37,.05)}.driver-action-card span{font-size:8px;color:#a0a5ad;font-weight:900;letter-spacing:.13em}.driver-action-card strong{display:block;font-size:14px;margin:7px 0}.driver-action-card p{font-size:10px;color:#7d838d;min-height:32px}.driver-action-card b{font-size:10px;color:#ff4747}.driver-section,.driver-form-card{background:#fff;border:1px solid #e9ebef;border-radius:19px;padding:17px;box-shadow:0 10px 28px rgba(24,29,37,.05);margin-top:13px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-title h2{font-size:14px;margin:0}.section-title a{font-size:9px;color:#ff4747;font-weight:900}.driver-payment{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f1f3}.driver-payment:last-child{border-bottom:0}.payment-icon{width:34px;height:34px;border-radius:11px;background:#fff0f0;color:#ff4747;display:grid;place-items:center}.driver-payment>div:nth-child(2){flex:1}.driver-payment strong,.driver-payment small{display:block}.driver-payment strong{font-size:10px}.driver-payment small{font-size:8px;color:#9298a0;margin-top:2px}.driver-payment>b{font-size:10px}.empty-driver{font-size:10px;color:#9aa0a8;padding:20px 0}.service-card{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;background:#f8f9fa;border-radius:13px;padding:12px}.service-card strong,.service-card small{display:block}.service-card strong{font-size:10px}.service-card small{font-size:8px;color:#8d939b;margin-top:3px}.service-card a{font-size:9px;color:#ff4747;font-weight:800;white-space:nowrap}.driver-page-head{margin-bottom:18px}.driver-form-card label{display:block;font-size:9px;font-weight:850;margin:13px 0 6px}.driver-money{display:flex;align-items:center;border:1px solid #e5e8ec;border-radius:13px;overflow:hidden}.driver-money input{border:0;outline:0;padding:12px;width:100%;font-size:21px;font-weight:800}.driver-money span{font-size:9px;color:#858b94;padding-right:11px;font-weight:800}.driver-form-card .form-control{min-height:42px;border-radius:12px;font-size:11px}.driver-primary{width:100%;border:0;border-radius:13px;background:#ff4747;color:#fff;padding:12px;margin-top:15px;font-size:10px;font-weight:900}.driver-notice{background:#e8f8f1;color:#148c5c;padding:10px 12px;border-radius:12px;font-size:9px}.driver-nav{display:none}
@media(max-width:600px){.driver-main{padding:20px 12px}.driver-cards{grid-template-columns:1fr}.driver-hero{align-items:flex-start}.driver-hero h1{font-size:22px}.driver-balance strong{font-size:26px}.driver-nav{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);left:0;right:0;bottom:0;height:64px;background:rgba(255,255,255,.97);border-top:1px solid #e9ebef;z-index:60}.driver-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8a9098;text-decoration:none}.driver-nav a.active{color:#ff4747}.driver-nav i{font-size:16px}.driver-nav small{font-size:8px;font-weight:800}.login-logo-card{width:130px!important;height:130px!important;background:#fff!important;padding:10px!important;border:1px solid #e9ebef!important}.login-logo-card img{object-fit:contain!important;background:#fff!important}.brand-mark{background:#fff!important;padding:5px!important}.brand-mark img{object-fit:contain!important;background:#fff!important}}
.login-logo-card{display:grid;place-items:center;overflow:hidden;background:#fff;border-radius:28px;padding:8px;width:128px;height:128px;margin:0 auto 20px;box-shadow:0 16px 38px rgba(255,71,71,.16);border:1px solid #eceef1}.login-logo-card img{width:100%;height:100%;object-fit:contain}

.global-search{gap:4px;align-items:center}.avatar-xl{width:96px!important;height:96px!important;font-size:34px}.avatar img,.avatar-xl img{width:100%;height:100%;object-fit:cover;border-radius:50%}.driver-hero{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:24px;border-radius:22px;background:linear-gradient(135deg,#fff,#f3f5f7);margin-bottom:18px}.driver-status{padding:8px 14px;border-radius:999px;font-size:12px;font-weight:800}.driver-status.on{background:#dff7e7;color:#17733a}.driver-status.off{background:#eee;color:#555}@media print{.sidebar,.topbar{display:none!important}.main{margin:0!important}.content{padding:0!important}}
.live-fleet-map{height:360px;border-radius:18px;overflow:hidden;border:1px solid #e7eaee;background:#eef1f4}.live-fleet-map-large{height:560px}.live-map-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.live-map-toolbar label{font-size:10px;font-weight:850;color:#6f7680}.live-map-toolbar select{width:min(360px,100%)}.live-updated{font-size:9px;color:#8b929b;margin-left:auto}.live-counter{font-size:10px;font-weight:900;color:#148c5c;background:#e8f8f1;padding:8px 11px;border-radius:999px;white-space:nowrap}.live-car-marker{background:transparent;border:0}.live-car-marker span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid #ff4747;box-shadow:0 5px 16px rgba(0,0,0,.18);font-size:20px}.leaflet-popup-content{font-size:11px;line-height:1.55}.leaflet-container{font-family:inherit}@media(max-width:600px){.live-fleet-map{height:300px}.live-fleet-map-large{height:420px}.live-updated{width:100%;margin-left:0}.live-counter{font-size:9px}}
/* DIOMANDE FLEET — suivi des manquants */
.missing-dashboard-card{overflow:hidden}.missing-summary{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,.7fr);gap:14px}.missing-total{border:1px solid #f0dfe1;background:linear-gradient(135deg,#fff,#fff7f7);border-radius:18px;padding:20px}.missing-total span,.missing-total small{display:block;color:#818892;font-size:10px}.missing-total strong{display:block;font-size:30px;letter-spacing:-.04em;margin:6px 0}.missing-total small{font-size:9px}.missing-count{display:flex;align-items:center;gap:12px;border:1px solid #edf0f3;background:#fafbfc;border-radius:18px;padding:20px}.missing-count>i{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#fff0f0;color:var(--brand);font-size:19px}.missing-count strong,.missing-count span{display:block}.missing-count strong{font-size:23px}.missing-count span{font-size:9px;color:#818892;margin-top:2px}
@media(max-width:700px){.missing-summary{grid-template-columns:1fr}.missing-total strong{font-size:26px}.missing-count{padding:16px}.live-map-toolbar select{width:100%}}
.tracking-map-note{font-size:.78rem;color:#737b85;margin-top:8px}.tracking-map-note strong{color:#343a40}
