/* ===== QUIZ FINANCEIRO - CSS ISOLADO ===== */

#quizContainer {
    padding: 1.5rem;
    overflow: visible !important;
    min-height: 400px;
}

#quizIntro,
#quizQuestions, 
#quizResult {
    width: 100%;
}

#quizQuestions {
    min-height: 400px;
}

#quizResult {
    display: none;
}

#quizProgress {
    margin-bottom: 2rem;
    width: 100%;
}

#questionCard {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    min-height: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    width: 100%;
}

#questionCard h3 {
    color: #1F2937;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    color: #1F2937;
    font-weight: 500;
}

.quiz-option:hover {
    border-color: #6366F1;
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(4px);
}

.quiz-option.correct {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.quiz-option.incorrect {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.quiz-option:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.option-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #6366F1;
    color: white;
    border-radius: 50%;
    margin-right: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
}

.quiz-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
}

.quiz-feedback.correct {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.quiz-feedback.incorrect {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}
