/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-yx2pallkk7] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--app-bg);
}

main[b-yx2pallkk7] {
    flex: 1;
    background: transparent;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ── Sidebar ────────────────────────────────────────────── */

.sidebar[b-yx2pallkk7] {
    background: var(--sidebar-bg, #fff);
    border-right: 1px solid rgba(17,24,39,0.07);
    box-shadow: 1px 0 12px rgba(16,24,40,0.03);
    display: flex;
    flex-direction: column;
}

/* ── Top row ────────────────────────────────────────────── */

.top-row[b-yx2pallkk7] {
    background: rgba(255,255,255,0.88);
    border-bottom: 1px solid rgba(17,24,39,0.07);
    height: 3.5rem;
    display: flex;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 20;
    flex-shrink: 0;
}

.top-row-inner[b-yx2pallkk7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

/* ── Page title ─────────────────────────────────────────── */

.page-title[b-yx2pallkk7] {
    font-size: 0.9rem;
    font-weight: 650;
    color: rgba(17,24,39,0.9);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 55%;
}

.page-title-prefix[b-yx2pallkk7] {
    color: rgba(17,24,39,0.35);
    font-weight: 500;
    margin-right: 0.35rem;
}

/* ── Top row actions (right side) ───────────────────────── */

.top-row-actions[b-yx2pallkk7] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.top-divider[b-yx2pallkk7] {
    width: 1px;
    height: 1.4rem;
    background: rgba(17,24,39,0.1);
    margin: 0 0.2rem;
}

.top-action-btn[b-yx2pallkk7] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(17,24,39,0.6) !important;
}

.top-action-btn:hover[b-yx2pallkk7] {
    color: rgba(17,24,39,0.9) !important;
}

/* ── User chip ──────────────────────────────────────────── */

.user-chip[b-yx2pallkk7] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0.6rem 0.2rem 0.25rem;
    border-radius: 999px;
    border: 1px solid rgba(17,24,39,0.08);
    background: rgba(255,255,255,0.75);
}

.user-chip .avatar[b-yx2pallkk7] {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-color, #7BB31A), var(--brand-color-dark, #679815));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.user-chip .user-name[b-yx2pallkk7] {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(17,24,39,0.75);
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Content area ───────────────────────────────────────── */

article.content[b-yx2pallkk7] {
    flex: 1;
    padding-top: 1.35rem;
    padding-bottom: 2.5rem;
}

/* ── Blazor error UI ────────────────────────────────────── */

#blazor-error-ui[b-yx2pallkk7] {
    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-yx2pallkk7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ── Mobile ─────────────────────────────────────────────── */

@media (max-width: 640.98px) {
    .page-title[b-yx2pallkk7] {
        max-width: 42%;
        font-size: 0.85rem;
    }

    .page-title-prefix[b-yx2pallkk7] {
        display: none;
    }
}

/* ── Desktop ────────────────────────────────────────────── */

@media (min-width: 641px) {
    .page[b-yx2pallkk7] {
        flex-direction: row;
    }

    .sidebar[b-yx2pallkk7] {
        width: 260px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow: hidden;
    }

    .top-row[b-yx2pallkk7], article[b-yx2pallkk7] {
        padding-left: 2rem !important;
        padding-right: 1.75rem !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Mobile toggle ─────────────────────────────────────── */

.navbar-toggler[b-z2jz2zm1qd] {
    appearance: none;
    cursor: pointer;
    width: 2.75rem;
    height: 2.5rem;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    border: 1px solid rgba(17,24,39,0.12);
    border-radius: 0.6rem;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2817,24,39,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.4rem rgba(255,255,255,0.8);
    backdrop-filter: blur(6px);
    transition: background-color 140ms ease;
    z-index: 10;
}

.navbar-toggler:checked[b-z2jz2zm1qd] {
    background-color: rgba(255,255,255,0.95);
}

/* ── Brand ─────────────────────────────────────────────── */

.sidebar-brand[b-z2jz2zm1qd] {
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    border-bottom: 1px solid rgba(17,24,39,0.07);
    flex-shrink: 0;
}

.brand-link[b-z2jz2zm1qd] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    width: 100%;
}

.brand-link:hover[b-z2jz2zm1qd] {
    text-decoration: none;
    opacity: 0.85;
}

.brand-logo-wrap[b-z2jz2zm1qd] {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, rgba(123,179,26,0.12), rgba(103,152,21,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.brand-logo-wrap img[b-z2jz2zm1qd] {
    width: 1.6rem;
    height: 1.6rem;
    object-fit: contain;
}

.brand-text[b-z2jz2zm1qd] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name[b-z2jz2zm1qd] {
    font-size: 0.95rem;
    font-weight: 750;
    color: #111827;
    letter-spacing: -0.01em;
}

.brand-pill[b-z2jz2zm1qd] {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-color, #7BB31A);
    background: rgba(123,179,26,0.10);
    border-radius: 999px;
    padding: 0.05rem 0.45rem;
    width: fit-content;
}

/* ── Nav scrollable container ──────────────────────────── */

.nav-scrollable[b-z2jz2zm1qd] {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0 0;
}

.navbar-toggler:checked ~ .nav-scrollable[b-z2jz2zm1qd] {
    display: flex;
}

.sidebar-nav[b-z2jz2zm1qd] {
    flex: 1;
    padding: 0 0.6rem;
}

/* ── Nav groups (sections) ─────────────────────────────── */

.nav-group[b-z2jz2zm1qd] {
    padding: 0.5rem 0 0.25rem;
}

.nav-group + .nav-group[b-z2jz2zm1qd] {
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(17,24,39,0.06);
}

.nav-group-label[b-z2jz2zm1qd] {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(17,24,39,0.38);
    padding: 0 0.6rem;
    margin-bottom: 0.3rem;
}

/* ── Nav items ─────────────────────────────────────────── */

.nav-item[b-z2jz2zm1qd] {
    margin-bottom: 1px;
}

.nav-item[b-z2jz2zm1qd]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 0.7rem;
    height: 2.5rem;
    border-radius: 0.6rem;
    color: rgba(17,24,39,0.75);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    transition: background-color 130ms ease, color 130ms ease;
    white-space: nowrap;
    overflow: hidden;
}

.nav-item[b-z2jz2zm1qd]  .nav-link:hover {
    background-color: rgba(17,24,39,0.04);
    color: #111827;
    text-decoration: none;
}

.nav-item[b-z2jz2zm1qd]  .nav-link.active {
    background-color: rgba(123,179,26,0.10);
    color: var(--brand-color, #7BB31A);
    font-weight: 600;
}

.nav-item[b-z2jz2zm1qd]  .nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--brand-color, #7BB31A);
}

/* ── Nav icon + label ──────────────────────────────────── */

.nav-icon[b-z2jz2zm1qd] {
    width: 1.15rem;
    height: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.65rem;
    opacity: 0.65;
    transition: opacity 130ms ease;
}

.nav-icon svg[b-z2jz2zm1qd] {
    width: 100%;
    height: 100%;
}

.nav-item[b-z2jz2zm1qd]  .nav-link:hover .nav-icon,
.nav-item[b-z2jz2zm1qd]  .nav-link.active .nav-icon {
    opacity: 1;
}

.nav-label[b-z2jz2zm1qd] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Sidebar footer ────────────────────────────────────── */

.sidebar-footer[b-z2jz2zm1qd] {
    padding: 0.6rem;
    border-top: 1px solid rgba(17,24,39,0.06);
    margin-top: auto;
}

.view-site-link[b-z2jz2zm1qd] {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 0.7rem;
    height: 2.4rem;
    border-radius: 0.6rem;
    color: rgba(17,24,39,0.55);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: background-color 130ms ease, color 130ms ease;
}

.view-site-link:hover[b-z2jz2zm1qd] {
    background-color: rgba(17,24,39,0.04);
    color: rgba(17,24,39,0.8);
    text-decoration: none;
}

.view-site-link .nav-icon[b-z2jz2zm1qd] {
    margin-right: 0.6rem;
}

.external-icon[b-z2jz2zm1qd] {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
    opacity: 0.45;
}

/* ── Desktop ───────────────────────────────────────────── */

@media (min-width: 641px) {
    .navbar-toggler[b-z2jz2zm1qd] {
        display: none;
    }

    .nav-scrollable[b-z2jz2zm1qd] {
        display: flex;
        height: calc(100vh - 3.5rem);
        padding-bottom: 0;
    }
}
/* /Components/Site/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-f0hjy3bz99] {
    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-f0hjy3bz99] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Site/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0bdw9sysp8],
.components-reconnect-repeated-attempt-visible[b-0bdw9sysp8],
.components-reconnect-failed-visible[b-0bdw9sysp8],
.components-pause-visible[b-0bdw9sysp8],
.components-resume-failed-visible[b-0bdw9sysp8],
.components-rejoining-animation[b-0bdw9sysp8] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0bdw9sysp8],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0bdw9sysp8],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0bdw9sysp8],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0bdw9sysp8],
#components-reconnect-modal.components-reconnect-retrying[b-0bdw9sysp8],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0bdw9sysp8],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0bdw9sysp8],
#components-reconnect-modal.components-reconnect-failed[b-0bdw9sysp8],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0bdw9sysp8] {
    display: block;
}


#components-reconnect-modal[b-0bdw9sysp8] {
    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-0bdw9sysp8 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-0bdw9sysp8 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0bdw9sysp8 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-0bdw9sysp8]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0bdw9sysp8 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0bdw9sysp8 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0bdw9sysp8 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0bdw9sysp8 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0bdw9sysp8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0bdw9sysp8] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0bdw9sysp8] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0bdw9sysp8] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-0bdw9sysp8] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-0bdw9sysp8] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0bdw9sysp8] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0bdw9sysp8 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0bdw9sysp8] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0bdw9sysp8 {
    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;
    }
}
