/* --- STYLISATION DU QUIZ --- */
.quiz-container {
  max-width: 800px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px;
  font-family: "Poppins", sans-serif;
}

.quiz-question {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #2C3E4F;
}

.quiz-options {
  list-style: none;
  padding: 0;
}

.quiz-options li {
  background: #F5F5F5;
  margin: 10px 0;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}

.quiz-options li:hover {
  background: #E8ECF2;
}

.quiz-options li.correct {
  background: #D4EDDA;
  border-color: #27AE60;
  color: #145A32;
}

.quiz-options li.wrong {
  background: #F8D7DA;
  border-color: #C0392B;
  color: #641E16;
}

.quiz-explanation {
  background: #F9FAFB;
  padding: 10px;
  border-left: 4px solid #D4AF37;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 0.95rem;
  color: #333;
  display: none;
}

.quiz-next-btn {
  display: inline-block;
  background: #D4AF37;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 20px;
  transition: 0.3s;
}

.quiz-next-btn:hover {
  background: #B8962E;
}

.quiz-score {
  text-align: center;
  padding: 30px;
  font-size: 1.5rem;
  color: #2C3E4F;
}

.quiz-score.success {
  color: #27AE60;
}

.quiz-score.fail {
  color: #C0392B;
}

.quiz-score .emoji {
  font-size: 2.5rem;
  display: block;
  margin-top: 10px;
}
