/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-qgq0w2tw3m] {
    background: rgba(179, 33, 33, 0.9);
    bottom: 0;
    box-sizing: border-box;
    color: #f5f0eb;
    display: none;
    font-size: 0.85rem;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-qgq0w2tw3m] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-dok1y9qdpl] {
    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-dok1y9qdpl] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-dok1y9qdpl] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-dok1y9qdpl] {
    font-size: 1.1rem;
}

.bi[b-dok1y9qdpl] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-dok1y9qdpl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' 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");
}

.bi-plus-square-fill-nav-menu[b-dok1y9qdpl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-dok1y9qdpl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-dok1y9qdpl] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-dok1y9qdpl] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-dok1y9qdpl] {
        padding-bottom: 1rem;
    }

    .nav-item[b-dok1y9qdpl]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-dok1y9qdpl]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-dok1y9qdpl]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-dok1y9qdpl] {
    display: none;
}

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

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

    .nav-scrollable[b-dok1y9qdpl] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* ── Reconnect state visibility (inner content) ─────────────────── */
.components-reconnect-first-attempt-visible[b-eee92y1fly],
.components-reconnect-repeated-attempt-visible[b-eee92y1fly],
.components-reconnect-failed-visible[b-eee92y1fly],
.components-pause-visible[b-eee92y1fly],
.components-resume-failed-visible[b-eee92y1fly],
.components-rejoining-animation[b-eee92y1fly] { display: none; }

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

/* ── Dialog shell ────────────────────────────────────────────────── */
#components-reconnect-modal[b-eee92y1fly] {
    /* Keep hidden until Blazor explicitly opens it — prevents the
       fadeOutOpacity flash that starts at opacity:1 on page load. */
    opacity: 0;
    pointer-events: none;
    border: none;
    outline: none;
    background-color: #1d2817;
    color: #ede9da;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    /* No animation in the closed/default state */
}

#components-reconnect-modal[open][b-eee92y1fly] {
    opacity: 1;
    pointer-events: auto;
    animation: reconnect-slideUp-b-eee92y1fly 0.3s cubic-bezier(.05,.89,.25,1.02) both,
               reconnect-fadeIn-b-eee92y1fly  0.25s ease both;
}

#components-reconnect-modal[b-eee92y1fly]::backdrop {
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

@keyframes reconnect-slideUp-b-eee92y1fly {
    from { transform: translateY(20px) scale(0.97); }
    to   { transform: translateY(0)   scale(1); }
}

@keyframes reconnect-fadeIn-b-eee92y1fly {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

#components-reconnect-modal p[b-eee92y1fly] {
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(237,233,218,0.75);
}

#components-reconnect-modal button[b-eee92y1fly] {
    border: 1px solid rgba(184,160,82,0.4);
    background-color: rgba(184,160,82,0.15);
    color: #b8a052;
    padding: 6px 24px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 150ms;
}

#components-reconnect-modal button:hover[b-eee92y1fly] {
    background-color: rgba(184,160,82,0.25);
}

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

.components-rejoining-animation div[b-eee92y1fly] {
    position: absolute;
    border: 2px solid #b8a052;
    opacity: 1;
    border-radius: 50%;
    animation: reconnect-ripple-b-eee92y1fly 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

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

@keyframes reconnect-ripple-b-eee92y1fly {
    0%   { top: 24px; left: 24px; width: 0;    height: 0;    opacity: 0; }
    5%   { top: 24px; left: 24px; width: 0;    height: 0;    opacity: 1; }
    100% { top: 0;    left: 0;    width: 48px; height: 48px; opacity: 0; }
}
