.lms-quiz {
  max-width: 720px;
}

.lms-quiz__question {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.lms-quiz__question-text {
  font-size: var(--fs-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--lh-snug);
  margin: 0 0 0.75rem;
}

.lms-quiz__question-number {
  font-size: var(--fs-xs);
  color: var(--color-muted-foreground);
  margin-bottom: 0.25rem;
}

.lms-quiz__answers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lms-quiz__answer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--fs-sm);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.lms-quiz__answer:hover {
  background: var(--color-surface-soft);
}

.lms-quiz__answer--selected {
  border-color: var(--color-secondary);
  background: oklch(0.57 0.2328 264.07 / 0.06);
}

.lms-quiz__answer--correct {
  border-color: var(--color-success);
  background: oklch(0.7 0.15 145 / 0.08);
}

.lms-quiz__answer--wrong {
  border-color: var(--color-destructive);
  background: oklch(0.577 0.245 27.325 / 0.06);
}

.lms-quiz__answer-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lms-quiz__answer--selected .lms-quiz__answer-radio {
  border-color: var(--color-secondary);
}

.lms-quiz__answer--selected .lms-quiz__answer-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-secondary);
}

.lms-quiz__result {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  font-size: var(--fs-base);
  font-weight: var(--font-weight-medium);
  text-align: center;
}

.lms-quiz__result--passed {
  background: oklch(0.7 0.15 145 / 0.1);
  color: var(--color-success);
}

.lms-quiz__result--failed {
  background: oklch(0.577 0.245 27.325 / 0.08);
  color: var(--color-destructive);
}

.lms-quiz__actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}
