.lux-sel {
  position: relative;
  display: block;
  min-width: 150px;
}
.lux-sel select.lux-select {
  display: none !important;
}
.lux-sel-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(74, 158, 194, 0.3);
  background: rgba(240, 248, 254, 0.92);
  color: var(--lc-text, #16283D);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s ease;
}
.lux-sel-trigger:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(74, 158, 194, 0.5);
  transform: translateY(-1px);
}
.lux-sel.open .lux-sel-trigger {
  border-color: var(--lc-accent, #3A8FB8);
  box-shadow: 0 0 0 3px rgba(58, 143, 184, 0.22);
  transform: none;
}
.lux-sel-trigger .lux-sel-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lux-sel-trigger .lux-sel-caret {
  flex: 0 0 auto;
  font-size: 10px;
  color: var(--lc-text-muted, #5B6B75);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.lux-sel.open .lux-sel-trigger .lux-sel-caret {
  transform: rotate(180deg);
}
.lux-sel-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 100%;
  max-height: 260px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(58, 143, 184, 0.45);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(26, 58, 82, 0.18);
  padding: 5px;
  z-index: 12000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.34, 1.3, 0.64, 1),
    visibility 0s linear 0.22s;
}
.lux-sel.open .lux-sel-menu,
.lux-sel-menu.lux-sel-menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.34, 1.3, 0.64, 1),
    visibility 0s;
}
.lux-sel-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 11px;
  border: none;
  background: transparent;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--lc-text, #16283D);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lux-sel-option:hover {
  background: rgba(58, 143, 184, 0.1);
  color: #1C5678;
}
.lux-sel-option.selected {
  background: rgba(58, 143, 184, 0.14);
  color: #1C5678;
}
.lux-sel-option:not(:last-child) {
  border-bottom: 1px solid rgba(58, 143, 184, 0.30);
}
.lux-sel-option .lux-sel-check {
  margin-left: auto;
  font-size: 11px;
  color: var(--lc-accent, #3A8FB8);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.15s, transform 0.2s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.lux-sel-option.selected .lux-sel-check {
  opacity: 1;
  transform: scale(1);
}

 
.lux-sel--sm {
  min-width: auto;
}
.lux-sel--sm .lux-sel-trigger {
  min-height: 30px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 8px;
}
.lux-sel--sm .lux-sel-trigger .lux-sel-caret {
  font-size: 9px;
}
.lux-sel--sm .lux-sel-option {
  padding: 6px 9px;
  font-size: 11.5px;
}
.lux-sel--sm .lux-sel-menu {
  min-width: 160px;
}

 
.lux-sel-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}
.lux-sel-trigger:disabled:hover {
  background: rgba(240, 248, 254, 0.92);
  border-color: rgba(74, 158, 194, 0.3);
}

 
body.auth-dark .lux-sel-trigger {
  background: rgba(13, 24, 37, 0.72);
  border-color: rgba(58, 143, 184, 0.35);
  color: #B8D4E8;
}
body.auth-dark .lux-sel-trigger:hover {
  background: rgba(20, 36, 54, 0.85);
  border-color: rgba(74, 158, 194, 0.55);
}
body.auth-dark .lux-sel.open .lux-sel-trigger {
  border-color: rgba(74, 158, 194, 0.7);
  box-shadow: 0 0 0 3px rgba(58, 143, 184, 0.25);
}
body.auth-dark .lux-sel-trigger .lux-sel-caret {
  color: #5A8AA0;
}
body.auth-dark .lux-sel-trigger:disabled:hover {
  background: rgba(13, 24, 37, 0.72);
  border-color: rgba(58, 143, 184, 0.35);
}
body.auth-dark .lux-sel-menu {
  background: rgba(13, 24, 37, 0.92);
  border-color: rgba(80, 140, 170, 0.5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}
body.auth-dark .lux-sel-option {
  color: #D0E0EA;
}
body.auth-dark .lux-sel-option:not(:last-child) {
  border-bottom-color: rgba(150, 200, 230, 0.30);
}
body.auth-dark .lux-sel-option:hover {
  background: rgba(74, 158, 194, 0.18);
  color: #fff;
}
body.auth-dark .lux-sel-option.selected {
  background: rgba(74, 158, 194, 0.24);
  color: #fff;
}
