/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-y4uys45z5n] {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #f4f7fb;
}

/* Main page area */
main[b-y4uys45z5n] {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Dashboard/page content */
.content[b-y4uys45z5n] {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 28px;
    padding-bottom: 35px;
    box-sizing: border-box;
}

/* Footer */
.app-footer[b-y4uys45z5n] {
    width: 100%;
    margin-top: auto;
    padding: 18px 25px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    box-sizing: border-box;
}


/* -------------------------------- */
/* BLAZOR ERROR MESSAGE             */
/* -------------------------------- */

#blazor-error-ui[b-y4uys45z5n] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
    box-sizing: border-box;
}

    #blazor-error-ui .dismiss[b-y4uys45z5n] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* -------------------------------- */
/* MOBILE                           */
/* -------------------------------- */

@media (max-width: 640px) {

    .content[b-y4uys45z5n] {
        padding-top: 18px;
        padding-bottom: 25px;
    }

    .app-footer[b-y4uys45z5n] {
        padding: 15px;
        font-size: 12px;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.top-nav[b-z0pdkllupk] {
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    background: linear-gradient( 90deg, #111936, #191c45, #2c0d4d );
    color: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* BRAND */

.nav-brand[b-z0pdkllupk] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle[b-z0pdkllupk] {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.10);
    font-size: 20px;
}

.brand-text[b-z0pdkllupk] {
    display: flex;
    flex-direction: column;
}

    .brand-text h4[b-z0pdkllupk] {
        margin: 0;
        color: white;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.2;
    }

    .brand-text span[b-z0pdkllupk] {
        margin-top: 3px;
        color: #b9c3de;
        font-size: 11px;
    }

/* NAVIGATION */

.nav-links[b-z0pdkllupk] {
    display: flex;
    align-items: center;
    gap: 8px;
}

[b-z0pdkllupk] .nav-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    border-radius: 8px;
    color: #dbe4ff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

    [b-z0pdkllupk] .nav-link:hover {
        background: rgba(255, 255, 255, 0.10);
        color: white;
        transform: translateY(-1px);
    }

    [b-z0pdkllupk] .nav-link.active {
        background: #3478f6;
        color: white;
        box-shadow: 0 4px 12px rgba(52, 120, 246, 0.30);
    }

.nav-icon[b-z0pdkllupk] {
    font-size: 15px;
}


.module-count[b-z0pdkllupk] {
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 20px;
    background: #eef4fb;
    color: #0f5fa8;
    font-size: 0.75rem;
    font-weight: 700;
}

.action-button[b-z0pdkllupk] {
    padding: 6px 10px;
    margin-left: 4px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .action-button.edit[b-z0pdkllupk] {
        color: #0f5fa8;
    }

        .action-button.edit:hover[b-z0pdkllupk] {
            background: #eff6ff;
            border-color: #bfdbfe;
        }

    .action-button.delete[b-z0pdkllupk] {
        color: #b42318;
    }

        .action-button.delete:hover[b-z0pdkllupk] {
            background: #fef2f2;
            border-color: #fecaca;
        }

/* RESPONSIVE */

@media (max-width: 900px) {

    .top-nav[b-z0pdkllupk] {
        padding: 12px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-links[b-z0pdkllupk] {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    [b-z0pdkllupk] .nav-link {
        white-space: nowrap;
    }
}

@media (max-width: 600px) {

    .brand-text h4[b-z0pdkllupk] {
        font-size: 16px;
    }

    .brand-text span[b-z0pdkllupk] {
        font-size: 10px;
    }

    .logo-circle[b-z0pdkllupk] {
        width: 40px;
        height: 40px;
    }

    [b-z0pdkllupk] .nav-link {
        padding: 9px 12px;
        font-size: 13px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-r1a50fixo8],
.components-reconnect-repeated-attempt-visible[b-r1a50fixo8],
.components-reconnect-failed-visible[b-r1a50fixo8],
.components-pause-visible[b-r1a50fixo8],
.components-resume-failed-visible[b-r1a50fixo8],
.components-rejoining-animation[b-r1a50fixo8] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-r1a50fixo8],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-r1a50fixo8],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-r1a50fixo8],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-r1a50fixo8],
#components-reconnect-modal.components-reconnect-retrying[b-r1a50fixo8],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-r1a50fixo8],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-r1a50fixo8],
#components-reconnect-modal.components-reconnect-failed[b-r1a50fixo8],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-r1a50fixo8] {
    display: block;
}


#components-reconnect-modal[b-r1a50fixo8] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-r1a50fixo8 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-r1a50fixo8 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-r1a50fixo8 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-r1a50fixo8]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-r1a50fixo8 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-r1a50fixo8 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-r1a50fixo8 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-r1a50fixo8 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-r1a50fixo8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-r1a50fixo8] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-r1a50fixo8] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-r1a50fixo8] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-r1a50fixo8] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-r1a50fixo8] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-r1a50fixo8] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-r1a50fixo8 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-r1a50fixo8] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-r1a50fixo8 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Modules.razor.rz.scp.css */
.modules-page[b-6vnx6zjn6e] {
    width: 100%;
}


/* HEADER */

.page-header[b-6vnx6zjn6e] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

    .page-header h1[b-6vnx6zjn6e] {
        margin: 0 0 5px;
        font-size: 2rem;
        font-weight: 750;
        color: #102033;
    }

    .page-header p[b-6vnx6zjn6e] {
        margin: 0;
        color: #64748b;
    }

.add-button[b-6vnx6zjn6e] {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
}


/* MAIN CARD */

.module-card[b-6vnx6zjn6e] {
    background: white;
    border: 1px solid #dce4ec;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(15, 31, 48, 0.05);
    overflow: hidden;
}


/* TOOLBAR */

.module-toolbar[b-6vnx6zjn6e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px;
}

    .module-toolbar h5[b-6vnx6zjn6e] {
        margin: 0 0 4px;
        color: #102033;
        font-size: 1rem;
        font-weight: 700;
    }

    .module-toolbar p[b-6vnx6zjn6e] {
        margin: 0;
        color: #8a9aaf;
        font-size: 0.85rem;
    }

.module-filters[b-6vnx6zjn6e] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box[b-6vnx6zjn6e] {
    width: 240px;
}

.status-filter[b-6vnx6zjn6e] {
    width: 150px;
}


/* TABLE */

.module-table[b-6vnx6zjn6e] {
    margin: 0;
}

    .module-table thead th[b-6vnx6zjn6e] {
        padding: 13px 18px;
        background: #f8fafc;
        color: #52657a;
        border-top: 1px solid #e2e8f0;
        border-bottom: 1px solid #dce4ec;
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .module-table tbody td[b-6vnx6zjn6e] {
        padding: 16px 18px;
        vertical-align: middle;
        color: #475569;
        border-color: #edf2f7;
    }

    .module-table tbody tr:hover[b-6vnx6zjn6e] {
        background: #f8fafc;
    }

.module-code[b-6vnx6zjn6e] {
    color: #0f5fa8;
    font-weight: 700;
}

.module-name[b-6vnx6zjn6e] {
    color: #102033;
    font-weight: 600;
}


/* STATUS */

.status-badge[b-6vnx6zjn6e] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

    .status-badge.active[b-6vnx6zjn6e] {
        background: #dcfce7;
        color: #15803d;
    }

    .status-badge.inactive[b-6vnx6zjn6e] {
        background: #f1f5f9;
        color: #64748b;
    }


/* ACTION BUTTONS */

.action-button[b-6vnx6zjn6e] {
    padding: 6px 10px;
    margin-left: 4px;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
}

    .action-button.edit[b-6vnx6zjn6e] {
        color: #1677c8;
    }

        .action-button.edit:hover[b-6vnx6zjn6e] {
            background: #eff6ff;
        }

    .action-button.delete[b-6vnx6zjn6e] {
        color: #c2413b;
    }

        .action-button.delete:hover[b-6vnx6zjn6e] {
            background: #fef2f2;
        }


/* EMPTY */

.empty-state[b-6vnx6zjn6e] {
    padding: 45px !important;
    text-align: center;
    color: #94a3b8 !important;
}


/* MODAL */

.modal-backdrop-custom[b-6vnx6zjn6e] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(7, 20, 38, 0.55);
    backdrop-filter: blur(3px);
    z-index: 5000;
}

.module-modal[b-6vnx6zjn6e] {
    width: 100%;
    max-width: 580px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 30px 70px rgba(7, 20, 38, 0.25);
    overflow: hidden;
}

.modal-header-custom[b-6vnx6zjn6e] {
    display: flex;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #e2e8f0;
}

    .modal-header-custom h4[b-6vnx6zjn6e] {
        margin: 0 0 4px;
        font-size: 1.15rem;
        font-weight: 700;
    }

    .modal-header-custom p[b-6vnx6zjn6e] {
        margin: 0;
        color: #64748b;
        font-size: 0.85rem;
    }

.modal-close[b-6vnx6zjn6e] {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 7px;
    background: #f1f5f9;
    color: #475569;
    font-size: 22px;
}

    .modal-close:hover[b-6vnx6zjn6e] {
        background: #e2e8f0;
    }

.modal-body-custom[b-6vnx6zjn6e] {
    padding: 24px;
}

.form-group-custom[b-6vnx6zjn6e] {
    margin-bottom: 18px;
}

    .form-group-custom label[b-6vnx6zjn6e] {
        display: block;
        margin-bottom: 7px;
        color: #334155;
        font-size: 0.83rem;
        font-weight: 650;
    }

.form-row-custom[b-6vnx6zjn6e] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-footer-custom[b-6vnx6zjn6e] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 17px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}


/* DELETE MODAL */

.delete-modal[b-6vnx6zjn6e] {
    width: 100%;
    max-width: 420px;
    padding: 30px;
    text-align: center;
    background: white;
    border-radius: 14px;
    box-shadow: 0 30px 70px rgba(7, 20, 38, 0.25);
}

.delete-icon[b-6vnx6zjn6e] {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fee2e2;
    color: #c2413b;
    font-size: 1.5rem;
    font-weight: 800;
}

.delete-modal h4[b-6vnx6zjn6e] {
    font-weight: 700;
}

.delete-modal p[b-6vnx6zjn6e] {
    color: #64748b;
}

.delete-warning[b-6vnx6zjn6e] {
    font-size: 0.8rem;
}

.delete-actions[b-6vnx6zjn6e] {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .page-header[b-6vnx6zjn6e] {
        align-items: stretch;
        flex-direction: column;
    }

    .add-button[b-6vnx6zjn6e] {
        width: 100%;
    }

    .module-toolbar[b-6vnx6zjn6e] {
        align-items: stretch;
        flex-direction: column;
    }

    .module-filters[b-6vnx6zjn6e] {
        flex-direction: column;
    }

    .search-box[b-6vnx6zjn6e],
    .status-filter[b-6vnx6zjn6e] {
        width: 100%;
    }

    .form-row-custom[b-6vnx6zjn6e] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Settings.razor.rz.scp.css */
/* CSS for Settings component */
.settings-page[b-ot9x1fxvhj] {
    width: 100%;
}

.page-header[b-ot9x1fxvhj] {
    margin-bottom: 24px;
}

    .page-header h1[b-ot9x1fxvhj] {
        margin: 0 0 5px;
        color: #102033;
        font-size: 2rem;
        font-weight: 750;
    }

    .page-header p[b-ot9x1fxvhj] {
        margin: 0;
        color: #64748b;
    }


/* GRID */

.settings-grid[b-ot9x1fxvhj] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


/* CARDS */

.settings-card[b-ot9x1fxvhj] {
    background: #ffffff;
    border: 1px solid #dce4ec;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(15, 31, 48, 0.05);
    overflow: hidden;
}

.settings-card-header[b-ot9x1fxvhj] {
    padding: 20px 22px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

    .settings-card-header h5[b-ot9x1fxvhj] {
        margin: 0 0 4px;
        color: #102033;
        font-size: 1rem;
        font-weight: 700;
    }

    .settings-card-header p[b-ot9x1fxvhj] {
        margin: 0;
        color: #8a9aaf;
        font-size: 0.82rem;
    }

.settings-card-body[b-ot9x1fxvhj] {
    padding: 22px;
}


/* FORM */

.setting-group[b-ot9x1fxvhj] {
    margin-bottom: 18px;
}

    .setting-group:last-child[b-ot9x1fxvhj] {
        margin-bottom: 0;
    }

    .setting-group label[b-ot9x1fxvhj] {
        display: block;
        margin-bottom: 7px;
        color: #334155;
        font-size: 0.83rem;
        font-weight: 650;
    }

    .setting-group .form-control[b-ot9x1fxvhj] {
        height: 42px;
        border: 1px solid #dce4ec;
        border-radius: 8px;
        font-size: 0.9rem;
    }

        .setting-group .form-control:focus[b-ot9x1fxvhj] {
            border-color: #1677c8;
            box-shadow: 0 0 0 3px rgba(22, 119, 200, 0.12);
        }


/* INFORMATION ROWS */

.setting-row[b-ot9x1fxvhj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid #edf2f7;
    color: #52657a;
    font-size: 0.87rem;
}

    .setting-row:first-child[b-ot9x1fxvhj] {
        padding-top: 0;
    }

    .setting-row:last-child[b-ot9x1fxvhj] {
        padding-bottom: 0;
        border-bottom: none;
    }

    .setting-row strong[b-ot9x1fxvhj] {
        color: #102033;
        font-weight: 650;
    }


/* STATUS */

.status-badge[b-ot9x1fxvhj] {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

    .status-badge.active[b-ot9x1fxvhj] {
        background: #dcfce7;
        color: #15803d;
    }


/* ACTIONS */

.settings-actions[b-ot9x1fxvhj] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

    .settings-actions .btn[b-ot9x1fxvhj] {
        padding: 9px 18px;
        border-radius: 8px;
        font-weight: 600;
    }


/* RESPONSIVE */

@media (max-width: 900px) {

    .settings-grid[b-ot9x1fxvhj] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .settings-actions[b-ot9x1fxvhj] {
        flex-direction: column;
    }

        .settings-actions .btn[b-ot9x1fxvhj] {
            width: 100%;
        }
}
/* /Components/StudentResults.razor.rz.scp.css */
/* CSS for StudentResults component */
.student-results-page[b-ni8n8opcsr] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.2rem 2rem 4rem;
}

.page-header[b-ni8n8opcsr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .page-header h1[b-ni8n8opcsr] {
        margin: 0;
        color: #0f172a;
        font-size: 2.25rem;
        font-weight: 800;
        letter-spacing: -0.03em;
    }

    .page-header p[b-ni8n8opcsr] {
        margin: 0.45rem 0 0;
        color: #64748b;
        font-size: 1rem;
    }


/* =========================
   CAPTURE / EDIT CARD
   ========================= */

.result-card[b-ni8n8opcsr] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.result-card-header[b-ni8n8opcsr] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

    .result-card-header h5[b-ni8n8opcsr] {
        margin: 0;
        color: #0f172a;
        font-size: 1.1rem;
        font-weight: 700;
    }

    .result-card-header p[b-ni8n8opcsr] {
        margin: 0.3rem 0 0;
        color: #94a3b8;
        font-size: 0.9rem;
    }

.result-card-body[b-ni8n8opcsr] {
    padding: 1.5rem;
}

.form-grid[b-ni8n8opcsr] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
}

.form-group-custom[b-ni8n8opcsr] {
    display: flex;
    flex-direction: column;
}

    .form-group-custom label[b-ni8n8opcsr] {
        margin-bottom: 0.45rem;
        color: #334155;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .form-group-custom .form-control[b-ni8n8opcsr],
    .form-group-custom .form-select[b-ni8n8opcsr] {
        min-height: 46px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        padding: 0.65rem 0.85rem;
        color: #0f172a;
        background-color: #ffffff;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .form-group-custom .form-control:focus[b-ni8n8opcsr],
        .form-group-custom .form-select:focus[b-ni8n8opcsr] {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
            outline: none;
        }

.form-actions[b-ni8n8opcsr] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

    .form-actions .btn[b-ni8n8opcsr] {
        min-width: 150px;
        border-radius: 8px;
        padding: 0.7rem 1.1rem;
        font-weight: 600;
    }

    .form-actions .btn-primary[b-ni8n8opcsr] {
        background: #2563eb;
        border-color: #2563eb;
    }

        .form-actions .btn-primary:hover[b-ni8n8opcsr] {
            background: #1d4ed8;
            border-color: #1d4ed8;
        }


/* =========================
   RESULTS TABLE CARD
   ========================= */

.result-table-card[b-ni8n8opcsr] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.table-toolbar[b-ni8n8opcsr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

    .table-toolbar h5[b-ni8n8opcsr] {
        margin: 0;
        color: #0f172a;
        font-size: 1.05rem;
        font-weight: 700;
    }

    .table-toolbar p[b-ni8n8opcsr] {
        margin: 0.25rem 0 0;
        color: #94a3b8;
        font-size: 0.85rem;
    }

.filters[b-ni8n8opcsr] {
    display: flex;
    gap: 0.75rem;
}

.search-box[b-ni8n8opcsr] {
    width: 250px;
    min-height: 42px;
    border-radius: 8px;
}

.result-filter[b-ni8n8opcsr] {
    width: 160px;
    min-height: 42px;
    border-radius: 8px;
}


/* =========================
   TABLE
   ========================= */

.result-table[b-ni8n8opcsr] {
    width: 100%;
    margin: 0;
}

    .result-table thead th[b-ni8n8opcsr] {
        background: #f8fafc;
        color: #475569;
        border-bottom: 1px solid #e2e8f0;
        padding: 0.95rem 1.25rem;
        font-size: 0.76rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }

    .result-table tbody td[b-ni8n8opcsr] {
        padding: 1rem 1.25rem;
        color: #475569;
        border-bottom: 1px solid #edf2f7;
        vertical-align: middle;
    }

    .result-table tbody tr:last-child td[b-ni8n8opcsr] {
        border-bottom: none;
    }

    .result-table tbody tr:hover[b-ni8n8opcsr] {
        background: #f8fafc;
    }

    .result-table strong[b-ni8n8opcsr] {
        color: #0f172a;
    }

.module-code[b-ni8n8opcsr] {
    display: block;
    color: #075985;
    font-weight: 700;
}

.module-name[b-ni8n8opcsr] {
    display: block;
    color: #94a3b8;
    font-size: 0.8rem;
    margin-top: 0.15rem;
}


/* =========================
   PASS / FAIL
   ========================= */

.status-badge[b-ni8n8opcsr] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

    .status-badge.pass[b-ni8n8opcsr] {
        color: #15803d;
        background: #dcfce7;
    }

    .status-badge.fail[b-ni8n8opcsr] {
        color: #b91c1c;
        background: #fee2e2;
    }


/* =========================
   ACTIONS
   ========================= */

.action-button[b-ni8n8opcsr] {
    border: none;
    background: transparent;
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

    .action-button.edit[b-ni8n8opcsr] {
        color: #2563eb;
    }

        .action-button.edit:hover[b-ni8n8opcsr] {
            color: #1d4ed8;
            text-decoration: underline;
        }

    .action-button.delete[b-ni8n8opcsr] {
        color: #dc2626;
        margin-left: 0.35rem;
    }

        .action-button.delete:hover[b-ni8n8opcsr] {
            color: #b91c1c;
            text-decoration: underline;
        }

.empty-state[b-ni8n8opcsr] {
    padding: 3rem !important;
    text-align: center;
    color: #94a3b8 !important;
}


/* =========================
   VALIDATION
   ========================= */

.validation-message[b-ni8n8opcsr] {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}


/* =========================
   DELETE MODAL
   ========================= */

.modal-backdrop-custom[b-ni8n8opcsr] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
}

.delete-modal[b-ni8n8opcsr] {
    width: 100%;
    max-width: 430px;
    padding: 2rem;
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
}

.delete-icon[b-ni8n8opcsr] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    font-size: 1.5rem;
    font-weight: 800;
}

.delete-modal h4[b-ni8n8opcsr] {
    margin-bottom: 0.75rem;
    color: #0f172a;
    font-weight: 700;
}

.delete-modal p[b-ni8n8opcsr] {
    color: #64748b;
}

.delete-warning[b-ni8n8opcsr] {
    font-size: 0.85rem;
    color: #94a3b8 !important;
}

.delete-actions[b-ni8n8opcsr] {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

    .delete-actions .btn[b-ni8n8opcsr] {
        min-width: 120px;
        border-radius: 8px;
    }


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {

    .student-results-page[b-ni8n8opcsr] {
        padding: 1.5rem 1rem 3rem;
    }

    .form-grid[b-ni8n8opcsr] {
        grid-template-columns: 1fr;
    }

    .table-toolbar[b-ni8n8opcsr] {
        align-items: stretch;
        flex-direction: column;
    }

    .filters[b-ni8n8opcsr] {
        width: 100%;
        flex-direction: column;
    }

    .search-box[b-ni8n8opcsr],
    .result-filter[b-ni8n8opcsr] {
        width: 100%;
    }
}

@media (max-width: 600px) {

    .page-header h1[b-ni8n8opcsr] {
        font-size: 1.8rem;
    }

    .result-card-body[b-ni8n8opcsr],
    .result-card-header[b-ni8n8opcsr],
    .table-toolbar[b-ni8n8opcsr] {
        padding: 1rem;
    }

    .form-actions[b-ni8n8opcsr] {
        flex-direction: column-reverse;
    }

        .form-actions .btn[b-ni8n8opcsr] {
            width: 100%;
        }
}
