/* css/components/form-fields.css — Общие поля форм: подписи и выпадающие списки.
   Порядок подключения всех стилей задан в layout/head.php — он важен. */
/* =============================================================
   ПОЛЯ ФОРМЫ: LABEL И SELECT
   ============================================================= */

/* Скрываем стрелки у <input type="number"> во всех браузерах */
input[type="number"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Базовый стиль для всех <label> на странице */
label {
  position: relative;
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #b8c1d1;
}

/* Псевдоэлемент зарезервирован для стрелки-индикатора (сейчас отключён) */
label::after {
  /* content: "⌄"; */
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: #7aa2ff;
  font-size: 14px;
  pointer-events: none;
}

/* Общий стиль для обоих <select>: модель и платформа */
#model, #platform {
  width: 100%;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(124, 92, 255, 0.2);
  background:
    linear-gradient(
      180deg,
      rgba(20, 28, 45, 0.95),
      rgba(12, 18, 32, 0.98)
    );
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

#model:hover, #platform:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.08);
}

#model:focus {
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow:
    0 0 0 3px rgba(124, 92, 255, 0.15),
    0 0 18px rgba(124, 92, 255, 0.2);
  transform: translateY(-1px);
}

/* Цвет фона выпадающих опций (поддерживается не всеми браузерами) */
option {
  background: #101826;
  color: #ffffff;
}


