@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-6wr34crlbg] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-6wr34crlbg] {
    flex: 1;
    min-width: 0; /* let wide tables scroll instead of overflowing the layout */
    background-color: var(--surface-2);
}

.sidebar[b-6wr34crlbg] {
    background-color: var(--surface);
    border-right: 1px solid var(--border);
}

.top-row[b-6wr34crlbg] {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--border);
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-6wr34crlbg]  a, .top-row[b-6wr34crlbg]  .btn-link {
        white-space: nowrap;
        text-decoration: none;
    }

    .top-row[b-6wr34crlbg]  a:hover, .top-row[b-6wr34crlbg]  .btn-link:hover {
        text-decoration: underline;
    }

@media (max-width: 640.98px) {
    .top-row[b-6wr34crlbg] {
        justify-content: space-between;
    }
}

@media (min-width: 641px) {
    .page[b-6wr34crlbg] {
        flex-direction: row;
    }

    .sidebar[b-6wr34crlbg] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6wr34crlbg] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-6wr34crlbg], article[b-6wr34crlbg] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-6wr34crlbg] {
    color-scheme: light only;
    background: var(--warning-soft);
    color: var(--warning);
    border-top: 1px solid var(--warning-border);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-6wr34crlbg] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-83lmzyh2vo] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.5rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2871, 85, 105, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem var(--surface);
}

.navbar-toggler:checked[b-83lmzyh2vo] {
    background-color: var(--surface-3);
}

/* Brand bar */
.top-row[b-83lmzyh2vo] {
    min-height: 3.5rem;
    border-bottom: 1px solid var(--border);
}

.navbar-brand[b-83lmzyh2vo] {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

    .navbar-brand:hover[b-83lmzyh2vo] {
        color: var(--accent);
    }

/* Icons: masked so they inherit the link's currentColor (works on light nav) */
.bi[b-83lmzyh2vo] {
    display: inline-block;
    position: relative;
    width: 1.15rem;
    height: 1.15rem;
    margin-right: 0.7rem;
    top: -1px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    opacity: 0.8;
}

.bi-house-door-fill-nav-menu[b-83lmzyh2vo] {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-83lmzyh2vo] {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-83lmzyh2vo] {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

/* Top-level role section heading (Administrator / Faculty / Student) */
.nav-section[b-83lmzyh2vo] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    padding: 0.35rem 1.5rem 0.25rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border);
}

    .nav-section:first-of-type[b-83lmzyh2vo] {
        margin-top: 0;
        border-top: none;
    }

/* Sub-group heading within a role section (Program data, Marks & grades, …) */
.nav-subsection[b-83lmzyh2vo] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    opacity: 0.85;
    padding: 0.6rem 1.5rem 0.1rem;
}

/* Collapsible sub-group: <details class="nav-group"> with a <summary class="nav-subsection"> header. */
.nav-group > summary[b-83lmzyh2vo] {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    user-select: none;
}

    .nav-group > summary[b-83lmzyh2vo]::-webkit-details-marker {
        display: none;
    }

    .nav-group > summary:hover[b-83lmzyh2vo] {
        color: var(--text);
        opacity: 1;
    }

    /* Custom chevron on the right — points right when collapsed, down when open. */
    .nav-group > summary[b-83lmzyh2vo]::after {
        content: "";
        margin-left: auto;
        margin-right: 0.15rem;
        width: 0.45rem;
        height: 0.45rem;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(-45deg);
        transition: transform 0.15s ease;
        opacity: 0.6;
    }

.nav-group[open] > summary[b-83lmzyh2vo]::after {
    transform: rotate(45deg);
}

.nav-group > summary:focus-visible[b-83lmzyh2vo] {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: var(--radius-sm);
}

.nav-item[b-83lmzyh2vo] {
    font-size: 0.9rem;
    padding: 0 0.75rem 0.1rem 0.75rem;
}

    .nav-item:first-of-type[b-83lmzyh2vo] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-83lmzyh2vo] {
        padding-bottom: 1rem;
    }

    .nav-item[b-83lmzyh2vo]  .nav-link {
        color: var(--text-muted);
        background: none;
        border: none;
        border-radius: var(--radius-sm);
        height: 2.75rem;
        display: flex;
        align-items: center;
        line-height: normal;
        width: 100%;
        padding: 0 0.75rem;
        font-weight: 500;
        position: relative;
    }

    .nav-item[b-83lmzyh2vo]  .nav-link:hover {
        background-color: var(--surface-3);
        color: var(--text);
    }

    .nav-item[b-83lmzyh2vo]  a.active {
        background-color: var(--accent-soft);
        color: var(--accent);
        font-weight: 600;
    }

    /* Non-colour cue for the active item (WCAG: not colour alone) */
    .nav-item[b-83lmzyh2vo]  a.active::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.45rem;
        bottom: 0.45rem;
        width: 3px;
        border-radius: var(--radius-pill);
        background: var(--accent);
    }

    .nav-item[b-83lmzyh2vo]  a.active .bi {
        opacity: 1;
    }

.nav-scrollable[b-83lmzyh2vo] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-83lmzyh2vo] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-83lmzyh2vo] {
        display: none;
    }

    .nav-scrollable[b-83lmzyh2vo] {
        /* Never collapse the sidebar for wide screens */
        display: block;
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-4noe5hdsdv],
.components-reconnect-repeated-attempt-visible[b-4noe5hdsdv],
.components-reconnect-failed-visible[b-4noe5hdsdv],
.components-pause-visible[b-4noe5hdsdv],
.components-resume-failed-visible[b-4noe5hdsdv],
.components-rejoining-animation[b-4noe5hdsdv] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-4noe5hdsdv],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-4noe5hdsdv],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-4noe5hdsdv],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-4noe5hdsdv],
#components-reconnect-modal.components-reconnect-retrying[b-4noe5hdsdv],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-4noe5hdsdv],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-4noe5hdsdv],
#components-reconnect-modal.components-reconnect-failed[b-4noe5hdsdv],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-4noe5hdsdv] {
    display: block;
}


#components-reconnect-modal[b-4noe5hdsdv] {
    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-4noe5hdsdv 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-4noe5hdsdv 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-4noe5hdsdv 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-4noe5hdsdv]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-4noe5hdsdv 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-4noe5hdsdv {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-4noe5hdsdv {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-4noe5hdsdv {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-4noe5hdsdv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-4noe5hdsdv] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-4noe5hdsdv] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-4noe5hdsdv] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-4noe5hdsdv] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-4noe5hdsdv] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-4noe5hdsdv] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-4noe5hdsdv 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-4noe5hdsdv] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-4noe5hdsdv {
    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/Admin/Users.razor.rz.scp.css */
/* Manage dialog — fixed overlay so it is always in view regardless of how far
   the user has scrolled the (long) user table. */
.mgr-backdrop[b-ynptkb6sj3] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1050;
}

.mgr-modal[b-ynptkb6sj3] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1060;
    width: min(680px, 94vw);
    max-height: 90vh;
    overflow-y: auto;
}

fieldset legend.form-label[b-ynptkb6sj3] {
    float: none;
    width: auto;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}
