.quiz-option {
  display: block;
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 1rem;
  color: #333;              /* ✅ dark readable text */
  background: #f8f9fa;      /* light gray background */
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

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

/* keep buttons readable even when disabled */
.quiz-option:disabled { 
  opacity: 1 !important; 
  cursor: not-allowed;
}

/* green = correct */
.quiz-option.correct,
.quiz-option:disabled.correct {
  background-color: #22c55e !important;
  border: 2px solid #16a34a !important;
  color: #fff !important;
}

/* red = incorrect */
.quiz-option.incorrect,
.quiz-option:disabled.incorrect {
  background-color: #ef4444 !important;
  border: 2px solid #b91c1c !important;
  color: #fff !important;
}

.quiz-option.correct {
  background-color: #22c55e !important; /* green */
  border: 2px solid #16a34a !important;
  color: #fff !important;
}

.quiz-option.incorrect {
  background-color: #ef4444 !important; /* red */
  border: 2px solid #b91c1c !important;
  color: #fff !important;
}

/* Correct answer button */
button.correct {
  background-color: #4CAF50 !important; /* green */
  color: white !important;
  border: 1px solid #4CAF50 !important;
}

/* Incorrect answer button */
button.incorrect {
  background-color: #f44336 !important; /* red */
  color: white !important;
  border: 1px solid #f44336 !important;
}

/* Progress bar styles */
.progress-container {
  background-color: #eee;
  border-radius: 10px;
  margin: 15px 0;
  height: 24px;
  width: 100%;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #4CAF50; /* green bar */
  color: white;
  text-align: center;
  font-weight: bold;
  line-height: 24px;
}