/* ============================================================
   Askas Jeremy - Dark Mode Supplement
   main.css handles both modes via CSS custom properties.
   This file covers browser-specific overrides that vars can't reach.
   ============================================================ */

/* Autofill dark override (Chrome/Edge) */
html.dark input:-webkit-autofill,
html.dark input:-webkit-autofill:hover,
html.dark input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #141F37 inset !important;
  -webkit-text-fill-color: #F1F5F9 !important;
  caret-color: #F1F5F9;
}

/* Color scheme hint for native browser UI (scrollbars etc.) */
html.dark  { color-scheme: dark; }
html:not(.dark) { color-scheme: light; }

/* Selection highlight */
html.dark ::selection { background: rgba(99,102,241,.3); color: #F1F5F9; }
html:not(.dark) ::selection { background: rgba(99,102,241,.2); color: #0F172A; }
