/* Нативный select скрыт, значение уходит в форму */
select.c-select__native {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.c-select {
  position: relative;
  display: block;
  width: 100%;
}

.c-select__trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--border, #2e2e2e);
  border-radius: 10px;
  background: var(--bg-elevated, #1c1c1c);
  color: var(--text, #ffffff);
  font-size: 0.95rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  line-height: 1.3;
}

.c-select__trigger::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted, #9ca3af);
  border-bottom: 2px solid var(--muted, #9ca3af);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.c-select.is-open .c-select__trigger {
  border-color: var(--accent, #e5e5e5);
  outline: 2px solid var(--accent-soft, rgba(255, 255, 255, 0.08));
}

.c-select__list {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  border: 1px solid var(--border, #2e2e2e);
  border-radius: 10px;
  background: var(--surface, #262626);
  box-shadow: var(--shadow, 0 12px 40px rgba(0, 0, 0, 0.5));
}

.c-select__option {
  padding: 10px 14px;
  cursor: pointer;
  color: var(--text-secondary, #d4d4d4);
}

.c-select__option:hover,
.c-select__option.is-focused {
  background: var(--accent-soft, rgba(255, 255, 255, 0.08));
  color: var(--text, #f5f5f5);
}

.c-select__option.is-selected {
  color: var(--accent, #e5e5e5);
  font-weight: 600;
}
