/* Patient questionnaire styles. Was an inline <style> block in patient.html. */

body {
  font-family: 'Inter', system-ui, sans-serif;
}

/* Pain-scale slider */
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  outline: none;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #002062;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
input[type='range']::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #002062;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.slider-inactive {
  background: #e2e8f0;
}
.slider-active {
  background: linear-gradient(90deg, #b8c7e1 0%, #002062 50%, #ef4444 100%);
}

/* Option buttons */
.option-btn {
  transition: all 0.15s ease;
  border: 2px solid #e2e8f0;
  cursor: pointer;
}
.option-btn:hover {
  border-color: #b8c7e1;
  background: #f0f3f9;
}
.option-btn.selected,
.option-btn.selected-multi {
  border-color: #002062;
  background: #f0f3f9;
}
.option-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Checkmark visibility */
.check-icon {
  display: none;
}
.selected .check-icon,
.selected-multi .check-icon {
  display: flex;
}

/* Section transitions */
.section-container {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.section-entering {
  opacity: 0;
  transform: translateX(20px);
}
.section-visible {
  opacity: 1;
  transform: translateX(0);
}
.section-exiting {
  opacity: 0;
  transform: translateX(-20px);
}

/* Progress bar */
.progress-fill {
  transition: width 0.4s ease;
}
