/* Custom Select Dropdown Styles */
select.filter-select,
select.form-control,
select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  padding: 0.875rem 1rem !important;
  padding-right: 3rem !important;
  font-size: 1rem !important;
  font-family: 'Inter', sans-serif !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  min-height: 50px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1.25rem !important;
}

select.filter-select:hover,
select.form-control:hover,
select:hover {
  border-color: rgba(139, 92, 246, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
}

select.filter-select:focus,
select.form-control:focus,
select:focus {
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2) !important;
  outline: none !important;
}

select.filter-select option,
select.form-control option,
select option {
  background: #1a1a2e !important;
  color: #ffffff !important;
  padding: 0.875rem !important;
  font-family: 'Inter', sans-serif !important;
}

select.filter-select option:checked,
select.form-control option:checked,
select option:checked {
  background: #8b5cf6 !important;
}

select.filter-select option:hover,
select.form-control option:hover,
select option:hover {
  background: rgba(139, 92, 246, 0.3) !important;
}

select[multiple] {
  padding: 0.5rem !important;
  background-image: none !important;
  height: auto !important;
  min-height: 150px !important;
}

/* Fix for dark mode select dropdown */
@supports (-webkit-appearance: none) {
  select {
    -webkit-appearance: none !important;
  }
}
