/* JetTaxi — espace chauffeur (mobile first, thème sombre) */
body { background: #070c17; color: #e6ebf5; }
.d-shell { max-width: 560px; margin: 0 auto; min-height: 100vh; padding: 0 0 92px; }
.d-top { position: sticky; top: 0; z-index: 30; background: rgba(7, 12, 23, .9); backdrop-filter: blur(10px); padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #141d33; }
.d-top .who b { display: block; font-size: 15px; }
.d-top .who span { font-size: 12px; color: #8390ad; }
.d-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.d-card { background: #0f172a; border: 1px solid #1a2440; border-radius: 18px; padding: 16px; }
.d-card h3 { font-size: 15px; font-weight: 800; }
.d-muted { color: #8390ad; }
.status-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #0b1220; padding: 5px; border-radius: 16px; border: 1px solid #1a2440; }
.status-switch button { height: 46px; border: 0; border-radius: 12px; background: transparent; color: #8390ad; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; }
.status-switch button.on[data-s="disponible"] { background: #16a34a; color: #fff; }
.status-switch button.on[data-s="pause"] { background: #475569; color: #fff; }
.status-switch button.on[data-s="hors_ligne"] { background: #1e293b; color: #fff; }
.status-switch button:disabled { opacity: .45; }
.d-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.d-stat { background: #0f172a; border: 1px solid #1a2440; border-radius: 16px; padding: 12px; }
.d-stat span { font-size: 11.5px; color: #8390ad; font-weight: 600; }
.d-stat b { display: block; font-size: 20px; font-weight: 800; margin-top: 4px; }
.ride-live { background: linear-gradient(160deg, #1b2a4d, #0f172a 60%); border: 1px solid #2a3a63; border-radius: 22px; padding: 18px; }
.ride-live.new { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 194, 26, .15); animation: ring 1.6s infinite; }
@keyframes ring { 50% { box-shadow: 0 0 0 10px rgba(255, 194, 26, 0); } }
.ride-live .price { font-size: 30px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.ride-live .route-line { font-size: 14px; color: #dfe5f1; }
.ride-live .route-line .d.a { background: #fff; }
.d-map { height: 190px; border-radius: 14px; overflow: hidden; margin-top: 12px; }
.d-map .map { min-height: 190px; border-radius: 0; }
.btn-xl { height: 56px; font-size: 16px; border-radius: 16px; width: 100%; font-weight: 800; }
.d-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.d-actions .full { grid-column: 1 / -1; }
.btn-glass { background: rgba(255, 255, 255, .07); color: #e6ebf5; border: 1px solid rgba(255, 255, 255, .08); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); }
.d-tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: rgba(11, 18, 32, .96); backdrop-filter: blur(10px); border-top: 1px solid #141d33; padding-bottom: env(safe-area-inset-bottom); }
.d-tabs nav { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.d-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 0 12px; font-size: 11px; font-weight: 700; color: #6b7894; }
.d-tabs a.on { color: var(--brand); }
.d-list .row-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #1a2440; }
.d-list .row-item:last-child { border-bottom: 0; }
.d-shell .badge { background: #1e293b; color: #cbd5e1; }
.d-shell .badge.t-success { background: rgba(22, 163, 74, .18); color: #4ade80; }
.d-shell .badge.t-warning { background: rgba(245, 158, 11, .18); color: #fbbf24; }
.d-shell .badge.t-danger { background: rgba(239, 68, 68, .18); color: #f87171; }
.d-shell .badge.t-info { background: rgba(59, 130, 246, .2); color: #93c5fd; }
.d-shell .badge.t-violet { background: rgba(139, 92, 246, .2); color: #c4b5fd; }
.d-shell .badge.t-brand { background: rgba(255, 194, 26, .18); color: var(--brand); }
.d-shell .input, .d-shell .select, .d-shell .textarea { background: #0b1220; border-color: #26324f; color: #e6ebf5; }
.d-shell .label, .d-shell .field > label { color: #a8b3cc; }
.d-login { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 24px; max-width: 440px; margin: 0 auto; }
.d-login h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.d-login h1 em { color: var(--brand); font-style: normal; }
.clock-big { display: flex; align-items: center; gap: 14px; }
.clock-big .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #1a2440; }
.slip { background: #fff; color: #0f172a; border-radius: 14px; padding: 16px; font-size: 13px; }
.slip td { padding: 5px 0; border-bottom: 1px solid #eef1f6; }

/* indicateur de suivi GPS */
.gps-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.08); color: #cbd5e1; white-space: nowrap; }
.gps-pill i { width: 8px; height: 8px; border-radius: 50%; background: #64748b; }
.gps-pill.ok i { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.gps-pill.warn i { background: #fbbf24; animation: pulse 1.6s infinite; }
.gps-pill.bad { color: #fca5a5; }
.gps-pill.bad i { background: #f87171; }
