.quiz-container {
  background-color: #ffffff;
  color: #000000; /* Ensures all text is black */
  padding: 25px;
  border-radius: 15px;
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
  margin: 20px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  font-family: 'Segoe UI', sans-serif;
}

.quiz-container h2 {
  text-align: center;
  font-size: 1.4em;
  margin-bottom: 15px;
  background: linear-gradient(to right, #74ebd5, #9face6);
  padding: 10px;
  border-radius: 10px;
  color: #000;
}

#question {
  font-size: 1em;
  margin-bottom: 12px;
}

#options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  padding: 10px;
  border-radius: 8px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.95em;
  text-align: left;
  color: #000;
}

.option-btn:hover {
  background-color: #e0f0ff;
}

.correct {
  background-color: #c8e6c9 !important;
  border-color: green;
  color: #000;
}

.wrong {
  background-color: #ffcdd2 !important;
  border-color: red;
  color: #000;
}

#timer {
  font-weight: bold;
  margin-top: 15px;
  font-size: 0.95em;
  text-align: right;
}

#nextBtn {
  margin-top: 20px;
  padding: 10px;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 100%;
  font-size: 1em;
  cursor: pointer;
  display: none;
}

#nextBtn:hover {
  background-color: #0056b3;
}

#result-box {
  text-align: center;
  margin-top: 25px;
}

#result-box h3 {
  color: #000;
}

#score, #remark {
  font-size: 1em;
  margin: 10px 0;
  color: #000;
}

#explanations {
  text-align: left;
  font-size: 0.9em;
  margin-top: 20px;
  color: #000;
}

button {
  font-family: inherit;
}
