  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f5f7fa;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 56px;
            background-color: #d1e4ff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1rem;
            box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
            z-index: 1200;
        }

        #menu-toggle {
            background-color: transparent;
            border: none;
            color: #004aad;
            font-size: 2rem;
            cursor: pointer;
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
            transition: background-color 0.2s;
        }

        #menu-toggle:hover { background-color: #a8c3ff; }

        .header-text {
            color: #004aad;
            font-weight: 600;
            font-size: 1.2rem;
            margin-left: auto;
            padding: 0 1rem;
        }

        .sidebar {
            width: 250px;
            background-color: #004aad;
            color: white;
            display: flex;
            flex-direction: column;
            padding: 1rem;
            transition: transform 0.3s ease;
            position: fixed;
            top: 56px;
            left: 0;
            height: calc(100vh - 56px);
            transform: translateX(-100%);
            z-index: 1000;
        }

        .sidebar.show { transform: translateX(0); }

        .sidebar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .sidebar-header h2 { font-size: 1.5rem; }

        #close-btn {
            background: transparent;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            padding: 0;
            line-height: 1;
        }

        .sidebar a {
            color: white;
            text-decoration: none;
            margin: 0.27rem 0;
            font-size: 1.02rem;
            display: block;
            transition: background 0.2s;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
        }

        .sidebar a:hover { background-color: #0066cc; }
        .sidebar a.sustine-proiect {
            background-color: #374151;
            color: #f9fafb;
            font-weight: 600;
            text-align: center;
            padding: 0.6rem 0.8rem;
            margin-top: 0.2rem;
            border-radius: 8px;
            font-size: 1.05rem;
            transition: background-color 0.3s, transform 0.2s;
        }
        .sidebar a.sustine-proiect:hover { background-color: #1f2937; transform: scale(1.05); }
        .sidebar a i { margin-left: 0.5rem; }

        .content-wrapper {
            flex: 1 0 auto;
            padding-top: 56px;
            display: flex;
            flex-direction: row;
            transition: margin-left 0.3s ease;
            position: relative;
        }

        .content-wrapper.shifted { margin-left: 250px; }

        .main {
            flex: 2;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            gap: 20px;
            overflow-y: auto;
            width: 100%;
        }

        /* ================== CARD INTAREBARI ================== */
        .question-card {
            background-color: #fff;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 6px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .question-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.12);
        }

        .question-text { font-weight: 600; font-size: 18px; margin-bottom: 15px; }
        .question-image { text-align: center; margin-bottom: 15px; }
        .question-image img { max-width: 100%; max-height: 250px; border-radius: 12px; }

        .answers {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
        }

        .answer {
            padding: 12px 15px;
            border-radius: 10px;
            text-align: center;
            font-weight: 600;
            cursor: pointer;
            border: 2px solid #d1d5db;
            transition: all 0.3s;
        }

        .answer.correct { background-color: #10b981; color: white; border-color: #059669; }
        .answer.incorrect { background-color: #ef4444; color: white; border-color: #b91c1c; }
        .answer:hover { opacity: 0.9; }

        @media (max-width: 768px) {
            .answers { grid-template-columns: 1fr; }
            .question-text { font-size: 16px; }
            .question-image img { max-height: 200px; }
        }

        footer {
            background-color: #d1e4ff;
            color: #004aad;
            font-size: 1rem;
            text-align: center;
            padding: 1rem 1.5rem;
            box-shadow: 0 -2px 4px rgb(0 0 0 / 0.1);
            font-weight: 600;
            line-height: 1.3;
            margin-top: auto;
        }
        .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination button {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.pagination button:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.pagination .page-info {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}