@import '_content/ZXingBlazor/ZXingBlazor.55ptov32el.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ── CSS custom properties ────────────────────────────────────────────────── */
:root[b-v3g4hxfhv0] {
    --sidebar-collapsed-w: 5.5rem;
    --sidebar-expanded-w: 18rem;
    --sidebar-bg:
        radial-gradient(700px circle at 15% 10%, rgba(124, 58, 237, 0.14), transparent 55%),
        radial-gradient(700px circle at 85% 90%, rgba(6, 182, 212, 0.10), transparent 60%),
        rgba(255, 255, 255, 0.92);
    --sidebar-border: rgba(148, 163, 184, 0.30);
    --sidebar-color: rgba(15, 23, 42, 0.85);
    --sidebar-muted: rgba(15, 23, 42, 0.50);
    --sidebar-hover-bg: rgba(148, 163, 184, 0.16);
    --sidebar-active-bg: linear-gradient(90deg, rgba(124, 58, 237, 0.32), rgba(6, 182, 212, 0.18));
    --sidebar-active-color: rgba(255, 255, 255, 0.98);
}
.page[b-v3g4hxfhv0] { display: flex; flex-direction: row; min-height: 100vh; }
main[b-v3g4hxfhv0] { flex: 1; min-width: 0; transition: margin-left 220ms ease; }
.left-sidebar[b-v3g4hxfhv0] {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-collapsed-w);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 200;
    background: var(--sidebar-bg);
    backdrop-filter: blur(18px);
    border-right: 1px solid var(--sidebar-border);
    box-shadow: 4px 0 24px rgba(2,6,23,0.08);
    transition: width 220ms ease;
    padding-left: 10px;
}
.sidebar-expanded .left-sidebar[b-v3g4hxfhv0] { width: var(--sidebar-expanded-w); }
.sidebar-collapsed main[b-v3g4hxfhv0] { margin-left: var(--sidebar-collapsed-w); }
.sidebar-expanded main[b-v3g4hxfhv0] { margin-left: var(--sidebar-expanded-w); }
.sidebar-header[b-v3g4hxfhv0] {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.9rem 0;
    padding-left: calc((var(--sidebar-collapsed-w) - 1.35rem) / 2);
    border-bottom: 1px solid var(--sidebar-border);
    min-height: 3.5rem; flex-shrink: 0; overflow: hidden; white-space: nowrap;
}
.sidebar-brand-icon[b-v3g4hxfhv0] { font-size: 1.35rem; color: #7c3aed; flex-shrink: 0; display: flex; align-items: center; }
.sidebar-brand-text[b-v3g4hxfhv0] {
    font-size: 1rem; font-weight: 700; letter-spacing: -0.02em;
    color: var(--sidebar-color); opacity: 0; width: 0; overflow: hidden;
    transition: opacity 180ms ease 60ms, width 220ms ease; white-space: nowrap;
}
.sidebar-expanded .sidebar-brand-text[b-v3g4hxfhv0] { opacity: 1; width: auto; }
.sidebar-nav[b-v3g4hxfhv0] { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0.5rem 0; scrollbar-width: thin; scrollbar-color: var(--sidebar-border) transparent; }
.left-sidebar[b-v3g4hxfhv0]  .right-menu { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.25rem 0; }
.left-sidebar[b-v3g4hxfhv0]  .menu-link {
    display: flex; align-items: center; gap: 0.85rem;
    height: 3rem; padding: 0.5rem 0;
    padding-left: calc((var(--sidebar-collapsed-w) - 1.15rem) / 2);
    border-radius: 0; color: var(--sidebar-color); text-decoration: none;
    white-space: nowrap; overflow: hidden;
    transition: background-color 140ms ease, color 140ms ease;
    border: none; background: transparent; width: 100%; cursor: pointer; font-size: 0.875rem;
}
.left-sidebar[b-v3g4hxfhv0]  .menu-link:hover { background: var(--sidebar-hover-bg); color: rgba(15,23,42,0.95); }
.left-sidebar[b-v3g4hxfhv0]  .menu-link.active { background: var(--sidebar-active-bg); color: var(--sidebar-active-color); }
.left-sidebar[b-v3g4hxfhv0]  .menu-icon { width: 1.15rem; height: 1.15rem; flex-shrink: 0; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; }
.left-sidebar[b-v3g4hxfhv0]  .menu-label {
    opacity: 0; width: 0; overflow: hidden;
    transition: opacity 160ms ease 80ms, width 220ms ease;
    white-space: nowrap; pointer-events: none;
}
.sidebar-expanded .left-sidebar[b-v3g4hxfhv0]  .menu-label { opacity: 1; width: auto; pointer-events: auto; }
.sidebar-footer[b-v3g4hxfhv0] { border-top: 1px solid var(--sidebar-border); padding: 0.5rem 0; display: flex; flex-direction: column; gap: 0.15rem; flex-shrink: 0; }
.sidebar-icon-btn[b-v3g4hxfhv0] {
    display: flex; align-items: center; gap: 0.85rem; height: 3rem; padding: 0.5rem 0;
    padding-left: calc((var(--sidebar-collapsed-w) - 1.1rem) / 2);
    width: 100%; background: transparent; border: none; cursor: pointer;
    color: var(--sidebar-muted); font-size: 1.05rem; white-space: nowrap; overflow: hidden;
    text-align: left; transition: background-color 140ms ease, color 140ms ease;
}
.sidebar-icon-btn:hover[b-v3g4hxfhv0] { background: var(--sidebar-hover-bg); color: var(--sidebar-color); }
.sidebar-icon-btn .menu-label[b-v3g4hxfhv0] { font-size: 0.8rem; opacity: 0; width: 0; overflow: hidden; transition: opacity 160ms ease 80ms, width 220ms ease; pointer-events: none; }
.sidebar-expanded .sidebar-icon-btn .menu-label[b-v3g4hxfhv0] { opacity: 1; width: auto; pointer-events: auto; }
.mobile-topbar[b-v3g4hxfhv0] {
    display: none; position: fixed; top: 0; left: 0; right: 0; height: 3.25rem; z-index: 300;
    align-items: center; justify-content: space-between; padding: 0 1rem;
    background: rgba(255,255,255,0.88); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sidebar-border); box-shadow: 0 2px 8px rgba(2,6,23,0.07);
}
.mobile-brand[b-v3g4hxfhv0] { font-weight: 700; letter-spacing: -0.02em; font-size: 1rem; color: var(--sidebar-color); }
.mobile-backdrop[b-v3g4hxfhv0] {
    display: none; position: fixed; inset: 0; background: rgba(2,6,23,0.45);
    opacity: 0; pointer-events: none; transition: opacity 200ms ease; z-index: 190;
}
.content[b-v3g4hxfhv0] {
    padding-top: 1.1rem;
    padding-bottom: 1.25rem;
    margin: 2rem;
    margin-left: 5rem;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(148,163,184,0.35);
    border-radius: 1.25rem;
    box-shadow: 0 16px 50px rgba(2,6,23,0.12);
    backdrop-filter: blur(14px);
}
@media (max-width: 767.98px) {
    .page[b-v3g4hxfhv0] { flex-direction: column; }
    .mobile-topbar[b-v3g4hxfhv0] { display: flex; }
    .left-sidebar[b-v3g4hxfhv0] { transform: translateX(-100%); width: var(--sidebar-expanded-w) !important; z-index: 400; }
    .left-sidebar[b-v3g4hxfhv0]  .menu-label, .sidebar-icon-btn .menu-label[b-v3g4hxfhv0], .sidebar-brand-text[b-v3g4hxfhv0] { opacity: 1 !important; width: auto !important; }
    .page.mobile-sidebar-open .left-sidebar[b-v3g4hxfhv0] { transform: translateX(0); }
    .mobile-backdrop[b-v3g4hxfhv0] { display: block; }
    .page.mobile-sidebar-open .mobile-backdrop[b-v3g4hxfhv0] { opacity: 1; pointer-events: auto; }
    main[b-v3g4hxfhv0] { margin-left: 0 !important; margin-top: 3.25rem; }
    .content[b-v3g4hxfhv0] { margin: 1rem 0.75rem; }
}
h1:focus[b-v3g4hxfhv0] { outline: none; }
.valid.modified:not([type=checkbox])[b-v3g4hxfhv0] { outline: 1px solid #26b050; }
.invalid[b-v3g4hxfhv0] { outline: 1px solid #e50000; }
.validation-message[b-v3g4hxfhv0] { color: #e50000; }
.blazor-error-boundary[b-v3g4hxfhv0] { background: #b32121; padding: 1rem 1rem 1rem 3.7rem; color: white; }
.blazor-error-boundary[b-v3g4hxfhv0]::after { content: "An error has occurred."; }
#blazor-error-ui[b-v3g4hxfhv0] { color-scheme: light only; background: lightyellow; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,0.2); 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-v3g4hxfhv0] { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }
:global(html.dark-theme)[b-v3g4hxfhv0] {
    --sidebar-bg: radial-gradient(700px circle at 15% 10%, rgba(99,102,241,0.18), transparent 55%), radial-gradient(700px circle at 85% 90%, rgba(6,182,212,0.08), transparent 60%), rgba(15,23,42,0.97);
    --sidebar-border: rgba(99,102,241,0.18); --sidebar-color: #f1f5f9; --sidebar-muted: #64748b;
    --sidebar-hover-bg: rgba(99,102,241,0.14);
    --sidebar-active-bg: linear-gradient(90deg, rgba(99,102,241,0.42), rgba(6,182,212,0.20));
    --sidebar-active-color: #fff;
}
:global(html.dark-theme) .left-sidebar[b-v3g4hxfhv0] { box-shadow: 4px 0 24px rgba(0,0,0,0.4); }
:global(html.dark-theme) .mobile-topbar[b-v3g4hxfhv0] { background: rgba(15,23,42,0.95); border-bottom-color: rgba(99,102,241,0.18); }
:global(html.dark-theme) .mobile-brand[b-v3g4hxfhv0] { color: #f1f5f9; }
:global(html.dark-theme) .sidebar-brand-icon[b-v3g4hxfhv0] { color: #818cf8; }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-z2qgyf3tbm],
.components-reconnect-repeated-attempt-visible[b-z2qgyf3tbm],
.components-reconnect-failed-visible[b-z2qgyf3tbm],
.components-pause-visible[b-z2qgyf3tbm],
.components-resume-failed-visible[b-z2qgyf3tbm],
.components-rejoining-animation[b-z2qgyf3tbm] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-z2qgyf3tbm {
    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/Portal/UsersList.razor.rz.scp.css */
.users-split-layout[b-xh6lc2ffbr] {
    display: flex;
    height: 88vh;
    overflow: hidden;
    gap: 0;
    /* break out of the article px-4 padding and fill the full viewport width */
    margin-left: calc(-1.5rem);
    margin-right: calc(-1.5rem);
}

.users-list-panel[b-xh6lc2ffbr] {
    width: 400px;
    min-width: 260px;
    max-width: 400px;
    border-right: 1px solid var(--bs-border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.users-list-panel .panel-header[b-xh6lc2ffbr] {
    padding: 1rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    flex-shrink: 0;
}

.users-list-scroll[b-xh6lc2ffbr] {
    overflow-y: auto;
    flex: 1;
}

.user-list-item[b-xh6lc2ffbr] {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--bs-border-color-translucent);
    transition: background 0.15s;
}

.user-list-item:hover[b-xh6lc2ffbr] {
    background: var(--bs-tertiary-bg);
}

    .user-list-item.active[b-xh6lc2ffbr] {
        background: var(--bs-secondary);
        color: #fff;
    }

.user-list-item.active .text-muted[b-xh6lc2ffbr] {
    color: rgba(255,255,255,0.75) !important;
}

.badge[b-xh6lc2ffbr] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15em 0.55em;
    border-radius: 999px;
    line-height: 1.4;
    white-space: nowrap;
}

.badge.badge-monthly[b-xh6lc2ffbr]    { background: #198754; color: #fff; }
    .badge.badge-payasyougo[b-xh6lc2ffbr] {
        background: #ffc107;
        color: #fff;
    }

.badge.badge-unknown[b-xh6lc2ffbr]    { background: #6c757d; color: #fff; }

    .badge.badge-student[b-xh6lc2ffbr] {
        background: #0dcaf0;
        color: #fff;
    }
    .badge.badge-concession[b-xh6lc2ffbr] {
        background: #ff00a3;
        color: #fff;
    }
.badge.badge-active[b-xh6lc2ffbr]    {background: #fd7e14; color: #fff;}
.badge.badge-nonactive[b-xh6lc2ffbr] {background: #dc3545; color: #fff;}
    .badge.badge-nhs[b-xh6lc2ffbr] {
        background: #ff00a3;
        color: #fff;
    }
    .badge.badge-emergency[b-xh6lc2ffbr] {
        background: #ff00a3;
        color: #fff;
    }
    .badge.badge-other[b-xh6lc2ffbr] {
        background: #ff00a3;
        color: #fff;
    }

    .user-list-item.active .badge[b-xh6lc2ffbr] {
        opacity: 0.92;
    }

.users-detail-panel[b-xh6lc2ffbr] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.users-detail-panel .panel-header[b-xh6lc2ffbr] {
    padding: 2rem 1.25rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.users-detail-scroll[b-xh6lc2ffbr] {
    overflow-y: auto;
    flex: 1;
    padding: 1.25rem;
}

.users-empty-state[b-xh6lc2ffbr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--bs-secondary-color);
}

@media (max-width: 767.98px) {
    .users-split-layout[b-xh6lc2ffbr] {
        flex-direction: column;
        height: auto;
    }

    .users-list-panel[b-xh6lc2ffbr] {
        width: 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--bs-border-color);
        max-height: 40vh;
    }

    .users-detail-panel[b-xh6lc2ffbr] {
        height: auto;
        max-height: none;
    }

    .users-detail-scroll[b-xh6lc2ffbr] {
        padding: 1rem;
    }
}

/* ── Dark theme ─────────────────────────────────────────────────────────── */
:global(html.dark-theme) .users-list-panel[b-xh6lc2ffbr] {
    border-right-color: #334155;
}

:global(html.dark-theme) .users-list-panel .panel-header[b-xh6lc2ffbr],
:global(html.dark-theme) .users-detail-panel .panel-header[b-xh6lc2ffbr] {
    background: #0f172a;
    border-bottom-color: #334155;
    color: #f1f5f9;
}

:global(html.dark-theme) .user-list-item[b-xh6lc2ffbr] {
    border-bottom-color: rgba(99, 102, 241, 0.12);
    color: #cbd5e1;
}

:global(html.dark-theme) .user-list-item:hover[b-xh6lc2ffbr] {
    background: rgba(99, 102, 241, 0.10);
    color: #f1f5f9;
}

:global(html.dark-theme) .user-list-item.active[b-xh6lc2ffbr] {
    background: #4338ca;
    color: #fff;
}

:global(html.dark-theme) .users-list-scroll[b-xh6lc2ffbr] {
    background: #0f172a;
}

:global(html.dark-theme) .users-detail-scroll[b-xh6lc2ffbr] {
    background: transparent;
}
