/* === Choices.js тёмная тема (нормализованный и подогнанный под твой стиль) === */

.choices {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  font-size: 14px;
  width: 100%;
}

.choices:focus {
  outline: 0;
}

.choices:last-child {
  margin-bottom: 0;
}

.choices.is-open {
  overflow: visible;
}

.choices.is-disabled .choices__inner,
.choices.is-disabled .choices__input {
  background-color: #2a2a2a;
  cursor: not-allowed;
  user-select: none;
  color: #888;
}

.choices__inner {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  background-color: #1f1f1f;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  min-height: 44px;
  box-sizing: border-box;
  color: #fff;
  overflow: hidden;
}

.choices__placeholder {
  color: #888;
  opacity: 1;
}

.choices__list--dropdown {
  display: none;
  position: absolute;
  z-index: 1000;
  width: 100%;
  background-color: #1f1f1f;
  border: 1px solid #444;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  max-height: 300px;
  overflow-y: auto;
}

.choices.is-open .choices__list--dropdown {
  display: block;
}

.choices__list--dropdown .choices__item {
  padding: 10px 12px;
  font-size: 14px;
  color: #f1f1f1;
  cursor: pointer;
}

.choices__list--dropdown .choices__item--selectable:hover {
  background-color: #2a2a2a;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: #2a8bf2;
  color: #fff;
}

/* Скрываем нативную стрелку и добавляем свою */
.choices[data-type*="select-one"] select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: transparent;
}

.choices[data-type*="select-one"]::after {
  content: "";
  height: 0;
  width: 0;
  border-style: solid;
  border-color: #999 transparent transparent;
  border-width: 5px;
  position: absolute;
  right: 12px;
  top: 50%;
  margin-top: -2.5px;
  pointer-events: none;
}

.choices[data-type*="select-one"].is-open::after {
  border-color: transparent transparent #999;
  margin-top: -7.5px;
}

.choices__input {
  width: 100%;
  background-color: #1f1f1f;
  border: none;
  color: #fff;
  font-size: 15px;
}

.choices__input::placeholder {
  color: #888;
}

/* Мобильная оптимизация */
@media (max-width: 480px) {
  .choices__inner {
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 15px !important;
  }

  .choices__list--dropdown .choices__item {
    padding: 12px !important;
    font-size: 15px !important;
  }

  input, textarea, select {
    min-height: 44px !important;
    font-size: 15px !important;
    padding: 12px !important;
  }
}
