/* ===== Quiz Page ===== */
.quiz-page { padding: 0 16px 20px; }

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.quiz-progress .progress-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
}

.quiz-progress .progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

#progressText {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.quiz-question { animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
  0% { opacity: 0; transform: translateX(20px); }
  100% { opacity: 1; transform: translateX(0); }
}

.question-number {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 8px;
}

.question-text {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 20px;
}

.question-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--bg-secondary);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-align: left;
}

.option-btn:active { transform: scale(0.98); }

.option-btn.correct {
  background: rgba(123,160,152,0.1);
  border-color: var(--primary-light);
}

.option-btn.wrong {
  background: rgba(200,80,80,0.08);
  border-color: #C85050;
}

.option-btn.disabled { pointer-events: none; opacity: 0.6; }

.option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.option-btn.correct .option-letter {
  background: var(--primary-light);
  color: var(--white);
}

.option-btn.wrong .option-letter {
  background: #C85050;
  color: var(--white);
}

.option-text { font-size: 15px; }

/* Feedback */
.question-feedback {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.3s ease;
}

.feedback-text {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feedback-text.correct-text { color: var(--primary-light); }
.feedback-text.wrong-text { color: #C85050; }

.feedback-explanation {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.btn-next {
  padding: 10px 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 14px;
}
