.ta-branded-select {
  --branded-select-bg: rgba(10, 22, 38, .92);
  --branded-select-bg-hover: rgba(15, 31, 52, .98);
  --branded-select-menu-bg: #081526;
  --branded-select-border: rgba(128, 159, 195, .18);
  --branded-select-border-active: rgba(73, 206, 244, .52);
  --branded-select-text: #dce9f7;
  --branded-select-muted: #7c91a8;
  --branded-select-accent: #49cef4;
  position: relative;
  width: 100%;
  min-width: 0;
}

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

.ta-branded-select-trigger {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid var(--branded-select-border);
  border-radius: 8px;
  background: var(--branded-select-bg);
  color: var(--branded-select-text);
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.ta-branded-select-trigger:hover {
  border-color: rgba(73, 206, 244, .32);
  background: var(--branded-select-bg-hover);
}

.ta-branded-select-trigger:focus-visible,
.ta-branded-select.is-open .ta-branded-select-trigger {
  outline: none;
  border-color: var(--branded-select-border-active);
  box-shadow: 0 0 0 3px rgba(73, 206, 244, .11);
}

.ta-branded-select-trigger:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.ta-branded-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ta-branded-select-chevron {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--branded-select-muted);
  transition: transform .16s ease, color .16s ease;
}

.ta-branded-select-chevron svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ta-branded-select.is-open .ta-branded-select-chevron {
  transform: rotate(180deg);
  color: var(--branded-select-accent);
}

.ta-branded-select-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(73, 206, 244, .24);
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(11, 27, 47, .995), rgba(5, 14, 27, .995)), var(--branded-select-menu-bg);
  box-shadow: 0 20px 52px rgba(0, 0, 0, .46);
  scrollbar-width: thin;
  scrollbar-color: rgba(73, 206, 244, .28) transparent;
}

.ta-branded-select.opens-up .ta-branded-select-menu {
  top: auto;
  bottom: calc(100% + 6px);
}

.ta-branded-select-option {
  width: 100%;
  min-height: 37px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #aebfd1;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.ta-branded-select-option:hover,
.ta-branded-select-option:focus-visible {
  outline: none;
  background: rgba(73, 206, 244, .09);
  color: #eef8ff;
}

.ta-branded-select-option.is-selected {
  background: linear-gradient(135deg, rgba(73, 206, 244, .15), rgba(103, 102, 238, .12));
  color: var(--branded-select-accent);
  font-weight: 800;
}

.ta-branded-select-option.is-selected::after {
  content: "✓";
  margin-left: auto;
  padding-left: 12px;
  color: var(--branded-select-accent);
}

.ta-branded-select-option:disabled {
  cursor: not-allowed;
  opacity: .45;
}
