.article-quiz {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.quiz-question {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.quiz-question:last-of-type {
    border-bottom: none;
}

.quiz-question p {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.quiz-question label {
    display: block;
    margin: 0.5rem 0;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s;
    color: var(--text-secondary);
}

.quiz-question label:hover {
    background-color: var(--bg-secondary);
}

.quiz-question.correct label input:checked + span,
.quiz-question.correct label input:checked {
    color: #10b981;
}

.quiz-question.incorrect label input:checked + span,
.quiz-question.incorrect label input:checked {
    color: #ef4444;
}

.quiz-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.quiz-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.quiz-result {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
