/* DSE Admin Portal – global fixes loaded on every portal page.
   (Page/sidebar fades were removed earlier because they added lag.) */

/* ---- Readable dropdown lists everywhere ----
   Windows/Chrome draws the open list of a <select> itself. In dark mode it was
   painting dark text on a dark list (e.g. "Select action", filters, status, day).
   Tell the browser which theme the page is in, and give every option clear colours. */
html { color-scheme: light; }
html.dark { color-scheme: dark; }

select option,
select optgroup {
  background-color: #ffffff;
  color: #111827;
}
html.dark select option,
html.dark select optgroup {
  background-color: #1f2937;
  color: #f3f4f6;
}
select option:disabled { color: #9ca3af; }
html.dark select option:checked { background-color: #6d28d9; color: #ffffff; }
html:not(.dark) select option:checked { background-color: #ede9fe; color: #4c1d95; }
