.gpt-quiz {
    border: 1px solid #e1e1e1;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    background: #fafafa;
}

.gpt-quiz-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.gpt-quiz-description {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #555;
}

/* Barre de progression */
.gpt-quiz-progress {
    margin-bottom: 1rem;
}

.gpt-quiz-progress-bar-wrap {
    width: 100%;
    height: 8px;
    background: #e5e5e5;
    border-radius: 999px;
    overflow: hidden;
}

.gpt-quiz-progress-bar {
    height: 100%;
    width: 0;
    background: #0073aa;
    transition: width 0.25s ease;
}

.gpt-quiz-progress-text {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #555;
}

.gpt-quiz-questions {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.gpt-quiz-question {
    margin-bottom: 1.25rem;
}

.gpt-quiz-question-text {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gpt-quiz-choices {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gpt-quiz-choices li {
    margin-bottom: 0.25rem;
}

.gpt-quiz-choices label {
    cursor: pointer;
}

.gpt-quiz-feedback {
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

.gpt-correct {
    color: #1e7e34;
    font-weight: 600;
}

.gpt-incorrect {
    color: #c82333;
    font-weight: 600;
}

.gpt-quiz-explanation {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #444;
}

.gpt-quiz-actions {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gpt-quiz-score {
    margin-top: 0.75rem;
    font-weight: 600;
}

.gpt-quiz-mode-instant {
    border-left: 4px solid #0073aa;
}

.gpt-quiz-mode-exam {
    border-left: 4px solid #555d66;
}