* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html, body { width: 100%; background: #f5f7fa; }

.quiz-header {
  background: linear-gradient(135deg, #146c3a, #1fa855);
  padding: 22px 20px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 0 0 24px 24px;
}
.back-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.quiz-header-title { color: white; font-size: 17px; font-weight: 700; flex: 1; }
.quiz-score { color: white; font-size: 14px; font-weight: 700; background: rgba(255,255,255,0.15); padding: 6px 12px; border-radius: 20px; }

.quiz-progress-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 20px 4px;
}
.quiz-progress-bar { height: 8px; background: #e5e7eb; border-radius: 10px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: linear-gradient(90deg, #4ade80, #16a34a); border-radius: 10px; transition: width 0.3s ease; }
.quiz-progress-text { font-size: 11.5px; color: #999; margin-top: 6px; font-weight: 600; }

.quiz-body {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.quiz-question-card {
  background: white;
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}

.quiz-question-text { font-size: 16px; font-weight: 700; color: #111; line-height: 1.5; margin-bottom: 20px; }

.quiz-options { display: flex; flex-direction: column; gap: 10px; }

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid #eee;
  border-radius: 14px;
  font-size: 13.5px;
  color: #333;
  cursor: pointer;
}
.quiz-option:active { background: #f8f9fb; }
.quiz-option.disabled { pointer-events: none; }

.opt-letter {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #666;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-option.correct { border-color: #22c55e; background: #f0fdf4; }
.quiz-option.correct .opt-letter { background: #22c55e; color: white; }

.quiz-option.wrong { border-color: #ef4444; background: #fef2f2; }
.quiz-option.wrong .opt-letter { background: #ef4444; color: white; }

.quiz-feedback { margin-top: 16px; }

.feedback-box {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.feedback-correct { background: #dcfce7; color: #16a34a; }
.feedback-wrong { background: #fee2e2; color: #dc2626; }

.quiz-next-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 10px;
}

.quiz-outline-btn {
  width: 100%;
  padding: 14px;
  border: 1.5px solid #16a34a;
  border-radius: 14px;
  background: white;
  color: #16a34a;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.quiz-result {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}

.result-card {
  background: white;
  border-radius: 22px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}

.result-emoji { font-size: 52px; margin-bottom: 10px; }
.result-card h2 { font-size: 20px; color: #111; margin-bottom: 14px; }
.result-score { font-size: 32px; font-weight: 800; color: #16a34a; }
.result-percent { font-size: 13px; color: #888; margin-bottom: 24px; }

.result-unlock { font-size: 12.5px; color: #16a34a; font-weight: 700; margin-bottom: 20px; }
.result-unlock-need { font-size: 12.5px; color: #999; font-weight: 600; margin-bottom: 20px; }
