.qcm-page {
  background-color: #f4f6fa;
  font-family: Arial, sans-serif;
}

.qcm-header {
  background-color: white;
  text-align: center;
  padding: 35px 20px;
  border-bottom: 4px solid #0b6b43;
}

.qcm-logo {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
}

.qcm-header h1 {
  color: #0b6b43;
  font-size: 42px;
  margin-bottom: 18px;
}

.qcm-back-button,
.small-green-button {
  display: inline-block;
  background-color: #0b6b43;
  color: white;
  border: none;
  text-decoration: none;
  padding: 13px 25px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.qcm-main {
  max-width: 1100px;
  margin: 45px auto;
  padding: 0 20px;
}

.qcm-main h2 {
  color: #0b6b43;
  font-size: 36px;
  text-align: center;
  margin-bottom: 35px;
}

.qcm-chapters-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.chapter-qcm-button {
  background-color: #0b6b43;
  color: white;
  border: none;
  text-align: left;
  padding: 25px 28px;
  border-radius: 22px;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.chapter-qcm-button:hover {
  background-color: #8fd19e;
  color: #0b6b43;
  transform: translateX(8px);
}

.hidden {
  display: none;
}

.quiz-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.timer-box {
  background-color: white;
  color: #0b6b43;
  border: 4px solid #0b6b43;
  padding: 13px 25px;
  border-radius: 18px;
  font-size: 24px;
  font-weight: bold;
}

.question-card {
  margin-bottom: 28px;
}

.question-title {
  background-color: #0b6b43;
  color: white;
  padding: 22px 25px;
  border-radius: 22px;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
}

.options-box {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-label {
  background-color: white;
  border: 3px solid #d7d7d7;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 19px;
  cursor: pointer;
  transition: 0.25s;
}

.option-label:hover {
  border-color: #0b6b43;
}

.option-label input {
  margin-right: 12px;
}

.option-correct {
  background-color: #d8f5df;
  border-color: #0b6b43;
  color: #0b6b43;
  font-weight: bold;
}

.option-wrong {
  background-color: #ffd6d6;
  border-color: #c62828;
  color: #c62828;
  font-weight: bold;
}

.submit-button {
  display: block;
  width: 260px;
  margin: 40px auto 25px auto;
  background-color: #0b6b43;
  color: white;
  border: none;
  padding: 20px;
  border-radius: 24px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.submit-button:hover {
  background-color: #8fd19e;
  color: #0b6b43;
}

#result-box {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

#score-circle {
  width: 190px;
  height: 190px;
  background-color: #0b6b43;
  color: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: bold;
}

.score-value {
  font-size: 46px;
  line-height: 1;
}

.score-line {
  width: 95px;
  height: 4px;
  background-color: white;
  border-radius: 10px;
}

.score-total {
  font-size: 38px;
  line-height: 1;
}
