/* One inset for native dropdown indicators throughout the website and admin. */
:root {
  --wb-select-arrow-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586d81' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --wb-select-arrow-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8d5e2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --wb-select-arrow: var(--wb-select-arrow-light);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wb-select-arrow: var(--wb-select-arrow-dark);
  }
}
:root[data-theme="dark"] {
  --wb-select-arrow: var(--wb-select-arrow-dark);
}
select:not([multiple]):not([size]),
select[size="1"]:not([multiple]) {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: var(--wb-select-arrow);
  /* The 16px SVG adds 4px internal whitespace: the visible arrow is about 16px inset. */
  background-position: right 12px center;
  background-size: 16px 16px;
  background-repeat: no-repeat;
}
@media (forced-colors: active) {
  select:not([multiple]):not([size]),
  select[size="1"]:not([multiple]) {
    appearance: auto;
    -webkit-appearance: auto;
    background-image: none;
  }
}
