/* 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(--input-bg-color);
  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-container * { box-sizing: border-box; }

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  background: var(--input-bg-color) !important;
  border: 1px solid var(--input-border-color) !important;
  border-radius: 12px !important;
  min-height: 46px !important;
  transition: border-color 0.16s ease, box-shadow 0.2s ease, background-color 0.16s ease;
}
.select2-container--default .select2-selection--single { position: relative; }
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  color: var(--input-text-color) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  height: 46px !important;
  padding: 0 32px 0 16px !important;
  line-height: 1.2 !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--placeholder-color) !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  margin-top: -3px;
  border-color: color-mix(in srgb, var(--brand-primary) 45%, var(--input-text-color)) transparent transparent transparent;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--input-text-color);
  text-decoration: none;
  line-height: 1;
  margin: 0 12px 0 4px;
  transition: color 0.18s ease;
}
.select2-container--default .select2-selection--single .select2-selection__clear:hover,
.select2-container--default .select2-selection--single .select2-selection__clear:focus-visible {
  color: #ffffff;
  outline: none;
}
.select2-container--default .select2-selection--multiple {
  padding: 6px 8px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear {
  display: none !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.1;
  color: var(--input-text-color) !important;
  background: color-mix(in srgb, var(--surface-1) 94%, rgba(255, 255, 255, 0.05)) !important;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 22%, var(--divider-color)) !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 16px rgba(8, 12, 28, 0.22);
  transition: border-color 0.18s ease, box-shadow 0.22s ease, background-color 0.18s ease;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  order: -1;
  margin-right: 4px;
  font-size: 0.9rem;
  color: var(--input-text-color) !important;
  background: none !important;
  border: 0 !important;
  width: auto;
  height: auto;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: color 0.18s ease;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus-visible {
  color: #ffffff !important;
  outline: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice:hover,
.select2-container--default .select2-selection--multiple .select2-selection__choice:focus-visible {
  border-color: color-mix(in srgb, var(--brand-primary) 48%, var(--divider-color)) !important;
  box-shadow: 0 12px 26px rgba(8, 12, 32, 0.38);
  outline: none;
}
.select2-container--default .select2-dropdown { background: var(--input-bg-color) !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;
}
