/* Unified form theme (light/dark) */

.station-form .form-group { margin-bottom: 14px; }
.station-form .form-group label { color: var(--heading-color); font-weight: 800; }

.station-form .form-group input[type="text"],
.station-form .form-group input[type="url"],
.station-form .form-group input[type="email"],
.station-form .form-group input[type="tel"],
.station-form .form-group input[type="number"],
.station-form .form-group textarea,
.station-form .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--input-border-color);
  border-radius: 12px;
  font-size: .95rem;
  background: var(--surface-2);
  color: var(--input-text-color);
  transition: border-color .14s ease, box-shadow .18s ease, background-color .14s ease;
}

.station-form .form-group input::placeholder,
.station-form .form-group textarea::placeholder { color: var(--placeholder-color); opacity: 1; }

.station-form .form-group input:focus,
.station-form .form-group textarea:focus,
.station-form .form-group select:focus {
  outline: none;
  border-color: var(--accent-border-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 24%, transparent);
}

/* Select2 unified theme */
/* High-specificity select2 overrides inside station forms */
.station-form .select2-container * { box-sizing: border-box; }
.station-form .select2-container--default .select2-selection--single,
.station-form .select2-container--default .select2-selection--multiple {
  background: var(--surface-2) !important;
  border: 1px solid var(--input-border-color) !important;
  border-radius: 12px !important;
  min-height: 46px !important;
}
.station-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px !important;
  color: var(--input-text-color) !important;
  padding-left: 12px !important;
}
.station-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--placeholder-color) !important;
}
.station-form .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px !important; }
.station-form .select2-container--default .select2-selection--multiple { padding: 6px 8px !important; min-height: 46px !important; }
.station-form .select2-container--default .select2-selection--multiple .select2-selection__rendered { display: flex; gap: 6px; }
.station-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: var(--surface-1) !important;
  border: 1px solid var(--divider-color) !important;
  border-radius: 999px !important;
  color: var(--input-text-color) !important;
}
.station-form .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: var(--input-text-color) !important;
  margin-right: 4px;
}
.station-form .select2-container .select2-dropdown {
  background: var(--surface-2) !important;
  border: 1px solid var(--input-border-color) !important;
  z-index: 3000 !important;
}
.station-form .select2-results__option { color: var(--input-text-color) !important; }
.station-form .select2-results__message { color: var(--text-muted-color) !important; }
.station-form .select2-search--dropdown .select2-search__field {
  background: var(--surface-1) !important;
  color: var(--input-text-color) !important;
  border: 1px solid var(--input-border-color) !important;
  border-radius: 10px !important;
}

/* Global overrides for dropdown (appended to body, вне .station-form) */
.select2-container--default .select2-dropdown { background: var(--surface-2) !important; border: 1px solid var(--input-border-color) !important; z-index: 3000 !important; }
.select2-container .select2-results__option { color: var(--input-text-color) !important; }
.select2-container .select2-results__message { color: var(--text-muted-color) !important; }
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: color-mix(in srgb, var(--brand-primary) 18%, var(--surface-2)) !important;
  color: var(--input-text-color) !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
  background: color-mix(in srgb, var(--brand-primary) 24%, var(--surface-2)) !important;
  color: var(--input-text-color) !important;
}
.select2-search--dropdown .select2-search__field {
  background: var(--surface-1) !important;
  color: var(--input-text-color) !important;
  border: 1px solid var(--input-border-color) !important;
  border-radius: 10px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--input-text-color) !important;
}
.station-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  height: 46px !important;
  line-height: 1.2 !important;
}
