/* Univers chauffeur RLD — bleu marine, vert profond et une touche d'or.
   Cette feuille est chargée en dernier afin que tous les écrans chauffeur
   restent visuellement cohérents sans modifier les écrans administrateur. */
:root {
  --driver-navy: #071d31;
  --driver-navy-soft: #0b3949;
  --driver-green: #126b5b;
  --driver-green-bright: #249978;
  --driver-mint: #dff5ed;
  --driver-gold: #c79539;
}

.side,
body > aside,
aside.side {
  background: linear-gradient(160deg, var(--driver-navy), #0a3447 63%, #0f5b57) !important;
}

.side > p,
aside .driver { color: #a7d8ca !important; }
.side nav a,
aside nav a { color: #c7dfdb !important; }
.side nav a.active,
.side nav a:hover,
aside nav .active,
aside nav a:hover {
  background: rgba(48, 166, 130, .24) !important;
  border-left-color: #55c39f !important;
}
.side .logout,
aside .logout { color: #c7dfdb !important; }
.side .logout:hover,
aside .logout:hover { color: #fff !important; }

h1 i,
h2 i,
h3 i,
.eyebrow { color: var(--driver-green) !important; }
.take,
.confirm,
.panel button,
.message-form button,
.inbox-actions a,
.inbox-tabs button.active,
.mission-actions a:first-child,
.mission-progress span.current,
.confirm-slide,
.primary {
  background: linear-gradient(135deg, var(--driver-green), #0a4854) !important;
  border-color: var(--driver-green) !important;
}
.finish input,
.chart-slider-row input,
.wallet-service-action input[type=range] { accent-color: var(--driver-green) !important; }
.finish { color: #176b5b !important; border-color: #a8d5c7 !important; }
.today-mission { border-top-color: var(--driver-green) !important; }
.today-status { background: #e6f6ef !important; color: #17654f !important; }
.today-status i { background: #2aa77c !important; }
.mission-actions a:nth-child(2) { color: #176b5b !important; border-color: #a9d8c9 !important; }
.step-panel { background: #f2faf7 !important; border-color: #cbe9dc !important; }
.step-panel p { color: #356d66 !important; }
.step-panel b { color: #176b5b !important; }
.confirm-slide-thumb { color: var(--driver-green) !important; }
.confirm-slide.complete { background: #277d62 !important; }
.confirmed { background: #e5f5ed !important; color: #21694e !important; }

/* Revenus : l'ancienne catégorie violette devient vert professionnel. */
.wallet-card.reserved { border-top-color: var(--driver-green) !important; }
.wallet-card.paid { border-top-color: #277c78 !important; }
.wallet-card strong,
.wallet-mission strong,
.wallet-withdrawal strong,
.period-summary strong,
.period-nav strong { color: #165c59 !important; }
.period-tabs button.active { background: var(--driver-green) !important; }
.chart-bar i { background: linear-gradient(180deg, #5fc59f, #126b5b) !important; }
.chart-slider-row p { color: #2a7169 !important; }

/* Inscription chauffeur : même identité visuelle que l'espace connecté. */
.intro { background: radial-gradient(circle at 76% 25%, #1d856d, #0b4051 32%, #071926 76%) !important; }
.intro .eyebrow { color: #a7ead1 !important; }
.intro h1 i,
.confirmation i { color: #b6f0d8 !important; }
.tabs .active { color: #126b5b !important; border-bottom-color: #126b5b !important; }
input:focus,
select:focus { outline-color: #249978 !important; border-color: #249978 !important; }
.mission-terms a { color: #176b5b !important; }

/* La petite pastille rouge reste réservée aux alertes : le vert n'efface pas
   les états nécessitant une attention particulière. */
.badge,
.is-unread .unread-dot { background: #d95058 !important; }

@media (max-width: 1000px) {
  .side { background: linear-gradient(130deg, var(--driver-navy), #0e5354) !important; }
}
