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

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

.sidebar[b-jdzpxrovij] {
    background: #2A2F38;
}

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

    .top-row[b-jdzpxrovij]  a, .top-row[b-jdzpxrovij]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: #3E4958;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .top-row[b-jdzpxrovij]  a:hover, .top-row[b-jdzpxrovij]  .btn-link:hover {
        text-decoration: underline;
        color: #3D8B5E;
    }

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

    .top-row[b-jdzpxrovij]  span {
        color: #2A2F38;
        font-size: 0.85rem;
        font-weight: 600;
    }

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

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

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

    .sidebar[b-jdzpxrovij] {
        width: var(--sidebar-width);
        height: 100vh;
        position: sticky;
        top: 0;
    }

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

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

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

#blazor-error-ui[b-jdzpxrovij] {
    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-jdzpxrovij] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ─── Status Cluster ─── */
.nav-status-cluster[b-jdzpxrovij] {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: calc(var(--sidebar-width) - var(--scrollbar-width));
    height: 40px;
    background: #1e2329;
    color: #ffffff;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-top: 1px solid #3a3f47;
    z-index: 20;
}

.status-line[b-jdzpxrovij] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 16px;
}

@keyframes dot-pulse-b-jdzpxrovij {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

.status-dot[b-jdzpxrovij] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: dot-pulse-b-jdzpxrovij 0.7s ease-in-out;
}

.status-sep[b-jdzpxrovij] {
    color: #555;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-5tja6pqnoq] {
    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.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-5tja6pqnoq] {
    background-color: rgba(255, 255, 255, 0.5);
}

/* ─── Brand Header ─── */
.top-row[b-5tja6pqnoq] {
    min-height: 3.5rem;
    background-color: #232830;
}

.navbar-brand[b-5tja6pqnoq] {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.brand-icon[b-5tja6pqnoq] {
    color: #3D8B5E;
    font-weight: 800;
    font-size: 1.4rem;
}

.brand-icon-w[b-5tja6pqnoq] {
    color: #3E4958;
    font-weight: 800;
    font-size: 1.4rem;
    margin-right: 0.5rem;
}

.brand-text[b-5tja6pqnoq] {
    color: #F6F5F2;
    font-weight: 600;
    font-size: 1.05rem;
}

/* ─── Section Labels ─── */
.nav-section-label[b-5tja6pqnoq] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(246, 245, 242, 0.4);
    padding: 1.25rem 1.25rem 0.4rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-name[b-5tja6pqnoq] {
    color: #D4A843;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.role-badge[b-5tja6pqnoq] {
    font-size: 0.6rem;
    font-weight: 700;
    background: rgba(61, 139, 94, 0.25);
    color: #3D8B5E;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Divider ─── */
.nav-divider[b-5tja6pqnoq] {
    height: 1px;
    background: rgba(246, 245, 242, 0.08);
    margin: 0.5rem 1.25rem;
}

/* ─── Nav Icons ─── */
.nav-icon[b-5tja6pqnoq] {
    display: inline-block;
    width: 1.25rem;
    text-align: center;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* ─── Nav Items ─── */
.nav-item[b-5tja6pqnoq] {
    font-size: 0.85rem;
    padding-bottom: 0.1rem;
}

    .nav-item:first-of-type[b-5tja6pqnoq] {
        padding-top: 0;
    }

    .nav-item:last-of-type[b-5tja6pqnoq] {
        padding-bottom: 0.5rem;
    }

    .nav-item[b-5tja6pqnoq]  .nav-link {
        color: rgba(246, 245, 242, 0.7);
        background: none;
        border: none;
        border-radius: 6px;
        height: 2.4rem;
        display: flex;
        align-items: center;
        line-height: 2.4rem;
        width: 100%;
        padding-left: 0.5rem;
        transition: all 0.15s;
    }

.nav-item[b-5tja6pqnoq]  a.active {
    background-color: rgba(61, 139, 94, 0.2);
    color: #F6F5F2;
}

.nav-item[b-5tja6pqnoq]  .nav-link:hover {
    background-color: rgba(246, 245, 242, 0.06);
    color: #F6F5F2;
}

/* ─── Scrollable Area ─── */
.nav-scrollable[b-5tja6pqnoq] {
    display: none;
}

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

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

    .nav-scrollable[b-5tja6pqnoq] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        position: relative;
        padding-bottom: 80px;
    }
}

/* ─── Footer ─── */
.nav-footer[b-5tja6pqnoq] {
    padding: 1.5rem 1.25rem 1rem;
    font-size: 0.6rem;
    color: rgba(246, 245, 242, 0.25);
    line-height: 1.5;
    border-top: 1px solid rgba(246, 245, 242, 0.06);
    margin-top: auto;
}

/* ─── Role Badges ─── */
.badge-admin-yellow[b-5tja6pqnoq] {
    background-color: #D4A843;
    color: #000;
}

.badge-viewer-gray[b-5tja6pqnoq] {
    background-color: #555;
    color: #fff;
}

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-z13f0itwbh],
.components-reconnect-repeated-attempt-visible[b-z13f0itwbh],
.components-reconnect-failed-visible[b-z13f0itwbh],
.components-pause-visible[b-z13f0itwbh],
.components-resume-failed-visible[b-z13f0itwbh],
.components-rejoining-animation[b-z13f0itwbh] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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