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

main[b-zyf4gjt4ps] {
    flex: 1;
}

.sidebar[b-zyf4gjt4ps] {
    background: #0f172a;
    border-right: 1px solid #1e293b;
}

.top-row[b-zyf4gjt4ps] {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-zyf4gjt4ps]  a, .top-row[b-zyf4gjt4ps]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: #64748b;
        font-size: 0.875rem;
    }

    .top-row[b-zyf4gjt4ps]  a:hover, .top-row[b-zyf4gjt4ps]  .btn-link:hover {
        color: #0f172a;
        text-decoration: none;
    }

    .top-row[b-zyf4gjt4ps]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

    .top-row[b-zyf4gjt4ps]  a, .top-row[b-zyf4gjt4ps]  .btn-link {
        margin-left: 0;
    }
}

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

    .sidebar[b-zyf4gjt4ps] {
        width: 260px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

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

    .top-row.auth[b-zyf4gjt4ps]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

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

#blazor-error-ui[b-zyf4gjt4ps] {
    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-zyf4gjt4ps] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Top bar ── */
.navbar-toggler[b-melbp56qne] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem transparent;
    border-radius: 6px;
}

.navbar-toggler:checked[b-melbp56qne] {
    background-color: rgba(255,255,255,0.1);
}

.top-row[b-melbp56qne] {
    min-height: 3.5rem;
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
}

.navbar-brand[b-melbp56qne] {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #f8fafc !important;
}

/* ── Scrollable nav area ── */
.nav-scrollable[b-melbp56qne] {
    display: none;
    padding: 0.75rem 0;
}

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

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

    .nav-scrollable[b-melbp56qne] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #334155 transparent;
    }
}

/* ── User info box ── */
.nav-user-box[b-melbp56qne] {
    margin: 0.75rem;
    padding: 0.75rem;
    background: #1e293b;
    border-radius: 10px;
    border: 1px solid #334155;
}

.nav-user-name[b-melbp56qne] {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}

.nav-user-role[b-melbp56qne] {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.nav-logout-btn[b-melbp56qne] {
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.nav-logout-btn:hover[b-melbp56qne] {
    color: #f87171;
}

/* ── Section labels ── */
.nav-section-label[b-melbp56qne] {
    padding: 1rem 1.25rem 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
}

/* ── Nav items ── */
.nav-item[b-melbp56qne] {
    padding: 0.1rem 0.75rem;
}

.nav-item[b-melbp56qne]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
}

.nav-item[b-melbp56qne]  .nav-link:hover {
    background: #1e293b;
    color: #e2e8f0;
}

.nav-item[b-melbp56qne]  a.active {
    background: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 1px 6px rgba(29, 78, 216, 0.4);
}

/* ── Group toggle button ── */
.nav-group-toggle[b-melbp56qne] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-group-toggle:hover[b-melbp56qne] {
    background: #1e293b;
    color: #e2e8f0;
}

.nav-group-toggle .toggle-arrow[b-melbp56qne] {
    margin-left: auto;
    font-size: 0.7rem;
    color: #475569;
}

/* ── Submenu ── */
.nav-submenu[b-melbp56qne] {
    margin: 0.15rem 0 0.15rem 1rem;
    padding-left: 0.75rem;
    border-left: 1px solid #1e293b;
}

.nav-submenu .nav-item[b-melbp56qne]  .nav-link {
    font-size: 0.825rem;
    color: #64748b;
    padding: 0.4rem 0.75rem;
}

.nav-submenu .nav-item[b-melbp56qne]  .nav-link:hover {
    background: #1e293b;
    color: #cbd5e1;
}

.nav-submenu .nav-item[b-melbp56qne]  a.active {
    background: #1e3a8a;
    color: #bfdbfe;
    box-shadow: none;
}

/* ── Bootstrap icon base ── */
.bi[b-melbp56qne] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-melbp56qne] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' 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");
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lmz8op4qvg],
.components-reconnect-repeated-attempt-visible[b-lmz8op4qvg],
.components-reconnect-failed-visible[b-lmz8op4qvg],
.components-pause-visible[b-lmz8op4qvg],
.components-resume-failed-visible[b-lmz8op4qvg],
.components-rejoining-animation[b-lmz8op4qvg] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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