/* Lesson Decision UI Styles */
.lesson-decision-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: fadeIn 0.3s ease-out;
}

.lesson-decision-modal {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  text-align: center;
  animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.lesson-score-summary {
  margin-bottom: 2rem;
}

.lesson-score-summary h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.score-value {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(to right, #9333ea, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.score-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-breakdown {
  margin-top: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  color: #4b5563;
  font-size: 1rem;
}

.feedback-message {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.mastery-ui .feedback-message {
  color: #065f46;
  font-weight: 500;
}

.progress-ui .feedback-message {
  color: #166534;
  font-weight: 500;
}

.support-ui .feedback-message {
  color: #92400e;
  font-weight: 500;
}

.revision-hint {
  background: #fffbeb;
  border: 2px solid #fcd34d;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #78350f;
  font-size: 0.9375rem;
}

.decision-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
}

.decision-buttons .btn-primary,
.decision-buttons .btn-secondary {
  min-width: 250px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.decision-buttons .btn-primary {
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: white;
}

.decision-buttons .btn-primary:hover {
  box-shadow: 0 10px 15px rgba(147, 51, 234, 0.3);
  transform: translateY(-2px);
}

.decision-buttons .btn-secondary {
  background: white;
  color: #9333ea;
  border: 2px solid #9333ea;
}

.decision-buttons .btn-secondary:hover {
  background: #f5f3ff;
  transform: translateY(-2px);
}

/* Timer badge in question header */
.timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.timer-badge.warning {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Responsive */
@media (max-width: 640px) {
  .lesson-decision-modal {
    padding: 1.5rem;
  }

  .score-value {
    font-size: 3rem;
  }

  .decision-buttons .btn-primary,
  .decision-buttons .btn-secondary {
    min-width: 100%;
    width: 100%;
  }
}

