/* --- Global Reset & Variable Tokens --- */
:root {
    --primary: #3F51B5;
    --primary-light: #e8eaf6;
    --accent: #d32f2f;
    --text-dark: #2c3e50;
    --text-muted: #607d8b;
    --bg-light: #f9f9f9;
    --border-color: #cfd8dc;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f4f6f9;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 20px;
}

/* --- Container Layout --- */
.fullrewrap {
    max-width: 1160px;
    width: 100%;
    margin: 0% auto;
    background: #ffffff;
    padding: 25px 25px 17px 25px;
    border-radius: 12px;
    box-shadow: 1px 2px 10px 3px #ddd;
}

#panel a{
    background: #099600;
    color: white;
    font-family: 'Roboto';
}
#panel a:hover{
    background: #009688;
    color: white;
}

.Class {
    background: #2196f347;
    padding: 4px 11px 5px 11px;
    border-radius: 21px;
}
.Board{
    background: #00973547;
    padding: 4px 11px 5px 11px;
    border-radius: 21px;
}
.Test{
    background: #9e30f147;
    padding: 4px 11px 5px 11px;
    border-radius: 21px; 
}
.Practical{
    background: #ffbf0052;
    padding: 4px 11px 5px 11px;
    border-radius: 21px; 
}



/* --- Institutional Header Banner --- */
.fullrewrap .heading {
    background: #e1f6ff;
    padding: 5px 11px;
    border-radius: 8px;
    border-left: 5px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    font-size: 23px;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    font-family: 'KohoB';
    text-transform: uppercase;
}

/* --- Branding & Navigation Area --- */
.fullrewrap .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 11px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--border-color);
}
.fullrewrap .head .headleft h1 {
    color: #0076d3;
    font-size: 27px;
    font-weight: 700;
    font-family: NotoCB;
}

.fullrewrap .head .headleft p {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 4px;
}

.fullrewrap .head .headright .nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
}

.fullrewrap .head .headright .nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.fullrewrap .head .headright .nav-links a:hover,
.fullrewrap .head .headright .nav-links a.active {
    background-color: var(--primary-light);
}

.fullrewrap .head .headright .nav-links .divider {
    color: var(--border-color);
    font-size: 12px;
}

/* --- Interactive Results Data Table --- */
.fullrewrap .remain {
    width: 100%;
    margin-bottom: 2px;
    overflow-x: auto;
}

.fullrewrap .remain table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    text-align: left;
}

.fullrewrap .remain table th {
    text-align: center;
    background-color: #2196f37a;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    padding: 7px 6px;
    font-family: 'NotoCB';
    letter-spacing: 0.5px;
    border-bottom: none;
}

.fullrewrap .remain table tbody tr:hover{
    background:#2196f314 !important;
}

#leftalign{
    text-align:left;
}
.fullrewrap .remain table td {
    padding: 6px 6px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 300;
    color: var(--text-dark);
    font-family: Noto;
    text-align: center;
}
.fullrewrap .remain table tbody tr:hover {
    background-color: #fafbfc;
}

.fullrewrap .remain table .notice-no {
    font-family: monospace;
    font-weight: 600;
    color: var(--text-muted);
}

/* UI Elements inside table */
.badge {
    background-color: #fff3e0;
    color: #e65100;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #2196f3;
    color: #ffffff !important;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    transition:0.3s all ease-in-out;
}
table td a{
    text-decoration:none;
}

table td a:hover{
    text-decoration:none; 
}

.btn-download {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    transition:0.3s all ease-in-out;
}
.btn-download:hover{
     transform:scale(1.1);
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.btn-download:hover::before {
    left: 100%;
    transition: left 0.8s ease-in-out;
}

.btn-downloadn:hover {
    transform: scale(1.005);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-download:active {
    transform: scale(0.995);
}



.btn-download:hover {
    background-color: #1b5e20;
}

/* --- Clean Modern Footer --- */
.fullrewrap .footer {
    display: flex;
    align-items: center;
    gap: 1px;
    background: #ffffff;
    padding: 3px 6px;
    border-radius: 4px;
}

.fullrewrap .footer .footleft {
    flex: 0 0 10%;
}




.fullrewrap .footer .color-indicator {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.fullrewrap .footer .footright {
    flex: 0 0 90%;
    color: var(--text-muted);
    font-size: 14px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .fullrewrap {
        padding: 15px;
        margin: 10px auto;
    }

    .fullrewrap .head {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .fullrewrap .head .headright {
        width: 100%;
    }

    .fullrewrap .head .headright .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .fullrewrap .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
