/* QUIZ CAROUSEL - Clean & Simple */
.quiz-carousel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.quiz-nav-btn {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.quiz-nav-btn:hover:not(:disabled) {
    background: white;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quiz-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.quiz-counter {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.quiz-question-container {
    position: relative;
    overflow: hidden;
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
}

.quiz-stem {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 18px;
    color: var(--text-main);
}

.quiz-options {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.quiz-option {
    border: 2px solid var(--border);
    border-radius: 10px;
    background: #f8fafc;
    overflow: hidden;
    transition: all 0.2s;
}

.quiz-option label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.quiz-option input[type="radio"] {
    flex-shrink: 0;
    cursor: pointer;
}

.quiz-option:hover:not(.selected) {
    border-color: var(--primary);
    background: #f0f9ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.1);
}

/* Selected states */
.quiz-option.selected.correct {
    border-color: #16a34a;
    background: #dcfce7;
}

.quiz-option.selected.wrong {
    border-color: #dc2626;
    background: #fee2e2;
}

.quiz-option.correct:not(.selected) {
    border-color: #16a34a;
    background: #f0fdf4;
}

/* Explanation box */
.quiz-explanation {
    display: none;
    padding: 14px;
    margin: 0 14px 14px;
    border-radius: 8px;
    border-left: 4px solid #94a3b8;
    background: #f1f5f9;
    line-height: 1.6;
    font-size: 0.9rem;
}

.quiz-option.selected .quiz-explanation {
    display: block;
}

.quiz-option.correct .quiz-explanation {
    border-left-color: #16a34a;
    background: #f0fdf4;
}

.quiz-option.wrong .quiz-explanation {
    border-left-color: #dc2626;
    background: #fff1f2;
}

/* Explanation header */
.explanation-header {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.quiz-option.correct .explanation-header {
    color: #16a34a;
}

.quiz-option.wrong .explanation-header {
    color: #dc2626;
}
