        :root {
            --primary:rgb(22, 36, 57);
            --bodyBG: rgb(1 52 102);
            --secondaryBG:rgba(255, 255, 255, 0.1);
            --textWhite: white;
            --secondary: #3498db;
            --sessionnaire: #f39c12;
            --Abscent: #e74c3c;
            --light: #f8f9fa;
            --gray: #95a5a6;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: 'Tajawal', sans-serif;
            background-color:var(--bodyBG);
            line-height: 1.6;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            min-height: 100vh;
            position: relative;
            padding-bottom : 30px;
        }
        
        .exams-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
            justify-items: center;
        }

        .exam-card {
            background: var(--secondaryBG);
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            width: 200px;
        }
        
        .exam-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        
        .exam-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 15px;
            color: var(--secondary);
            font-size: 24px;
        }
        
        .exam-name {
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--textWhite);
        }
        
        .exam-date {
            font-size: 13px;
            color: var(--gray);
        }
        
        .content {
            max-width: 500px;
            width: 100%;
            overflow: hidden;
        }
        .browser-card {
            max-width: 500px;
            width: 100%;
            overflow: hidden;
            padding: 20px;
            padding-top: 0px;
        }
        
        .header {
            text-align: center;
            color: var(--textWhite);
            position: relative;
            margin-top: 20px;
        }
        
        .logo {
            width: 160px;
            margin-bottom: 5px;
            filter: brightness(0) invert(1);
        }
        
        h1 {
            font-weight: 500;
            font-size: 24px;
            margin-bottom: 5px;
        }
        
        .subtitle {
            font-weight: 300;
            opacity: 0.9;
            font-size: 16px;
        }
        
        .breadcrumb {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 5px;
            margin-bottom: 10px;
            padding: 8px;
            background:  var(--secondaryBG);
            border-radius: 10px;
        }
        
        .breadcrumb a {
            text-decoration: none;
            padding: 6px 12px;
            border-radius: 6px;
            transition: all 0.2s;
            font-weight: 500;
        }
        
        .breadcrumb .separator {
            color: var(--gray);
            font-size: 14px;
        }
        
        .items-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 15px;
            display: flex;
            flex-wrap: wrap;
            margin: 20px 0;
        }
        
        .item {
            border-radius: 10px;
            padding: 18px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            flex: 1;
            min-width: calc(50% - 15px);
            background: var(--secondaryBG);
            border: 1px;
            color:var(--textWhite);
            backdrop-filter: blur(5px);
        }
        
        .item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-color: var(--secondary);
        }
        
        .item-icon {
            width: 50px;
            height: 50px;
            background: var(--light);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 15px;
            color: var(--secondary);
            font-size: 20px;
        }
        
        .item-name {
            font-weight: 600;
            margin-bottom: 5px;
            font-size: 16px;
        }
        
        .item-meta {
            font-size: 13px;
            color: var(--gray);
        }
        
        .no-data {
            background: var(--textWhite);
            padding: 40px 20px;
            text-align: center;
            border-radius: 10px;
            background: var(--secondaryBG);
            margin: 50px 0;
        }
        
        .no-data-icon {
            font-size: 48px;
            margin-bottom: 15px;
            color: #bdc3c7;
        }
        
        .no-data h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: white
        }
        .no-data p {
            color: white
        }
        
        .actions {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        
        .btn {
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s ease;
            font-size: 14px;
        }
        
        .btn-primary {
            background-color: var(--secondary);
            color: var(--textWhite);
        }
        
        .btn-outline {
            background: transparent;
            border: 1px solid var(--secondary);
            color: var(--secondary);
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        }
        .student-profile {
            text-align: center;
            margin-bottom: 25px;
        }
        
        .student-name {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary);
            margin: 15px 0;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary);
            display: inline-block;
        }
        
        .detail-card {
            background: var(--light);
            padding: 12px 20px;
            border-radius: 10px;
            min-width: 150px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }
        
        .detail-value {
            font-size: 16px;
            font-weight: 500;
            margin: 5px;
            color: var(--textWhite);
        }
        
        .average {
            font-size: 18px;
            font-weight: 700;
            margin: 5px;
        }
        
        .decision {
            font-size: 32px;
            font-weight: 800;
            margin: 5px;
        }
        
        .success {
            color: var(--success);
        }
        
        .fail {
            color: var(--fail);
        }
        .sessionnaire {
            color: var(--sessionnaire);
        }
        .Abscent {
            color: var(--gray)
        }
        .no-decision {
            color: var(--gray);
        }
        
        .img-section {
            margin: 30px 0;
        }
        
        .img-row {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .img-large {
            flex: 1;
            min-width: 100%;
            height: 200px;
            border-radius: 10px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .img-medium {
            flex: 1;
            min-width: 10%;
            height: 100px;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .img-small {
            width: 120px;
            height: 120px;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .img-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: cover;
        }
        
        .img-placeholder {
            color: var(--gray);
            text-align: center;
            padding: 15px;
        }
        
        .img-placeholder i {
            font-size: 24px;
            margin-bottom: 10px;
            display: block;
        }
        
        .actions {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 25px;
            flex-wrap: wrap;
        }
        
        .btn {
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s ease;
            font-size: 14px;
        }
        
        .btn-primary {
            background-color: var(--secondary);
            color: var(--textWhite);
        }
        
        .btn-outline {
            background: transparent;
            border: 1px solid var(--secondary);
            color: var(--secondary);
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        }
        
        
        .search-box {
            background: var(--secondaryBG);
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 25px;
            border: 1px ;
        }
        
        .search-title {
            font-size: 18px;
            color: var(--textWhite);
            margin-bottom: 15px;
            font-weight: 600;
            text-align: center;
        }
        
        .search-form {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .search-input {
            flex: 1;
            background:var(--secondaryBG);
            min-width: 200px;
            padding: 12px 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: var(--textWhite);
            border-radius: 8px;
            font-family: 'Tajawal', sans-serif;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }
        
        .search-button {
            background-color: var(--secondary);
            color: var(--textWhite);
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            cursor: pointer;
            font-family: 'Tajawal', sans-serif;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .search-button:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        }
        
        @media (max-width: 768px) {
            
            .img-small {
                width: 60px;
                height: 60px;
            }
            
            .student-name {
                font-size: 24px;
            }
        }

        :root {
            --success: #27ae60;
            --fail: #e74c3c;
            --light: #f8f9fa;
            --text: #34495e;
            --ad-border: #bdc3c7;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        .result-card {
            max-width: 800px;
            width: 100%;
            background: var(--textWhite);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }
        
        
        h1 {
            font-weight: 500;
            font-size: 24px;
            margin-bottom: 5px;
        }
        
        .subtitle {
            font-weight: 300;
            opacity: 0.9;
            font-size: 16px;
        }
        
        
        .student-profile {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .student-name {
            font-size: 28px;
            font-weight: 700;
            color: var(--textWhite);
            margin: 15px 0 5px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary);
            display: inline-block;
        }
        
        .student-id {
            font-size: 16px;
            color: var(--gray);
            margin-bottom: 20px;
            display: block;
        }
        
        .student-details {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            margin: 25px 0;
            background: var(--light);
            border-radius: 10px;
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
            padding: 15px 20px;
        }
        
        .detail-item {
            display: flex;
            align-items: center;
            gap: 5px;
            width: 100%;
            justify-content: space-between;
            border-bottom: 1px dashed #eee;
            padding-bottom: 8px;
        }
        
        .detail-label {
            font-size: 14px;
            color: var(--gray);
        }
        
        .detail-value {
            font-size: 16px;
            font-weight: 500;
        }
        
        .img-section {
            margin: 25px 0;
        }
        
        .actions {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 25px;
            flex-wrap: wrap;
        }
        
        .btn {
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s ease;
            font-size: 14px;
        }
        
        .btn-primary {
            background-color: var(--secondary);
            color: var(--textWhite);
        }
        
        .btn-outline {
            background: transparent;
            border: 1px solid var(--secondary);
            color: var(--secondary);
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        }
        
        .footer {
            bottom: 0;
            left: 0;
            right: 0;
            text-align: center;
            padding: 15px 0;
            color: var(--gray);
            font-size: 13px;
        }
        

        a {
            color: var(--secondary);
            text-decoration: none;
            border-radius: 6px;
            transition: all 0.2s;
            font-weight: 500;
        }
        .students-list {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    .student-card-list {
        background: var(--secondaryBG);
        padding: 12px 15px;
        margin-bottom: 8px;
        border-radius: 16px;
        border: 1px ;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .student-card-list:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
    
    .student-card-list:active {
        transform: translateY(0);
    }
    
    .list-rank {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 12px;
        font-weight: bold;
        position: relative;
        flex-shrink: 0;
        color: var(--textWhite);
        font-size: 0.9em;
        border: 1px solid  #f8f9fa;
        border-radius: 50%;
    }
    
    .student-details-list {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    .student-grade-list {
        background:rgb(85, 137, 186);
        padding: 4px 16px;
        border-radius: 20px;
        font-weight: bold;
        color: var(--textWhite);
        font-size: 14px;
        margin: 12px;
    }