.nexa-select {
  --nexa-select-accent: #ff7772;
  --nexa-select-accent-soft: rgba(255, 119, 114, .14);
  position: relative;
  min-width: 0;
  color: #eefaff;
  font: inherit;
}

body[data-cleaner-kind="excel"] .nexa-select {
  --nexa-select-accent: #34d399;
  --nexa-select-accent-soft: rgba(52, 211, 153, .14);
}

body[data-cleaner-kind="csv"] .nexa-select {
  --nexa-select-accent: #f6c84c;
  --nexa-select-accent-soft: rgba(246, 200, 76, .14);
}

select[data-nexa-select-native] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.nexa-select__trigger {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 13px;
  color: #f4fbff;
  border: 1px solid rgba(150, 211, 231, .2);
  border-radius: 11px;
  outline: 0;
  background: linear-gradient(180deg, #0b4a79, #073962);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
  font-size: 12px;
  font-weight: 850;
  text-align: start;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nexa-select__trigger:hover,
.nexa-select.is-open .nexa-select__trigger {
  border-color: color-mix(in srgb, var(--nexa-select-accent) 68%, transparent);
  background: linear-gradient(180deg, #105485, #083e69);
  box-shadow: 0 0 0 3px var(--nexa-select-accent-soft);
}

.nexa-select__trigger:focus-visible {
  border-color: var(--nexa-select-accent);
  box-shadow: 0 0 0 3px var(--nexa-select-accent-soft);
}

.nexa-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nexa-select__chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid #9fc5d8;
  border-bottom: 2px solid #9fc5d8;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease, border-color 160ms ease;
}

.nexa-select.is-open .nexa-select__chevron {
  border-color: var(--nexa-select-accent);
  transform: translateY(2px) rotate(225deg);
}

.nexa-select__menu {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 260px;
  overflow: auto;
  padding: 7px;
  border: 1px solid rgba(151, 215, 234, .24);
  border-radius: 13px;
  background: #062c50;
  box-shadow: 0 22px 48px rgba(0, 15, 34, .42), inset 0 1px rgba(255, 255, 255, .04);
}

.nexa-select__menu[hidden] {
  display: none !important;
}

.nexa-select__option {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: #c9dfeb;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
  text-align: start;
  cursor: pointer;
}

.nexa-select__option:hover,
.nexa-select__option:focus-visible {
  color: #fff;
  outline: 0;
  background: rgba(255, 255, 255, .07);
}

.nexa-select__option.is-selected {
  color: #fff;
  background: var(--nexa-select-accent-soft);
}

.nexa-select__option.is-selected::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--nexa-select-accent);
  box-shadow: 0 0 10px var(--nexa-select-accent);
}

.nexa-select__option:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.nexa-select.is-disabled .nexa-select__trigger {
  opacity: .55;
  cursor: not-allowed;
}

[dir="rtl"] .nexa-select__trigger,
[dir="rtl"] .nexa-select__option {
  text-align: right;
}

@media (max-width: 720px) {
  .nexa-select__menu { max-height: 220px; }
}
