.nexus-select {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.nexus-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

.nexus-select-trigger {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 44px 0 16px;
  border: 1px solid #354657;
  border-radius: 0;
  color: #f2f6f8;
  background: linear-gradient(180deg, rgba(17, 27, 39, .98), rgba(10, 17, 26, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .015);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.nexus-select-trigger:hover {
  border-color: #607487;
  background: linear-gradient(180deg, rgba(21, 33, 46, .99), rgba(12, 20, 29, .99));
}

.nexus-select-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 1px solid #c7ff32;
  border-bottom: 1px solid #c7ff32;
  transform: rotate(45deg);
  transition: margin .16s ease, transform .16s ease;
}

.nexus-select.is-open .nexus-select-trigger,
.nexus-select-trigger:focus-visible {
  border-color: #c7ff32;
  outline: 0;
  box-shadow: 0 0 0 1px rgba(199, 255, 50, .1), 0 0 24px rgba(199, 255, 50, .05);
}

.nexus-select.is-open .nexus-select-trigger::after {
  margin-top: -1px;
  transform: rotate(225deg);
}

.nexus-select-trigger:disabled {
  color: #657383;
  border-color: #263441;
  background: #0a1119;
  cursor: not-allowed;
  opacity: .72;
}

.nexus-select-value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nexus-select-popup {
  position: fixed;
  z-index: 10050;
  display: grid;
  gap: 6px;
  max-height: min(390px, calc(100vh - 24px));
  padding: 7px;
  overflow: hidden;
  border: 1px solid #46596a;
  color: #ecf2f5;
  background: rgba(7, 13, 20, .99);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .72), 0 0 0 1px rgba(199, 255, 50, .04) inset;
}

.nexus-select-popup[hidden] {
  display: none;
}

.nexus-select-search-wrap {
  position: relative;
  flex: 0 0 auto;
}

.nexus-select-search-wrap::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 14px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border: 1px solid #8191a1;
  border-radius: 50%;
  pointer-events: none;
}

.nexus-select-search-wrap::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 23px;
  width: 6px;
  height: 1px;
  margin-top: 4px;
  background: #8191a1;
  transform: rotate(45deg);
  pointer-events: none;
}

.nexus-select-search {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 0 36px 0 38px;
  border: 1px solid #334656;
  border-radius: 0;
  outline: 0;
  color: #f3f6f8;
  background: #0d1721;
  font: inherit;
  font-size: 13px;
}

.nexus-select-search:focus {
  border-color: #c7ff32;
  box-shadow: 0 0 0 1px rgba(199, 255, 50, .08);
}

.nexus-select-search::placeholder {
  color: #68788a;
}

.nexus-select-search-clear {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 8px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  color: #7f90a0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.nexus-select-search-clear:hover,
.nexus-select-search-clear:focus-visible {
  color: #c7ff32;
  outline: 0;
}

.nexus-select-options {
  display: grid;
  gap: 2px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #405365 #0a1119;
  scrollbar-width: thin;
}

.nexus-select-option {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  padding: 9px 39px 9px 12px;
  border: 0;
  color: #b3bfca;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: color .14s ease, background .14s ease;
}

.nexus-select-option:hover,
.nexus-select-option:focus-visible,
.nexus-select-option.is-active {
  color: #f6f8f9;
  background: #15222e;
  outline: 0;
}

.nexus-select-option.is-selected {
  color: #dfff88;
  background: linear-gradient(90deg, rgba(199, 255, 50, .13), rgba(199, 255, 50, .025));
}

.nexus-select-option.is-selected::after {
  content: "\2713";
  position: absolute;
  top: 50%;
  right: 14px;
  color: #c7ff32;
  font-size: 13px;
  transform: translateY(-50%);
}

.nexus-select-option:disabled {
  color: #536171;
  background: transparent;
  cursor: not-allowed;
  opacity: .65;
}

.nexus-select-group {
  padding: 11px 12px 5px;
  color: #718396;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.nexus-select-empty {
  padding: 22px 14px;
  color: #7d8d9c;
  font-size: 12px;
  text-align: center;
}

.nexus-select.is-compact .nexus-select-trigger {
  min-height: 24px;
  padding: 0 27px 0 0;
  border: 0;
  color: #ecf2f5;
  background: transparent;
  box-shadow: none;
  font-size: 11px;
  font-weight: 800;
}

.nexus-select.is-compact .nexus-select-trigger::after {
  right: 3px;
}

.nexus-select.is-compact.is-open .nexus-select-trigger,
.nexus-select.is-compact .nexus-select-trigger:focus-visible {
  border: 0;
  box-shadow: none;
}

@media (max-width: 640px) {
  .nexus-select-trigger {
    min-height: 46px;
    padding-left: 13px;
    font-size: 13px;
  }

  .nexus-select-popup {
    max-height: min(360px, calc(100vh - 16px));
  }
}
