/* SOME Companion 0.1-C42L7 - Loge dropdown readability fix */

/*
   Native select popups are rendered by the browser/OS.
   These rules keep the Loge sorting dropdown readable in Chromium/Chrome/Edge
   and also improve consistency for other SOME dropdowns.
*/

select,
select.so-loge-sort,
select[name*="sort" i],
select[id*="sort" i] {
  color-scheme: dark;
  background:
    linear-gradient(180deg, rgba(22, 12, 12, .96), rgba(5, 4, 5, .96)) !important;
  color: #f1e8dc !important;
  border-color: rgba(220, 190, 153, .28) !important;
}

select option,
select optgroup {
  background-color: #120909 !important;
  color: #f1e8dc !important;
}

select option:checked {
  background-color: #5b1515 !important;
  color: #ffffff !important;
}

select option:hover,
select option:focus {
  background-color: #3b1010 !important;
  color: #ffffff !important;
}

select:focus {
  outline: 2px solid rgba(220, 190, 153, .45);
  outline-offset: 2px;
}
