/* Custom Slider Styling */
.custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.custom-slider:hover {
  opacity: 1;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #58a2ec;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.custom-slider::-webkit-slider-thumb:hover {
  background: #4591db;
  transform: scale(1.1);
}

.custom-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #58a2ec;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.custom-slider::-moz-range-thumb:hover {
  background: #4591db;
  transform: scale(1.1);
}

.custom-slider::-webkit-slider-runnable-track {
  background: linear-gradient(to right, #58a2ec 0%, #58a2ec var(--value), #d3d3d3 var(--value), #d3d3d3 100%);
  height: 8px;
  border-radius: 5px;
}

.custom-slider::-moz-range-track {
  background: #d3d3d3;
  height: 8px;
  border-radius: 5px;
}

.custom-slider::-moz-range-progress {
  background: #58a2ec;
  height: 8px;
  border-radius: 5px;
}

/* Cookie Banner Enhancements */
.cookie-consent .cookie-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cookie-consent .cookie-accept:hover {
  background-color: #4591db !important;
}

.cookie-consent .cookie-decline:hover {
  background-color: #5a6268 !important;
}

/* Improved Select Styling */
.form-control {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: white;
}

.form-control:focus {
  border-color: #58a2ec;
  box-shadow: 0 0 0 3px rgba(88, 162, 236, 0.1);
  outline: none;
}

.form-control:hover {
  border-color: #c0c0c0;
}

/* Household inputs grid */
.household-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .household-inputs {
    grid-template-columns: 1fr;
  }
}

.input-group label {
  color: #333;
}
