.quiz-result h2 {
  color: #d8c690;
  font-style: italic;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 8px;  
}
.quiz-result h3 {
  color: #ffd700;
  font-style: italic;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 8px;
}
/* Results styling */
.show-result {
  display: block;
  background-color: #000; /* black background */
  color: #fff; /* white text */
  padding: 20px;
  border-radius: 6px;
  font-size: 18px;
  margin-top: 20px;
  max-width: fit-content;
  width: fit-content;
  text-align: center;
}
.quiz-result.error-message {
  display: block;
  background-color: #fff !important;
  color: red !important;
  font-weight: bold;
  border: 2px solid red;
  text-align: center;
}
.quiz-submit {
  background-color: #BE9E44;
  color: #111;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.quiz-submit:hover {
  transform: scale(1.03);
}
.quiz-question label {
  display: block !important;
  margin: 0px 0px -5px !important;  /* Tighter space between answers */
  font-size: 16px !important;
  line-height: 1.4 !important;
}
.quiz-question ul,.quiz-question ol {
    padding-left: 1.5em;
    margin-bottom: 1.25em
}
.quiz-question h3 {
  margin: 20px 0 10px 0 !important;  /* Tighter space below question */
  color: #111111;
  font-size: 18px !important;
  line-height: 1.4 !important;
}
.quiz-question {
  display: block;
  margin: 6px 0;
  margin-bottom: 0px;
  color: #111111;
}
.quiz-container input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #be9e44; /* 💡 Change this to your preferred track color */
  border-radius: 5px;
  outline: none;
  margin-top: 10px;
}

.quiz-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #d8c690;
  border: 2px solid #2a2a2a; /* 💡 Border to match brand color */
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.quiz-container input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #d8c690;
  border: 2px solid #2a2a2a;
  border-radius: 50%;
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 2px 0;
  color: #555;
}

.range-labels span {
  flex: 1;
  text-align: center;
}
