/* ══════════════════════════════════════════════════════════════
   PATRILAB — Scrollbar unifiée
   Fine, or, sur fond transparent. Reprend le style du cas pratique
   (session) et remplace la scrollbar par défaut du navigateur,
   partout où il y a du scroll (pages, modales, listes, textareas).
   Firefox : scrollbar-width / scrollbar-color. WebKit : ::-webkit-scrollbar.
   ══════════════════════════════════════════════════════════════ */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.32) transparent;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.30);
  border-radius: 8px;
  border: 3px solid transparent;   /* marge autour du pouce -> effet fin/flottant */
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.55);
  background-clip: padding-box;
}
*::-webkit-scrollbar-corner { background: transparent; }

/* ══════════════════════════════════════════════════════════════
   Autofill iOS/WebKit unifie : sans ca, Safari pose un fond bleu/jaune
   opaque sur les champs remplis automatiquement (theme sombre casse).
   Deja corrige au cas par cas sur connexion/onboarding ; regle globale
   pour toutes les autres pages a inputs (parametres, contact, eval...).
   ══════════════════════════════════════════════════════════════ */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #e6edf3;
  -webkit-box-shadow: 0 0 0 1000px #0d1117 inset;
  box-shadow: 0 0 0 1000px #0d1117 inset;
  caret-color: #e6edf3;
  transition: background-color 9999s ease-in-out 0s;
  font-family: 'Montserrat', sans-serif;
}
