/* Pain discovery quiz — styles complementary to the Tailwind utilities
   already loaded by the host page. Only the bits Tailwind can't express
   cleanly live here (honeypot positioning, transitions). */

.quiz-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.quiz-progress-fill {
  transition: width 0.35s ease-out;
}

.quiz-option {
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.quiz-option:hover {
  background: #f8fafc;
}

.quiz-option.is-selected {
  background: #ecfdf5;
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

.quiz-opt-dot,
.quiz-opt-check {
  opacity: 0;
  transition: opacity 0.15s;
}

.quiz-option.is-selected .quiz-opt-dot,
.quiz-option.is-selected .quiz-opt-check {
  opacity: 1;
}

.quiz-option.is-selected .quiz-opt-marker {
  border-color: #10b981;
}

.quiz-step {
  display: none;
}
.quiz-step.is-active {
  display: block;
  animation: quiz-fade-in 0.25s ease-out;
}

@keyframes quiz-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-disabled-btn {
  opacity: 0.45;
  pointer-events: none;
}
