@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;
    min-height: 100vh;
}

/* The single top bar: brand + menu (from NavMenu) + sign-in block. Menu drop-panels anchor to
   this bar (position: absolute; top: 100%), so it must be the positioning context. */
.app-topbar[b-6wr34crlbg] {
    position: sticky;
    top: 0;
    /* Above Bootstrap's .sticky-top (1020): pages with a sticky table header (the date-wise
       attendance register, /admin/page-access) would otherwise paint their header row straight
       over the open menu panel. Stays below modals (1050). */
    z-index: 1030;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.5rem;
    padding: 0 1.25rem;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--border);
}

.auth-block[b-6wr34crlbg] {
    margin-left: auto;
    flex-shrink: 0;
}

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

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

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

@media (max-width: 640.98px) {
    .app-topbar[b-6wr34crlbg] {
        padding: 0 0.75rem;
    }

    article[b-6wr34crlbg] {
        padding-left: 1rem !important;
        padding-right: 1rem !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 */
/* ============ Top menu bar (brand + role drop-panels) ============ */

.navbar-brand[b-83lmzyh2vo] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    padding: 0 0.25rem;
}

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

/* Mobile hamburger (checkbox pattern, no JS needed to reveal the menu) */
.navbar-toggler[b-83lmzyh2vo] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.5rem;
    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);
    flex-shrink: 0;
    margin-left: auto;
}

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

/* Icons: masked so they inherit the link's currentColor */
.bi[b-83lmzyh2vo] {
    display: inline-block;
    position: relative;
    width: 1.05rem;
    height: 1.05rem;
    margin-right: 0.45rem;
    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-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");
}

/* The horizontal strip of top-level items */
.topnav[b-83lmzyh2vo] {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}

.topnav-home[b-83lmzyh2vo] {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    white-space: nowrap;
}

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

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

/* One role section = one <details class="menu"> with a full-width drop panel */
.menu[b-83lmzyh2vo] {
    position: static; /* the panel anchors to the header bar, not this button */
}

    .menu > summary[b-83lmzyh2vo] {
        cursor: pointer;
        list-style: none;
        user-select: none;
        display: flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.45rem 0.8rem;
        border-radius: var(--radius-sm);
        color: var(--text-muted);
        font-weight: 600;
        font-size: 0.92rem;
        white-space: nowrap;
    }

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

        .menu > summary:hover[b-83lmzyh2vo] {
            background: var(--surface-3);
            color: var(--text);
        }

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

        /* chevron: down when closed, up when open */
        .menu > summary[b-83lmzyh2vo]::after {
            content: "";
            width: 0.4rem;
            height: 0.4rem;
            border-right: 1.5px solid currentColor;
            border-bottom: 1.5px solid currentColor;
            transform: rotate(45deg) translateY(-1px);
            transition: transform 0.15s ease;
            opacity: 0.6;
        }

.menu[open] > summary[b-83lmzyh2vo] {
    background: var(--accent-soft);
    color: var(--accent);
}

    .menu[open] > summary[b-83lmzyh2vo]::after {
        transform: rotate(-135deg) translateY(-2px);
    }

/* The full-width panel: every group of the section side by side */
.menu-panel[b-83lmzyh2vo] {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.25);
    display: block;
    column-width: 11.5rem;
    column-gap: 1.75rem;
    padding: 0.6rem 1.5rem 0.75rem;
    z-index: 50;
    /* Fits one screen: the compact metrics below keep the tallest column short,
       and this is the safety net on very small viewports. */
    max-height: calc(100vh - 3.25rem);
    overflow-y: auto;
}

.menu-col[b-83lmzyh2vo] {
    min-width: 0;
    break-inside: avoid;
    /* a little air between two groups that land in the same column */
    padding-bottom: 0.35rem;
}

/* Kept for markup compatibility: the panel itself now balances the columns */
.menu-col-2[b-83lmzyh2vo],
.menu-col-3[b-83lmzyh2vo] {
    column-count: auto;
    min-width: 0;
}

.menu-head[b-83lmzyh2vo] {
    break-after: avoid;
    break-inside: avoid;
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0.35rem 0.5rem 0.15rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.15rem;
}

/* Panel links (rendered by NavItem) */
.nav-item[b-83lmzyh2vo] {
    font-size: 0.85rem;
    break-inside: avoid;
    padding: 0 !important; /* the px-3 utility on the element would double the inset */
}

    .nav-item[b-83lmzyh2vo]  .nav-link {
        color: var(--text-muted);
        background: none;
        border: none;
        border-radius: var(--radius-sm);
        min-height: 1.65rem;
        display: flex;
        align-items: center;
        line-height: 1.2;
        width: 100%;
        padding: 0.1rem 0.5rem;
        font-weight: 500;
        position: relative;
        text-decoration: none;
        white-space: nowrap;
    }

    .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.35rem;
        bottom: 0.35rem;
        width: 3px;
        border-radius: var(--radius-pill);
        background: var(--accent);
    }

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

    /* Drop-panel links: drop the leading icon (the Home item in the bar keeps its own) */
    .menu-panel .nav-item[b-83lmzyh2vo]  .bi {
        display: none;
    }

/* ============ Mobile: the bar collapses into a stacked drawer ============ */
@media (max-width: 640.98px) {
    .topnav[b-83lmzyh2vo] {
        display: none;
    }

    .navbar-toggler:checked ~ .topnav[b-83lmzyh2vo] {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.25);
        padding: 0.5rem 0.75rem 1rem;
        max-height: calc(100vh - 3.5rem);
        overflow-y: auto;
        z-index: 50;
    }

    .menu-panel[b-83lmzyh2vo] {
        position: static;
        box-shadow: none;
        border-bottom: none;
        display: block;
        padding: 0 0 0.5rem 0.75rem;
        max-height: none;
        overflow: visible;
    }

    .menu-col[b-83lmzyh2vo],
    .menu-col-2[b-83lmzyh2vo],
    .menu-col-3[b-83lmzyh2vo] {
        min-width: 0;
        column-count: 1;
    }

    .topnav-home[b-83lmzyh2vo] {
        padding: 0.55rem 0.8rem;
    }

    .menu > summary[b-83lmzyh2vo] {
        padding: 0.55rem 0.8rem;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-83lmzyh2vo] {
        display: none;
    }
}
/* /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;
}
