        .result-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Header Section */
        .result-header {
          background: var(--primary-gradient);
    color: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideDown 0.6s ease-out;
        }

        .result-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .result-header h1 {
            font-size: 2.5rem;
            font-weight: 700;
           /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
        color: #ffffff;
       /*     -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;*/
            margin-bottom: 10px;
            position: relative;
        }

        .result-header .subtitle {
            color: #ffffff;
            font-size: 1.1rem;
            position: relative;
        }

        /* Stats Cards */
        .stats-row {
            margin-bottom: 30px;
        }

        .exam-result-stat-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .exam-result-stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
        }

        .exam-result-stat-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .exam-result-stat-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 15px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .exam-result-stat-card.total .exam-result-stat-icon {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
        }

        .exam-result-stat-card.best .exam-result-stat-icon {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
        }

        .exam-result-stat-card.average .exam-result-stat-icon {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            color: white;
        }

        .exam-result-stat-card.latest .exam-result-stat-icon {
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
            color: white;
        }

        .stat-value {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 10px 0 5px;
        }

        .exam-result-stat-card.total .stat-value { color: #3b82f6; }
        .exam-result-stat-card.best .stat-value { color: #10b981; }
        .exam-result-stat-card.average .stat-value { color: #f59e0b; }
        .exam-result-stat-card.latest .stat-value.pass { color: #10b981; }
        .exam-result-stat-card.latest .stat-value.fail { color: #ef4444; }

        .stat-label {
            color: #6c757d;
            font-size: 0.95rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Attempts Section */
        .attempts-section {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            margin-bottom: 30px;
        }

        .attempts-section h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .attempts-section .subtitle {
            color: #6c757d;
            margin-bottom: 30px;
        }

        /* Attempt Cards */
        .attempt-card {
            background: #fff;
            border: 2px solid #e5e7eb;
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 20px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .attempt-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 5px;
            background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .attempt-card:hover {
            border-color: #667eea;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
            transform: translateX(5px);
        }

        .attempt-card:hover::before {
            opacity: 1;
        }

        .attempt-card.latest {
            border-color: #667eea;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
        }

        .attempt-card.latest::before {
            opacity: 1;
        }

        .attempt-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .attempt-number {
            font-size: 1.3rem;
            font-weight: 700;
            color: #1f2937;
        }

        .latest-badge {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            animation: pulse-badge 2s ease-in-out infinite;
        }

        @keyframes pulse-badge {
            0%, 100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7); }
            50% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
        }

        .attempt-body {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .attempt-info {
            flex: 1;
        }

        .attempt-date {
            color: #6c757d;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 15px;
        }

        .score-display {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 25px;
            background: #f9fafb;
            border-radius: 12px;
            min-width: 250px;
        }

        .score-numbers {
            font-size: 2rem;
            font-weight: 700;
        }

        .score-numbers.pass { color: #10b981; }
        .score-numbers.fail { color: #ef4444; }

        .score-percentage {
            font-size: 1.5rem;
            font-weight: 600;
            color: #6c757d;
        }

        .status-badge {
            padding: 10px 20px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .status-badge.pass {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            color: #065f46;
        }

        .status-badge.fail {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            color: #991b1b;
        }

        /* Action Buttons */
        .action-buttons {
            text-align: center;
            margin-top: 30px;
        }

        .exam-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 15px 35px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 0 10px;
        }

        .exam-btn-success {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
        }

        .exam-btn-success:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
            color: white;
        }

        .exam-btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
        }

        .exam-btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
            color: white;
        }

        /* Progress Bar */
        .progress-indicator {
            background: #f3f4f6;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 30px;
        }

        .progress-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-weight: 600;
            color: #374151;
        }

        .progress {
            height: 12px;
            border-radius: 10px;
            background: #e5e7eb;
            position: relative;
            overflow: visible;
        }

        .progress-bar {
            border-radius: 10px;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 10px;
            color: white;
            font-weight: 700;
            font-size: 0.85rem;
            position: relative;
        }

        .progress-bar::after {
           /* content: attr(data-width) '%';*/
            position: absolute;
            right: -45px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 3px 10px;
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: 700;
            box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .result-header h1 {
                font-size: 1.8rem;
            }

            .stat-value {
                font-size: 2rem;
            }

            .attempt-body {
                flex-direction: column;
                align-items: flex-start;
            }

            .score-display {
                width: 100%;
                justify-content: center;
            }

            .exam-btn {
                display: block;
                width: 100%;
                margin: 10px 0;
            }
            .attempts-section{
                padding: 12px
            }
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
            border-radius: 15px;
        }

        .empty-state i {
            font-size: 4rem;
            margin-bottom: 20px;
            color: #9ca3af;
        }

        .empty-state h4 {
            color: #374151;
            margin-bottom: 10px;
        }

        .empty-state p {
            color: #6c757d;
        }
