/* /Components/Layout/MainLayout.razor.rz.scp.css */
.alpha-page[b-2jivq8sayv] {
    min-height: 100vh;
    display: flex;
    flex-direction: row; /* RTL: first child (sidebar) sits on the right */
}

.alpha-sidebar[b-2jivq8sayv] {
    width: var(--alpha-sidebar);
    flex-shrink: 0;
    background: #ffffff;
    border-left: 1px solid var(--alpha-border);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
    box-shadow: -8px 0 24px rgba(28, 31, 46, 0.03);
}

.alpha-main[b-2jivq8sayv] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.alpha-topbar[b-2jivq8sayv] {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(244, 245, 251, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--alpha-border);
}

.top-actions[b-2jivq8sayv] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-btn[b-2jivq8sayv] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--alpha-border);
    background: #fff;
    color: var(--alpha-text);
    display: grid;
    place-items: center;
    cursor: default;
}

.alpha-content[b-2jivq8sayv] {
    padding: 1.35rem 1.5rem 2rem;
}

#blazor-error-ui[b-2jivq8sayv] {
    background: #fff3f6;
    color: #b02a67;
    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;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-2jivq8sayv] {
    cursor: pointer;
    position: absolute;
    left: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 900px) {
    .alpha-page[b-2jivq8sayv] {
        flex-direction: column;
    }

    .alpha-sidebar[b-2jivq8sayv] {
        width: 100%;
        height: auto;
        position: relative;
        border-left: none;
        border-bottom: 1px solid var(--alpha-border);
        box-shadow: none;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-inner[b-vbk23y8i2d] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 1.15rem 0.95rem 1rem;
    gap: 0.85rem;
}

.side-brand[b-vbk23y8i2d] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem 0.85rem;
    margin-bottom: 0;
}

.side-user[b-vbk23y8i2d] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    margin: 0 0.05rem 0.35rem;
    border-radius: 14px;
    background: #f7f8fc;
    border: 1px solid var(--alpha-border);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.side-user:hover[b-vbk23y8i2d] {
    background: #f0f2fa;
    border-color: #cfd3e4;
}

.side-user-text[b-vbk23y8i2d] {
    flex: 1;
    min-width: 0;
}

.side-user strong[b-vbk23y8i2d] {
    display: block;
    font-size: 0.9rem;
    color: var(--alpha-text);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-user-arrow[b-vbk23y8i2d] {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #8b90a5;
    background: #fff;
    border: 1px solid var(--alpha-border);
}

.side-user:hover .side-user-arrow[b-vbk23y8i2d] {
    color: var(--alpha-purple);
    border-color: #b9aef5;
    background: #f4f1ff;
}

.brand-mark[b-vbk23y8i2d] {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: transparent;
    box-shadow: none;
    flex-shrink: 0;
    overflow: visible;
}

.brand-logo[b-vbk23y8i2d] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-name[b-vbk23y8i2d] {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--alpha-text);
    line-height: 1.2;
}

.brand-sub[b-vbk23y8i2d] {
    color: var(--alpha-muted);
    font-size: 0.75rem;
    margin-top: 0.12rem;
}

.side-toggler[b-vbk23y8i2d] { display: none; }

.side-toggler-btn[b-vbk23y8i2d] {
    display: none;
    margin: 0 0.15rem 0.35rem;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--alpha-border);
    background: #fff;
    color: var(--alpha-text);
    cursor: pointer;
    width: fit-content;
    font-family: inherit;
    font-weight: 600;
}

.side-nav[b-vbk23y8i2d] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.nav-stack[b-vbk23y8i2d] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.side-logout[b-vbk23y8i2d] {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--alpha-border);
}

.side-logout-btn[b-vbk23y8i2d] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.75rem;
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 0.85rem;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid var(--alpha-border);
    background: #fff;
    color: #5f657a;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.side-logout-btn:hover[b-vbk23y8i2d] {
    background: #fff5f5;
    border-color: #f0c4c4;
    color: #c0392b;
}

.side-logout-btn .side-ico[b-vbk23y8i2d] {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    background: #f3f4f9;
    border: 1px solid #e8eaf2;
    color: #6f758c;
}

.side-logout-btn:hover .side-ico[b-vbk23y8i2d] {
    background: #fde8e8;
    border-color: #f0c4c4;
    color: #c0392b;
}

.side-logout-btn .side-ico svg[b-vbk23y8i2d] {
    width: 16px;
    height: 16px;
    display: block;
}

.side-logout-btn .side-link-title[b-vbk23y8i2d] {
    font-weight: 650;
    font-size: 0.92rem;
    line-height: 1;
    white-space: nowrap;
}

/* ::deep: NavLink renders <a> without the scope attribute */
[b-vbk23y8i2d] a.side-link {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.75rem;
    height: 48px;
    min-height: 48px;
    padding: 0 0.85rem;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid var(--alpha-border);
    background: #fff;
    color: #5f657a !important;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

[b-vbk23y8i2d] a.side-link:hover {
    background: #f7f8fc;
    border-color: #cfd3e4;
    color: var(--alpha-text) !important;
}

[b-vbk23y8i2d] a.side-link.active {
    background: #f4f1ff;
    border-color: #b9aef5;
    color: var(--alpha-purple) !important;
    box-shadow: inset 3px 0 0 var(--alpha-purple);
}

[b-vbk23y8i2d] a.side-link .side-ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    background: #f3f4f9;
    border: 1px solid #e8eaf2;
    color: #6f758c;
}

[b-vbk23y8i2d] a.side-link.active .side-ico {
    background: var(--alpha-purple);
    color: #fff;
    border-color: transparent;
}

[b-vbk23y8i2d] a.side-link .side-ico svg {
    width: 16px;
    height: 16px;
    display: block;
}

[b-vbk23y8i2d] a.side-link .side-link-title {
    font-weight: 650;
    font-size: 0.92rem;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .side-toggler-btn[b-vbk23y8i2d] { display: inline-flex; }

    .side-nav[b-vbk23y8i2d] { display: none; }

    .side-toggler:checked ~ .side-nav[b-vbk23y8i2d] {
        display: flex;
        margin-top: 0.25rem;
    }

    .side-logout[b-vbk23y8i2d] {
        margin-top: 0.85rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-zuvo8lyo8t],
.components-reconnect-repeated-attempt-visible[b-zuvo8lyo8t],
.components-reconnect-failed-visible[b-zuvo8lyo8t],
.components-pause-visible[b-zuvo8lyo8t],
.components-resume-failed-visible[b-zuvo8lyo8t],
.components-rejoining-animation[b-zuvo8lyo8t] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-zuvo8lyo8t {
    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;
    }
}
