/* A single native control for filters, forms and dialogs. */
select:not([multiple]):not([size]) {
  appearance: none;
  box-sizing: border-box;
  min-height: 48px;
  max-width: 100%;
  padding: 10px 44px 10px 14px;
  border: 1px solid #929caf;
  border-radius: 6px;
  color: #192338;
  font: inherit;
  text-overflow: ellipsis;
  cursor: pointer;
  background:
    linear-gradient(45deg, transparent 43%, #435988 44% 58%, transparent 59%) right 20px center/6px 6px no-repeat,
    linear-gradient(-45deg, transparent 43%, #435988 44% 58%, transparent 59%) right 15px center/6px 6px no-repeat,
    linear-gradient(#d7deea,#d7deea) right 36px center/1px 16px no-repeat,
    #fafbfd;
}
select:not([multiple]):not([size]):hover:enabled { border-color: #52689c; }
select:not([multiple]):not([size]):focus-visible, select:not([multiple]):not([size]):open {
  border-color: #243bf5; outline: 2px solid #243bf5; outline-offset: 2px;
}
select:not([multiple]):not([size]):disabled { cursor: not-allowed; background-color: #e4e8f0; color: #616a7c; }
@media (max-width:700px) { select:not([multiple]):not([size]) { font-size: 16px; } }

/* Capable desktop browsers paint their native top-layer picker with these styles. */
@supports (appearance: base-select) and selector(::picker(select)) {
  @media (hover: hover) and (pointer: fine) {
    select:not([multiple]):not([size]), select:not([multiple]):not([size])::picker(select) { appearance: base-select; }
    select:not([multiple]):not([size])::picker-icon { display: none; }
    select::picker(select) {
      margin-block: 6px; padding: 5px; border-radius: 8px; border: 1px solid #3c4965;
      background: #151c2a; color: #edf1ff; box-shadow: 0 10px 26px #13203a33;
      max-height: min(320px, 48vh); overflow-y: auto;
    }
    select:not([multiple]):not([size]) option {
      min-height: 39px; padding: 8px 12px; border-radius: 4px; gap: 12px; font: inherit;
    }
    select:not([multiple]):not([size]) option:checked { background: #28395e; color: #e4ebff; }
    select:not([multiple]):not([size]) option:hover, select:not([multiple]):not([size]) option:focus-visible { background: #38496d; outline: 1px solid #8a9ed2; outline-offset: -1px; }
    select:not([multiple]):not([size]) option::checkmark { order: 1; margin-inline-start: auto; color: #becdff; }
    select:not([multiple]):not([size]) option:disabled { color: #a1a7b4; }
  }
}
@media (forced-colors: active) {
  select:not([multiple]):not([size]) { appearance: auto; background: Canvas; color: CanvasText; }
}
