

.quiz-option {
            display: flex;
            align-items: flex-start;
            padding: 1rem;
            border: 2px solid #d1d5db; 
            border-radius: 0.75rem;
            cursor: pointer;
            transition: all 0.3s ease-in-out;
            margin-bottom: 12px;
            background-color: white;
        }

        .quiz-option:hover {
            background-color: #f5f3ff;
            border-color: #a78bfa; 
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(167, 139, 250, 0.15);
        }

        .quiz-option.active-quiz-option {
            background-color: #f5f3ff;
            border-color: #a78bfa;
            box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
        }

        .quiz-option.correct-answer {
            background-color: #f0fdf4;
            border-color: #22c55e;
            box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
        }

        .quiz-option.incorrect-answer {
            background-color: #fef2f2;
            border-color: #ef4444;
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
        }

        .quiz-input {
            display: none;
        }

        .quiz-bubble {
            width: 1.5rem;   
            height: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 9999px;
            margin-right: 1rem;
            margin-top: 0.125rem;
            border: 2px solid #9ca3af; 
            position: relative;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .active-quiz-bubble {
            border-color: #a78bfa;
            background-color: #a78bfa;
        }

        .correct-bubble {
            border-color: #22c55e;
            background-color: #22c55e;
        }

        .incorrect-bubble {
            border-color: #ef4444;
            background-color: #ef4444;
        }

        .quiz-bubble-dot {
            width: 0.625rem;    
            height: 0.625rem;
            border-radius: 9999px;
            background-color: white;
            opacity: 0;
            position: absolute;
            transition: opacity 0.3s ease;
        }

        .quiz-input:checked + .quiz-bubble .quiz-bubble-dot,
        .active-quiz-bubble .quiz-bubble-dot,
        .correct-bubble .quiz-bubble-dot,
        .incorrect-bubble .quiz-bubble-dot {
            opacity: 1;
        }

        .question-container {
            background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
            border-radius: 1rem;
            padding: 2rem;
            margin-bottom: 2rem;
            color: white;
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
        }

        .question-passage {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 0.75rem;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border-left: 4px solid rgba(255, 255, 255, 0.3);
        }

        .progress-bar {
            height: 0.5rem;
            background-color: #e5e7eb;
            border-radius: 9999px;
            overflow: hidden;
            margin-bottom: 2rem;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
            border-radius: 9999px;
            transition: width 0.5s ease;
        }

        .explain-button {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1rem;
            box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
        }

        .explain-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(245, 158, 11, 0.4);
        }

        .explanation-box {
            background-color: #fffbeb;
            border: 1px solid #f59e0b;
            border-radius: 0.75rem;
            padding: 1rem;
            margin-top: 1rem;
            border-left: 4px solid #f59e0b;
        }

        .nav-button {
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .nav-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .nav-button:not(:disabled):hover {
            transform: translateY(-1px);
        }

        .primary-button {
            background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
            color: white;
            border: none;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        .primary-button:not(:disabled):hover {
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        .secondary-button {
            background-color: white;
            color: #374151;
            border: 2px solid #d1d5db;
        }

        .secondary-button:not(:disabled):hover {
            background-color: #f9fafb;
            border-color: #9ca3af;
        }

        .score-container {
           
            border-radius: 1.5rem;
            padding: 3rem;
            text-align: center;
            
            
        }

        @media (max-width: 768px) {
            .question-container {
                padding: 1.5rem;
            }
            
            .quiz-option {
                padding: 0.875rem;
            }
            
            .nav-button {
                padding: 0.625rem 1.25rem;
                font-size: 0.875rem;
            }
        }

:root.dark .quiz-option {
    background-color: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

:root.dark .quiz-option:hover {
    background-color: #312e81;
    border-color: #8b5cf6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

:root.dark .quiz-option.active-quiz-option {
    background-color: #312e81;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

:root.dark .quiz-option.correct-answer {
    background-color: #022c22;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

:root.dark .quiz-option.incorrect-answer {
    background-color: #7f1d1d;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

:root.dark .quiz-bubble {
    border-color: #475569;
    background-color: #1e293b;
}

:root.dark .active-quiz-bubble {
    border-color: #8b5cf6;
    background-color: #8b5cf6;
}

:root.dark .correct-bubble {
    border-color: #22c55e;
    background-color: #22c55e;
}

:root.dark .incorrect-bubble {
    border-color: #ef4444;
    background-color: #ef4444;
}

:root.dark .question-container {
    background: linear-gradient(135deg, #1e3a8a 0%, #4f46e5 100%);
    color: #f8fafc;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

:root.dark .question-passage {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid rgba(255, 255, 255, 0.2);
}

:root.dark .progress-bar {
    background-color: #334155;
}

:root.dark .explain-button {
    background: linear-gradient(135deg, #facc15 0%, #d97706 100%);
    box-shadow: 0 2px 4px rgba(234, 179, 8, 0.4);
    color: black;
}

:root.dark .explain-button:hover {
    box-shadow: 0 4px 8px rgba(234, 179, 8, 0.6);
}

:root.dark .explanation-box {
    background-color: #292524;
    border-color: #facc15;
    border-left-color: #facc15;
    color: #fef9c3;
}

:root.dark .primary-button {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

:root.dark .primary-button:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

:root.dark .secondary-button {
    background-color: #1e293b;
    color: #f1f5f9;
    border-color: #334155;
}

:root.dark .secondary-button:hover {
    background-color: #0f172a;
    border-color: #475569;
}

:root.dark .score-container {
    background-color: #1e293b;
    color: #f1f5f9;
}
