:root {
            --primary-color: #4a90e2;
            --success-color: #27ae60;
            --danger-color: #e74c3c;
            --warning-color: #f39c12;
            --bg-light: #f8f9fa;
            --card-shadow: 0 2px 8px rgba(0,0,0,0.1);
            --card-shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
        }

        * {
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(135deg, #23292e 0%, #764ba2 100%);
            background-attachment: fixed;
            color: #333;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            padding: 0;
            margin: 0;
            min-height: 100vh;
        }

        .main-container {
            padding: 20px 15px;
            margin-bottom: 80px;
        }

/* Report Button Styles */
.report-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.report-btn:hover:not(.reported):not(:disabled) {
    background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.report-btn.reported,
.report-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.7;
}

.report-btn.reported:hover,
.report-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Verification Badge */
.badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: #212529;
    font-weight: 500;
    padding: 4px 8px;
}

/* Skip Button (make sure it looks good next to report button) */
.skip-btn {
    background: var(--warning-color);
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.skip-btn:hover {
    background: #e67e22;
    transform: scale(1.05);
}
/* Add this to your existing CSS */
.skip-pill {
    background: white;
    border: 2px solid var(--warning-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #856404;
    position: relative;
}

.skip-pill:hover {
    background: var(--warning-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Add a little hand cursor and tooltip effect */
.skip-pill::after {
    content: 'Click to attempt';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.skip-pill:hover::after {
    opacity: 1;
}
        /* Timer Section */
        .timer-bar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            padding: 12px 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            z-index: 1001;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .timer-display {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 18px;
            font-weight: bold;
        }

        .timer-icon {
            font-size: 24px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .timer-warning {
            animation: blink 1s infinite;
        }

        @keyframes blink {
            0%, 50%, 100% { opacity: 1; }
            25%, 75% { opacity: 0.5; }
        }

        .progress-indicator {
            font-size: 14px;
            color: rgba(255,255,255,0.9);
        }

        /* Mobile-first Scoreboard */
        .mobile-scoreboard {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 12px 15px;
            box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
            z-index: 1000;
            display: none;
        }

        .mobile-scoreboard-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 8px 0;
        }

        .mobile-scoreboard-header h6 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
        }

        .mobile-scoreboard-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .mobile-scoreboard-content.active {
            max-height: 500px;
            margin-top: 15px;
            overflow-y: auto;
        }

        .score-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-bottom: 15px;
        }

        .score-item {
            background: rgba(255,255,255,0.15);
            padding: 10px;
            border-radius: 8px;
            backdrop-filter: blur(10px);
        }

        .score-item small {
            display: block;
            font-size: 11px;
            opacity: 0.9;
            margin-bottom: 4px;
        }

        .score-item strong {
            font-size: 18px;
            display: block;
        }

        /* Desktop Sidebar */
        .desktop-sidebar {
            position: fixed;
            top: 70px;
            right: 20px;
            width: 210px;
            background: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: var(--card-shadow);
            z-index: 1000;
            display: none;
            max-height: calc(100vh - 100px);
            overflow-y: auto;
        }

        .sidebar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--bg-light);
        }

        .sidebar-header h5 {
            margin: 0;
            color: var(--primary-color);
            font-size: 18px;
        }

        .toggle-icon {
            cursor: pointer;
            font-size: 20px;
            color: var(--primary-color);
            transition: transform 0.3s ease;
        }

        .toggle-icon.rotated {
            transform: rotate(180deg);
        }

        .sidebar-content {
            max-height: 1000px;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .sidebar-content.collapsed {
            max-height: 0;
        }

        .stat-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            background: var(--bg-light);
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 14px;
            color: #666;
        }

        .stat-value {
            font-size: 18px;
            font-weight: bold;
            color: var(--primary-color);
        }

        /* Skip Tracker */
        .skip-tracker {
            margin-top: 20px;
            padding: 15px;
            background: #fff3cd;
            border-radius: 10px;
            border-left: 4px solid var(--warning-color);
        }

        .skip-tracker h6 {
            margin: 0 0 10px 0;
            color: #856404;
            font-size: 14px;
        }

        .skip-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .skip-pill {
            background: white;
            border: 2px solid var(--warning-color);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #856404;
        }

        .skip-pill:hover {
            background: var(--warning-color);
            color: white;
            transform: scale(1.05);
        }

        /* Header */
        .test-header {
            background: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: var(--card-shadow);
            margin-bottom: 25px;
            margin-top: 70px;
            text-align: center;
        }

        .test-header h1 {
            margin: 0;
            font-size: 24px;
            color: var(--primary-color);
            font-weight: 600;
        }

        .page-indicator {
            margin-top: 10px;
            font-size: 14px;
            color: #666;
        }

        /* Question Cards */
        .question-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: var(--card-shadow);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            position: relative;
        }

        .question-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--card-shadow-hover);
        }

        .question-card.attempted {
            border-left: 4px solid var(--primary-color);
        }

        .question-card.skipped {
            border-left: 4px solid var(--warning-color);
            background: #fffef5;
        }

        .question-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .question-number {
            display: inline-block;
            background: var(--primary-color);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
        }

        .skip-btn {
            background: var(--warning-color);
            color: white;
            border: none;
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .skip-btn:hover {
            background: #e67e22;
            transform: scale(1.05);
        }

        .question-text {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 20px;
            color: #2c3e50;
            font-weight: 500;
        }

        .option-btn {
            width: 100%;
            text-align: left;
            padding: 15px 20px;
            margin-bottom: 12px;
            border: 2px solid #e0e0e0;
            background: white;
            border-radius: 10px;
            font-size: 15px;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .option-btn:hover:not(.btn-success):not(.btn-danger) {
            border-color: var(--primary-color);
            background: #f8f9ff;
            transform: translateX(5px);
        }

        .option-btn:active {
            transform: scale(0.98);
        }

        .option-btn.btn-success {
            background: var(--success-color);
            border-color: var(--success-color);
            color: white;
        }

        .option-btn.btn-danger {
            background: var(--danger-color);
            border-color: var(--danger-color);
            color: white;
        }

        .option-btn.btn-success:hover,
        .option-btn.btn-danger:hover {
            transform: translateX(0);
        }

        .option-btn:disabled {
            cursor: not-allowed;
            opacity: 0.6;
        }

        .correct-answer {
            background: #d4edda;
            border-left: 4px solid var(--success-color);
            padding: 12px 15px;
            border-radius: 8px;
            margin-top: 15px;
            color: #155724;
            font-weight: 500;
        }

        /* Navigation */
        .navigation-container {
            position: fixed;
            bottom: 80px;
            left: 0;
            right: 0;
            padding: 15px;
            background: white;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            z-index: 999;
        }

        .nav-buttons {
            display: flex;
            justify-content: space-between;
            max-width: 1200px;
            margin: 0 auto;
            gap: 10px;
        }

        .nav-btn {
            flex: 1;
            padding: 12px 20px;
            border-radius: 10px;
            font-weight: 600;
            border: none;
            transition: all 0.3s ease;
            font-size: 14px;
        }

        .nav-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .btn-finish {
            background: var(--danger-color);
            color: white;
            padding: 12px 25px;
            border-radius: 10px;
            border: none;
            font-weight: 600;
            width: 100%;
            margin-top: 15px;
            transition: all 0.3s ease;
        }

        .btn-finish:hover {
            background: #c0392b;
            transform: translateY(-2px);
        }

        /* Skipped Questions Modal */
        .skipped-questions-section {
            margin-bottom: 30px;
        }

        .skipped-banner {
            background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
            color: white;
            padding: 15px 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .skipped-banner h4 {
            margin: 0;
            font-size: 18px;
        }

        .skipped-question {
            background: #fff3cd;
            border-left: 4px solid var(--warning-color);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .mobile-scoreboard {
                display: block;
            }

            .timer-bar {
                flex-direction: column;
                gap: 8px;
                padding: 10px 15px;
            }

            .timer-display {
                font-size: 16px;
            }

            .main-container {
                padding: 15px 10px;
                margin-bottom: 180px;
            }

            .test-header {
                margin-top: 80px;
            }

            .test-header h1 {
                font-size: 20px;
            }

            .question-text {
                font-size: 15px;
            }

            .option-btn {
                padding: 12px 15px;
                font-size: 14px;
            }

            .navigation-container {
                bottom: 70px;
            }

            .nav-btn {
                font-size: 13px;
                padding: 10px 15px;
            }
        }

        @media (min-width: 769px) {
            .desktop-sidebar {
                display: block;
            }

            .main-container {
                max-width: calc(100% - 340px);
                margin: 20px auto;
                margin-bottom: 20px;
            }

            .navigation-container {
                position: static;
                background: transparent;
                box-shadow: none;
                padding: 0;
                margin-top: 30px;
            }

            .nav-buttons {
                background: white;
                padding: 20px;
                border-radius: 15px;
                box-shadow: var(--card-shadow);
            }
        }

        @media (min-width: 1200px) {
            .main-container {
                max-width: 900px;
            }
        }

        /* Accessibility */
        .option-btn:focus,
        .nav-btn:focus,
        .btn-finish:focus,
        .skip-btn:focus {
            outline: 3px solid var(--primary-color);
            outline-offset: 2px;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #357abd;
        }