/* Sort Options Component - Munfirm Theme Styling */

.sort-options-container {
  margin-bottom: 25px;
}

.sort-options-container .form-label {
  color: #2c3e50;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  font-family: "Livvic", sans-serif;
  letter-spacing: 0.3px;
}

.sort-options-container .form-select {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #495057;
  font-family: "Nunito", sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  background-image: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.sort-options-container .form-select:focus {
  border-color: #76a713;
  box-shadow: 0 0 0 3px rgba(118, 167, 19, 0.1);
  outline: none;
  background-image: none;
}

.sort-options-container .form-select:hover {
  border-color: #c9d1d9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-image: none;
}

.sort-options-container .form-select:disabled {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}

.sort-options-container .form-select option {
  padding: 10px;
  font-weight: 500;
  color: #495057;
  background: white;
}

/* Enhanced focus state for accessibility */
.sort-options-container .form-select:focus-visible {
  outline: 2px solid #76a713;
  outline-offset: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
  .sort-options-container .form-select {
    padding: 10px 14px;
    font-size: 14px;
    max-width: 180px;
  }

  .sort-options-container .form-label {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .sort-options-container {
    margin-bottom: 20px;
  }

  .sort-options-container .form-select {
    padding: 8px 12px;
    font-size: 13px;
    max-width: 160px;
  }

  .sort-options-container .form-label {
    font-size: 13px;
    margin-bottom: 6px;
  }
}

/* Loading state */
.sort-options-container .form-select.loading {
  background-image: none;
  opacity: 0.7;
}

/* Professional styling enhancements */
.sort-options-container .form-select {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sort-options-container .form-select:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.sort-options-container .form-select:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(118, 167, 19, 0.15);
}