:root {
            --primary: #3498db;
            --primary-dark: #2980b9;
            --secondary: #2c3e50;
            --accent: #1abc9c;
            --light: #f8f9fa;
            --dark: #34495e;
            --success: #2ecc71;
            --warning: #f39c12;
            --danger: #e74c3c;
            --gray: #ecf0f1;
            --border: #e0e6ed;
            --text: #2c3e50;
            --text-light: #7f8c8d;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: #f8f9fa;
            color: var(--text);
            display: flex;
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        /* Sidebar Styles */
        .sidebar {
            width: 260px;
            background: white;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
            padding: 20px 0;
            transition: all 0.3s ease;
            z-index: 100;
            position: fixed;
            height: 100vh;
            overflow-y: auto;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            padding: 0 20px 20px;
            border-bottom: 1px solid var(--border);
            margin-bottom: 20px;
        }
        
        .logo {
            width: 40px;
            height: 40px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            margin-right: 12px;
        }
        
        .logo-text {
            font-weight: 700;
            font-size: 20px;
            color: var(--dark);
        }
        
        .menu-title {
            padding: 0 20px;
            font-size: 12px;
            text-transform: uppercase;
            color: var(--text-light);
            font-weight: 600;
            margin-bottom: 10px;
            letter-spacing: 1px;
        }
        
        .nav-item {
            padding: 12px 20px;
            display: flex;
            align-items: center;
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s;
            border-left: 3px solid transparent;
        }
        
        .nav-item:hover {
            background: rgba(52, 152, 219, 0.05);
            color: var(--primary);
        }
        
        .nav-item.active {
            background: rgba(52, 152, 219, 0.1);
            color: var(--primary);
            border-left-color: var(--primary);
        }
        
        .nav-item i {
            margin-right: 12px;
            width: 20px;
            text-align: center;
            font-size: 18px;
        }
        
        /* Main Content */
        .main-content {
            flex: 1;
            margin-left: 260px;
            padding: 30px;
        }
        
        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border);
        }
        
        .header-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--dark);
        }
        
        .header-actions {
            display: flex;
            align-items: center;
        }
        
        .search-box {
            position: relative;
            margin-right: 20px;
        }
        
        .search-box input {
            padding: 10px 15px 10px 40px;
            border-radius: 30px;
            border: 1px solid var(--border);
            background: white;
            width: 220px;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .search-box input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }
        
        .search-box i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
        }
        
        .user-menu {
            display: flex;
            align-items: center;
        }
        
        .notification {
            position: relative;
            margin-right: 20px;
            color: var(--text);
            cursor: pointer;
        }
        
        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--danger);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--accent);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            cursor: pointer;
        }
        
        /* Stats Cards */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .stat-card {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
            transition: transform 0.3s ease;
            border: 1px solid var(--border);
            display: flex;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
        }
        
        .stat-icon {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin-right: 20px;
        }
        
        .stat-icon.students {
            background: rgba(52, 152, 219, 0.1);
            color: var(--primary);
        }
        
        .stat-icon.teachers {
            background: rgba(46, 204, 113, 0.1);
            color: var(--success);
        }
        
        .stat-icon.classes {
            background: rgba(155, 89, 182, 0.1);
            color: #9b59b6;
        }
        
        .stat-icon.revenue {
            background: rgba(241, 196, 15, 0.1);
            color: var(--warning);
        }
        
        .stat-content h3 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .stat-content p {
            color: var(--text-light);
            font-size: 14px;
        }
        
        .stat-trend {
            margin-top: 8px;
            font-size: 12px;
            display: flex;
            align-items: center;
        }
        
        .trend-up {
            color: var(--success);
        }
        
        .trend-down {
            color: var(--danger);
        }
        
        /* Charts Section */
        .charts-row {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .chart-container {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
            border: 1px solid var(--border);
        }
        
        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .chart-title {
            font-size: 18px;
            font-weight: 600;
        }
        
        .chart-actions {
            display: flex;
        }
        
        .chart-btn {
            width: 30px;
            height: 30px;
            border-radius: 8px;
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 8px;
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .chart-btn:hover {
            background: var(--gray);
            color: var(--text);
        }
        
        .chart-placeholder {
            height: 300px;
            background: var(--light);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-weight: 500;
        }
        
        /* Recent Activity */
        .activity-container {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
            border: 1px solid var(--border);
        }
        
        .activity-item {
            display: flex;
            padding: 15px 0;
            border-bottom: 1px solid var(--border);
        }
        
        .activity-item:last-child {
            border-bottom: none;
        }
        
        .activity-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 18px;
        }
        
        .activity-icon.student {
            background: rgba(52, 152, 219, 0.1);
            color: var(--primary);
        }
        
        .activity-icon.teacher {
            background: rgba(46, 204, 113, 0.1);
            color: var(--success);
        }
        
        .activity-icon.payment {
            background: rgba(241, 196, 15, 0.1);
            color: var(--warning);
        }
        
        .activity-icon.notice {
            background: rgba(155, 89, 182, 0.1);
            color: #9b59b6;
        }
        
        .activity-content {
            flex: 1;
        }
        
        .activity-title {
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .activity-desc {
            color: var(--text-light);
            font-size: 14px;
            margin-bottom: 8px;
        }
        
        .activity-time {
            font-size: 12px;
            color: var(--text-light);
            display: flex;
            align-items: center;
        }
        
        .activity-time i {
            margin-right: 5px;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .sidebar {
                width: 80px;
            }
            
            .logo-text, .menu-title, .nav-item span {
                display: none;
            }
            
            .main-content {
                margin-left: 80px;
            }
            
            .charts-row {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .header-actions {
                margin-top: 15px;
                width: 100%;
                justify-content: space-between;
            }
            
            .search-box input {
                width: 180px;
            }
        }
        
        @media (max-width: 576px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .main-content {
                margin-left: 0;
                padding: 20px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .search-box input {
                width: 140px;
            }
        }

        /* Additional styles for module pages */
        .module-header {
            background: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .form-container {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .table-container {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        /* Login page specific styles */
        .login-container {
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin-top: 50px;
        }

        .brand-logo {
            font-size: 48px;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .input-group-text {
            background: var(--light);
            border-right: none;
        }

        .form-control {
            border-left: none;
        }

        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
        }

        /* Enhanced Module Styling */
        .module-container {
            background: #f8f9fa;
            min-height: 100vh;
            padding: 20px 0;
        }

        .module-header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 30px 0;
            margin-bottom: 30px;
            border-radius: 0 0 15px 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .module-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .module-subtitle {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 0;
        }

        /* Dashboard Header Enhancements */
        .dashboard-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .dashboard-actions .btn {
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: white;
            font-weight: 600;
            padding: 12px 25px;
            border-radius: 10px;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .dashboard-actions .btn:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.5);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .dashboard-actions .btn i {
            font-size: 1.1rem;
        }

        /* User Info Card in Dashboard Header */
        .user-info-card {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            padding: 12px 16px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        .user-avatar-large {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            color: white;
            margin-right: 12px;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .user-details {
            color: white;
        }

        .user-name {
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 2px;
        }

        .user-role {
            font-size: 0.85rem;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Mobile responsive for dashboard header */
        @media (max-width: 768px) {
            .module-header .d-flex {
                flex-direction: column;
                align-items: flex-start !important;
                gap: 15px;
            }

            .dashboard-actions {
                width: 100%;
                justify-content: space-between;
                flex-wrap: wrap;
                gap: 10px;
            }

            .user-info-card {
                order: 1;
                flex: 1;
                min-width: 200px;
            }

            .dashboard-actions .btn {
                order: 2;
                padding: 10px 20px;
                font-size: 0.9rem;
                flex-shrink: 0;
            }

            .module-subtitle {
                font-size: 1rem;
            }

            .user-avatar-large {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .user-name {
                font-size: 0.9rem;
            }

            .user-role {
                font-size: 0.75rem;
            }
        }

        @media (max-width: 576px) {
            .dashboard-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .user-info-card {
                order: 1;
                margin-bottom: 10px;
            }

            .dashboard-actions .btn {
                order: 2;
                width: 100%;
                justify-content: center;
            }
        }

        .content-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .card-modern {
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            border: none;
            margin-bottom: 30px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card-modern:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .card-header-modern {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-bottom: 2px solid var(--border);
            padding: 20px 25px;
            font-weight: 600;
            font-size: 1.2rem;
            color: var(--dark);
        }

        .card-body-modern {
            padding: 25px;
        }

        .form-group-modern {
            margin-bottom: 20px;
        }

        .form-label-modern {
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 8px;
            display: block;
        }

        .form-control-modern {
            border: 2px solid var(--border);
            border-radius: 10px;
            padding: 12px 15px;
            font-size: 14px;
            transition: all 0.3s ease;
            background: #fafbfc;
        }

        .form-control-modern:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
            background: white;
            outline: none;
        }

        .btn-modern {
            padding: 12px 25px;
            border-radius: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn-primary-modern {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
        }

        .btn-primary-modern:hover {
            background: linear-gradient(135deg, var(--primary-dark), #1f5f8b);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .btn-success-modern {
            background: linear-gradient(135deg, var(--success), #27ae60);
            color: white;
        }

        .btn-warning-modern {
            background: linear-gradient(135deg, var(--warning), #e67e22);
            color: white;
        }

        .btn-danger-modern {
            background: linear-gradient(135deg, var(--danger), #c0392b);
            color: white;
        }

        .table-modern {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }

        .table-modern thead {
            background: linear-gradient(135deg, var(--dark), var(--secondary));
            color: white;
        }

        .table-modern thead th {
            border: none;
            padding: 15px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
        }

        .table-modern tbody td {
            padding: 15px;
            border-bottom: 1px solid var(--border);
            vertical-align: middle;
        }

        .table-modern tbody tr:hover {
            background: rgba(52, 152, 219, 0.05);
        }

        .badge-modern {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .alert-modern {
            border: none;
            border-radius: 10px;
            padding: 15px 20px;
            margin-bottom: 20px;
            font-weight: 500;
        }

        .alert-success-modern {
            background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
            color: var(--success);
            border-left: 4px solid var(--success);
        }

        .alert-danger-modern {
            background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.1));
            color: var(--danger);
            border-left: 4px solid var(--danger);
        }

        .stats-card-modern {
            background: white;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
            border: none;
        }

        .stats-card-modern:hover {
            transform: translateY(-5px);
        }

        .stats-icon-modern {
            width: 60px;
            height: 60px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin: 0 auto 15px;
        }

        .stats-number-modern {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 5px;
        }

        .stats-label-modern {
            color: var(--text-light);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
        }

        /* Enhanced Sidebar Styling */
        .sidebar {
            background: #f8f9fa !important;
            border-right: 1px solid #dee2e6;
            min-height: 100vh;
        }

        .sidebar .position-sticky {
            top: 0;
            height: 100vh;
            display: flex;
            flex-direction: column;
            padding-bottom: 20px;
        }

        .sidebar-user-info {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
            border-radius: 10px !important;
            margin-bottom: 20px;
        }

        .sidebar .nav-link {
            color: #495057;
            padding: 12px 15px;
            margin-bottom: 2px;
            border-radius: 8px;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .sidebar .nav-link:hover {
            background: rgba(52, 152, 219, 0.1);
            color: var(--primary);
            transform: translateX(5px);
        }

        .sidebar .nav-link.active {
            background: var(--primary);
            color: white;
        }

        .sidebar .nav-link.text-danger:hover {
            background: rgba(231, 76, 60, 0.1);
            color: var(--danger);
            transform: translateX(5px);
        }

        .sidebar .nav-link i {
            width: 20px;
            margin-right: 10px;
        }

        .sidebar .border-top {
            border-color: #dee2e6 !important;
            margin-top: auto;
        }

        /* Mobile Sidebar */
        @media (max-width: 767.98px) {
            .sidebar {
                position: fixed;
                top: 70px !important;
                left: -100%;
                width: 280px;
                height: calc(100vh - 70px) !important;
                z-index: 1050;
                transition: left 0.3s ease;
                background: white !important;
                box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            }

            .sidebar.show {
                left: 0;
            }

            .sidebar-overlay {
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                height: calc(100vh - 70px);
                background: rgba(0,0,0,0.5);
                z-index: 1040;
                display: none;
            }

            .sidebar-overlay.show {
                display: block;
            }
        }

        /* Results Card View Styling */
        .result-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
            overflow: hidden;
        }

        .result-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .result-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-bottom: 1px solid #dee2e6;
        }

        .student-name {
            margin: 0;
            color: #2c3e50;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .grade-circle {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            color: white;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        .grade-excellent { background: linear-gradient(135deg, #27ae60, #2ecc71); }
        .grade-good { background: linear-gradient(135deg, #3498db, #5dade2); }
        .grade-average { background: linear-gradient(135deg, #f39c12, #f4d03f); }
        .grade-below { background: linear-gradient(135deg, #95a5a6, #bdc3c7); }
        .grade-fail { background: linear-gradient(135deg, #e74c3c, #ec7063); }
        .grade-unknown { background: linear-gradient(135deg, #7f8c8d, #95a5a6); }

        .result-card-body {
            padding: 20px;
        }

        .subject-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .subject-badge {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .exam-date {
            color: #6c757d;
            font-size: 0.85rem;
        }

        .marks-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .marks-display {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .marks-obtained {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary);
        }

        .marks-separator {
            font-size: 1.2rem;
            color: #6c757d;
        }

        .marks-total {
            font-size: 1.2rem;
            color: #6c757d;
        }

        .percentage-display {
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--success);
            background: rgba(40, 167, 69, 0.1);
            padding: 5px 10px;
            border-radius: 15px;
        }

        .status-info {
            margin-bottom: 15px;
        }

        .status-badge {
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .status-pass {
            background: rgba(40, 167, 69, 0.1);
            color: var(--success);
            border: 1px solid rgba(40, 167, 69, 0.3);
        }

        .status-fail {
            background: rgba(220, 53, 69, 0.1);
            color: var(--danger);
            border: 1px solid rgba(220, 53, 69, 0.3);
        }

        .result-card-actions {
            padding: 15px 20px;
            background: #f8f9fa;
            border-top: 1px solid #dee2e6;
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .result-card-actions .btn {
            flex: 1;
            max-width: 100px;
        }

        /* Mobile responsive for result cards */
        @media (max-width: 768px) {
            .result-card-header {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .marks-info {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .result-card-actions {
                flex-direction: column;
            }

            .result-card-actions .btn {
                max-width: none;
            }
        }