/* Specific Quiz styling overrides if any */
.answer-review-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.answer-review-card.border-success {
  border-color: rgba(16, 185, 129, 0.4) !important;
  background: rgba(16, 185, 129, 0.05);
}

.answer-review-card.border-danger {
  border-color: rgba(244, 63, 94, 0.4) !important;
  background: rgba(244, 63, 94, 0.05);
}

/* Option selector cards styling */
.quiz-option-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.quiz-option-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.quiz-option-card.selected {
  background: rgba(124, 58, 237, 0.1) !important;
  border-color: var(--primary-indigo) !important;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.15);
}

.quiz-option-card.correct {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.quiz-option-card.incorrect {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #f87171 !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

/* Quiz score count-up animation */
@keyframes scoreBump {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.5);
    color: #34d399;
  }

  70% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.score-bump {
  animation: scoreBump 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating +1 points bubble */
.points-popup {
  position: fixed;
  pointer-events: none;
  font-size: 1.1rem;
  font-weight: 800;
  color: #34d399;
  text-shadow: 0 2px 8px rgba(52, 211, 153, 0.5);
  z-index: 9999;
  animation: floatUp 1s ease-out forwards;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-60px) scale(1.3);
  }
}