/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.sm-auth[b-hd64fewvz2] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(135deg, #eaf3fb 0%, #f5eefa 45%, #eef6ef 100%);
}

.sm-auth__card[b-hd64fewvz2] {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(31, 42, 55, .10);
    padding: 38px 36px;
    animation: fadeUp .4s ease;
}

.sm-auth__brand[b-hd64fewvz2] {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 28px;
}
.sm-auth__wordmark[b-hd64fewvz2] {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
}

@media (max-width: 480px) {
    .sm-auth[b-hd64fewvz2] { padding: 20px; }
    .sm-auth__card[b-hd64fewvz2] { padding: 28px 22px; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* App frame */
.sm-app[b-k25bgy6jgu] {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Collapse state checkbox (visually hidden; toggled by the hamburger label) */
.sm-collapse-state[b-k25bgy6jgu] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ---------- Sidebar ---------- */
.sm-sidebar[b-k25bgy6jgu] {
    width: 256px;
    flex: none;
    background: #fff;
    border-right: 1px solid var(--sidebar-border);
    display: flex;
    flex-direction: column;
    transition: width .18s ease;
    overflow: hidden;
}

.sm-sidebar__head[b-k25bgy6jgu] {
    height: 64px;
    flex: none;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 16px;
    border-bottom: 1px solid var(--divider);
}
.sm-sidebar__wordmark[b-k25bgy6jgu] {
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.sm-sidebar__nav[b-k25bgy6jgu] {
    flex: 1;
    overflow-y: auto;
    padding: 6px 10px 12px;
}

.sm-navgroup[b-k25bgy6jgu] { margin-top: 14px; }
.sm-navgroup__label[b-k25bgy6jgu] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--label-2);
    padding: 0 12px 6px;
    white-space: nowrap;
}

.sm-navlink[b-k25bgy6jgu] {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 9px 12px;
    margin: 2px 0;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    border: 0;
    width: 100%;
    transition: background .14s ease;
}
.sm-navlink:hover[b-k25bgy6jgu] { filter: brightness(.985); background: #f4f7fa; }
.sm-navlink__icon[b-k25bgy6jgu] {
    font-size: 21px;
    flex: none;
    color: var(--sec-solid); /* colorful idle icon */
}
.sm-navlink__label[b-k25bgy6jgu] {
    font-size: 13.5px;
    font-weight: 500;
    color: #54637a;
    white-space: nowrap;
}
.sm-navlink.is-active[b-k25bgy6jgu] {
    background: var(--sec-pastel);
}
.sm-navlink.is-active:hover[b-k25bgy6jgu] { background: var(--sec-pastel); }
.sm-navlink.is-active .sm-navlink__icon[b-k25bgy6jgu] { color: var(--sec-solid); }
.sm-navlink.is-active .sm-navlink__label[b-k25bgy6jgu] { color: #1f2a37; font-weight: 700; }

.sm-sidebar__foot[b-k25bgy6jgu] {
    flex: none;
    border-top: 1px solid var(--divider);
    padding: 10px;
}
.sm-signout-form[b-k25bgy6jgu] { margin: 0; }
.sm-navlink--foot[b-k25bgy6jgu] { color: #64748b; }
.sm-navlink--foot .sm-navlink__icon[b-k25bgy6jgu] { font-size: 20px; color: #64748b; }
.sm-navlink--foot .sm-navlink__label[b-k25bgy6jgu] { color: #64748b; }
.sm-navlink--foot:hover[b-k25bgy6jgu] { background: #f4f7fa; }

/* ---------- Collapsed state (desktop only) ----------
   On desktop the hamburger collapses the rail to icons. On tablet/phone the
   same checkbox instead opens the off-canvas drawer (see the responsive block
   below), so this collapse styling must not apply there. */
@media (min-width: 821px) {
    .sm-collapse-state:checked ~ .sm-sidebar[b-k25bgy6jgu] { width: 76px; }
    .sm-collapse-state:checked ~ .sm-sidebar .sm-sidebar__wordmark[b-k25bgy6jgu],
    .sm-collapse-state:checked ~ .sm-sidebar .sm-navgroup__label[b-k25bgy6jgu],
    .sm-collapse-state:checked ~ .sm-sidebar .sm-navlink__label[b-k25bgy6jgu] { display: none; }
    .sm-collapse-state:checked ~ .sm-sidebar .sm-navlink[b-k25bgy6jgu],
    .sm-collapse-state:checked ~ .sm-sidebar .sm-sidebar__head[b-k25bgy6jgu] { justify-content: center; }
    .sm-collapse-state:checked ~ .sm-sidebar .sm-sidebar__head[b-k25bgy6jgu] { padding: 0; }
    .sm-collapse-state:checked ~ .sm-sidebar .sm-navlink[b-k25bgy6jgu] { padding: 9px; gap: 0; }
}

/* ---------- Main column ---------- */
.sm-main[b-k25bgy6jgu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--app-bg);
}

.sm-topbar[b-k25bgy6jgu] {
    height: 64px;
    flex: none;
    background: #fff;
    border-bottom: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
}
.sm-hamburger .material-symbols-rounded[b-k25bgy6jgu] { font-size: 22px; color: #64748b; }

.sm-topbar__chip[b-k25bgy6jgu] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.sm-topbar__titles[b-k25bgy6jgu] {
    flex: 1;
    min-width: 0;
}
.sm-topbar__title[b-k25bgy6jgu] {
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sm-topbar__sub[b-k25bgy6jgu] {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sm-search[b-k25bgy6jgu] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 200px;
    flex: none;
    background: var(--input-bg-2);
    border: 1px solid var(--input-border-2);
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--text-faint);
    font-size: 13px;
}
.sm-search .material-symbols-rounded[b-k25bgy6jgu] { font-size: 19px; }

.sm-scroll[b-k25bgy6jgu] {
    flex: 1;
    overflow-y: auto;
    padding: 26px 30px 64px;
}

/* ---------- Responsive ---------- */
/* Backdrop is inert on desktop; the drawer rules below light it up. */
.sm-backdrop[b-k25bgy6jgu] { display: none; }

@media (max-width: 820px) {
    /* The sidebar becomes an overlay drawer that slides in from the left.
       The hamburger's checkbox opens it; the backdrop (a label) closes it. */
    .sm-sidebar[b-k25bgy6jgu] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 60;
        width: 256px;
        transform: translateX(-100%);
        transition: transform .2s ease;
        box-shadow: 0 12px 40px rgba(16, 24, 40, .22);
    }
    .sm-collapse-state:checked ~ .sm-sidebar[b-k25bgy6jgu] { transform: none; }

    .sm-collapse-state:checked ~ .sm-backdrop[b-k25bgy6jgu] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 55;
        background: rgba(16, 24, 40, .38);
    }

    .sm-search[b-k25bgy6jgu] { display: none; }
}
@media (max-width: 560px) {
    .sm-topbar[b-k25bgy6jgu] { padding: 0 14px; gap: 10px; }
    .sm-scroll[b-k25bgy6jgu] { padding: 18px 16px 48px; }
}

/* ---------- Blazor error UI (preserved) ---------- */
#blazor-error-ui[b-k25bgy6jgu] {
    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-k25bgy6jgu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-oa6w0nn0wa],
.components-reconnect-repeated-attempt-visible[b-oa6w0nn0wa],
.components-reconnect-failed-visible[b-oa6w0nn0wa],
.components-pause-visible[b-oa6w0nn0wa],
.components-resume-failed-visible[b-oa6w0nn0wa],
.components-rejoining-animation[b-oa6w0nn0wa] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-oa6w0nn0wa],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-oa6w0nn0wa],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-oa6w0nn0wa],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-oa6w0nn0wa],
#components-reconnect-modal.components-reconnect-retrying[b-oa6w0nn0wa],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-oa6w0nn0wa],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-oa6w0nn0wa],
#components-reconnect-modal.components-reconnect-failed[b-oa6w0nn0wa],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-oa6w0nn0wa] {
    display: block;
}


#components-reconnect-modal[b-oa6w0nn0wa] {
    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-oa6w0nn0wa 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-oa6w0nn0wa 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-oa6w0nn0wa 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-oa6w0nn0wa]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-oa6w0nn0wa 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-oa6w0nn0wa {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-oa6w0nn0wa {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-oa6w0nn0wa {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-oa6w0nn0wa] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-oa6w0nn0wa] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-oa6w0nn0wa] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-oa6w0nn0wa] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-oa6w0nn0wa] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-oa6w0nn0wa] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-oa6w0nn0wa] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-oa6w0nn0wa 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-oa6w0nn0wa] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-oa6w0nn0wa {
    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;
    }
}
