:root {
  --rh-select-ink: #17282b;
  --rh-select-muted: #68787b;
  --rh-select-line: #cddadc;
  --rh-select-focus: #26747b;
  --rh-select-surface: rgba(255, 255, 255, .84);
  --rh-select-hover: rgba(255, 255, 255, .96);
}

/* Estándar compartido RH: control centrado, flecha propia y fallback estable. */
select:not([multiple]):not([size]) {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  padding: 0 42px;
  border: 1px solid var(--rh-select-line);
  border-radius: 11px;
  color: var(--rh-select-ink);
  background-color: var(--rh-select-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6e71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
  box-shadow: 0 5px 16px rgba(18, 52, 57, .06);
  font: inherit;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

select:not([multiple]):not([size]):hover {
  border-color: #a9bec1;
  background-color: var(--rh-select-hover);
}

select:not([multiple]):not([size]):focus,
select:not([multiple]):not([size]):focus-visible,
select:not([multiple]):not([size]).rh-native-select-settled,
select:not([multiple]):not([size]).is-native-select-settled {
  outline: none;
  border-color: var(--rh-select-focus);
  color: var(--rh-select-ink);
  background-color: var(--rh-select-hover);
  box-shadow: 0 0 0 3px rgba(38, 116, 123, .15), 0 8px 22px rgba(18, 52, 57, .08);
}

select:not([multiple]):not([size]):disabled {
  cursor: not-allowed;
  opacity: .58;
}

select:not([multiple]):not([size]) option {
  color: var(--rh-select-ink);
  background: #fff;
  text-align: center;
}

select:not([multiple]):not([size]) option:checked {
  color: #10464b;
  background: #e8f3f2;
}

/* Chromium con customizable select: estiliza también la lista interna real. */
@supports (appearance: base-select) {
  select:not([multiple]):not([size]),
  ::picker(select) {
    appearance: base-select;
  }

  select:not([multiple]):not([size]) {
    padding: 0 13px;
    background-image: none;
  }

  ::picker(select) {
    margin-top: 5px;
    padding: 6px;
    border: 1px solid var(--rh-select-line);
    border-radius: 13px;
    color: var(--rh-select-ink);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 20px 48px rgba(14, 43, 47, .18);
  }

  select:not([multiple]):not([size]) option {
    min-height: 38px;
    padding: 9px 11px;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
  }

  select:not([multiple]):not([size]) option:hover,
  select:not([multiple]):not([size]) option:focus,
  select:not([multiple]):not([size]) option:checked {
    color: #10464b;
    background: #e8f3f2;
  }

  select:not([multiple]):not([size])::picker-icon {
    color: var(--rh-select-muted);
    transition: rotate .2s ease;
  }

  select:not([multiple]):not([size]):open::picker-icon {
    rotate: 180deg;
  }
}
