.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,.15);
}

#score-percentage {
  font-weight: 600;
  font-size: 1.1rem;
  text-align: right;
  margin-bottom: 10px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress {
  height: 100%;
  width: 0;
  background: #e67e22;
  transition: width .3s ease;
}

.question {
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: opacity .4s ease;
}

.question.answered {
  opacity: .6;
}

.choices button {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  background: #c9723d;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .3s ease;
}

.choices button:hover:not(:disabled) {
  background: #8c4a2f;
  color: #fff;
}

.choices button.correct {
  background-color: #088e46!important;
  color: white;
}

.choices button.wrong {
  background-color: #ca0b4a !important;
  color: white;
}

#explanation {
  background: #fcf8e3;
  border-left: 5px solid #e39444;
  padding: 12px;
  margin-top: 10px;
  font-style: italic;
  font-size: .95rem;
  display: none;
}

#nextBtn {
  padding: 10px 25px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: #e67e22;
  color: white;
  cursor: pointer;
  margin-top: 20px;
  display: none;
}

#nextBtn:hover {
  background: #ca6f1e;
}

#result {
  display: none;
  text-align: center;
}

#result h2 {
  font-size: 2rem;
  color: #e67e22;
  margin-bottom: 15px;
}

#restartBtn {
  padding: 12px 25px;
  font-size: 1rem;
  background: #5d3a00;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: none;
  margin-top: 15px;
}

#restartBtn:hover {
  background: #8c4a2f;
}

.btn-request {
  width: auto;
  padding: 12px;
  margin: 20px auto 0;
  font-size: 1rem;
  background: #088e46;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .3s ease;
}

.btn-request:hover {
  background: #dc9143;
  color: #fff;
}

.btn-request:focus {
  outline: none;
  background: #088e46;
  color: #fff;
  transition: background-color .3s ease;
}
