.choice-container {
  display: flex;
  margin-bottom: 0.5rem;
  width: 100%;
  font-size: 1.6rem;
  border: 0.1rem solid rgb(86, 165, 235, 0.25);
  background-color: white;
}

.choice-container:hover {
  cursor: pointer;
  box-shadow: 0 0.4rem 1.4rem 0 rgba(86, 185, 235, 0.5);
  transform: translateY(-0.1rem);
  transition: transform 150ms;
}

.choice-prefix {
  padding: 1.5rem 2.5rem;
  background-color: #4CAF50;
  color: white;
}

.choice-text {
  padding: 1.5rem;
  width: 100%;
  color:black
}

.choice-text2 {
  padding: 1.5rem;
  width: 100%;
}

.answer-text {
  font-size: 1.5rem;
  background-color: #28a745;
}

.general-text {
  font-size: 1.5rem;
}

.correct {
  background-color: #28a745;
}

.incorrect {
  background-color: #dc3545;
}

/* HUD */

#hud {
  display: flex;
  justify-content: space-between;
}

.hud-prefix {
  text-align: center;
  font-size: 2rem;
}

.hud-main-text {
  text-align: center;
}

#progressBar {
  width: 20rem;
  height: 4rem;
  border: 0.3rem solid #56a5eb;
  margin-top: 1.5rem;
}

#progressBarFull {
  height: 3.4rem;
  background-color: #56a5eb;
  width: 0%;
}


/* Mobile responsive fixes */
@media (max-width: 768px) {
  .hud-prefix {
    font-size: 1rem;
  }
  .hud-main-text {
    font-size: 1.5rem;
  }
  #hud {
    gap: 10px;
  }
}


/* =========================================================
   MODERN QUIZ UI OVERRIDES (Dynamic Option Support)
   ========================================================= */

#dynamic-choices-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.choice-container {
  display: flex;
  align-items: stretch;
  margin-bottom: 0;
  width: 100%;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(30, 35, 45, 0.6) !important;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.choice-container:hover {
  cursor: pointer;
  background: rgba(45, 55, 72, 0.8) !important;
  border-color: rgba(86, 165, 235, 0.5) !important;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(86, 165, 235, 0.2) !important;
  transform: translateY(-2px) !important;
}

.choice-prefix {
  padding: 1.2rem 1.8rem !important;
  background: linear-gradient(135deg, #0047AB, #00B4DB) !important;
  color: white !important;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  margin: 0;
}

.choice-text {
  padding: 1.2rem 1.5rem !important;
  width: 100%;
  color: #e2e8f0 !important;
  line-height: 1.5;
  display: flex;
  align-items: center;
  margin: 0;
}

/* Add active state for clicked buttons */
.choice-container:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.choice-container.correct {
  background: rgba(39, 174, 96, 0.9) !important;
  border-color: #2ecc71 !important;
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.3) !important;
}
.choice-container.correct .choice-prefix {
  background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
}

.choice-container.incorrect {
  background: rgba(192, 57, 43, 0.9) !important;
  border-color: #e74c3c !important;
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.3) !important;
}
.choice-container.incorrect .choice-prefix {
  background: linear-gradient(135deg, #c0392b, #e74c3c) !important;
}


/* =========================================================
   QUIZ NAVIGATION CONTROLS (Next, Prev, Flag)
   ========================================================= */

#quiz-navigation button {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#quiz-navigation button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

#quiz-navigation button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#flagged-panel {
    background: rgba(30, 35, 45, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#flag-list span:hover {
    color: #e74c3c !important;
}
