/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ── Site shell ─────────────────────────────────── */
.site-wrapper[b-p64isvoi8f] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Top header ─────────────────────────────────── */
.site-header[b-p64isvoi8f] {
    background-color: #0d2344;
    border-bottom: 3px solid #c0392b;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-inner[b-p64isvoi8f] {
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.site-brand[b-p64isvoi8f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.site-logo[b-p64isvoi8f] {
    width: 160px;
    height: auto;
}

.site-title[b-p64isvoi8f] {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ── Header user area ───────────────────────────── */
.header-user-area[b-p64isvoi8f] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-username[b-p64isvoi8f] {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.btn-signout[b-p64isvoi8f] {
    color: rgba(255,255,255,0.85);
    font-size: 0.8125rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}

.btn-signout:hover[b-p64isvoi8f] {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #ffffff;
}

/* ── Body row (sidebar + content) ───────────────── */
.site-body[b-p64isvoi8f] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ── Sidebar ────────────────────────────────────── */
.sidebar[b-p64isvoi8f] {
    width: 200px;
    flex-shrink: 0;
    background-color: #0d2344;
    height: 100%;
    position: sticky;
    top: 0;
    overflow-y: auto;
    align-self: flex-start;
    max-height: 100vh;
}

/* ── Main content ───────────────────────────────── */
.main-content[b-p64isvoi8f] {
    flex: 1;
    overflow-y: auto;
    background-color: #f0f2f5;
    padding: 1.25rem 1.5rem;
    min-width: 0;
}

/* ── Blazor error bar ───────────────────────────── */
#blazor-error-ui[b-p64isvoi8f] {
    color-scheme: light only;
    background: #c0392b;
    color: white;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.3);
    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-p64isvoi8f] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Nav items ──────────────────────────────────── */
.nav-item[b-nkfok38vdd] {
    font-size: 0.85rem;
    padding: 0;
}

.nav-item[b-nkfok38vdd]  .nav-link {
    color: #b0bec8;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1.4;
}

.nav-item[b-nkfok38vdd]  a.active {
    background-color: rgba(255,255,255,0.08);
    border-left-color: #c0392b;
    color: #ffffff;
}

.nav-item[b-nkfok38vdd]  .nav-link:hover {
    background-color: rgba(255,255,255,0.06);
    color: #ffffff;
}

/* ── Section labels ─────────────────────────────── */
.nav-section-label[b-nkfok38vdd] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5a7a99;
    padding: 0.4rem 1rem 0.2rem;
}

/* ── Icons ──────────────────────────────────────── */
.bi[b-nkfok38vdd] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-nkfok38vdd] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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-table-nav-menu[b-nkfok38vdd] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm15 2h-4v3h4V4zm0 4h-4v3h4V8zm0 4h-4v3h3a1 1 0 0 0 1-1v-2zm-5 3v-3H6v3h4zm-5 0v-3H1v2a1 1 0 0 0 1 1h3zm-4-4h4V8H1v3zm0-4h4V4H1v3zm5-3v3h4V4H6zm4 4H6v3h4V8z'/%3E%3C/svg%3E");
}

.bi-water-nav-menu[b-nkfok38vdd] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M.036 3.314a.5.5 0 0 1 .65-.278l1.757.703a1.5 1.5 0 0 0 1.114 0l1.014-.406a2.5 2.5 0 0 1 1.857 0l1.015.406a1.5 1.5 0 0 0 1.114 0l1.014-.406a2.5 2.5 0 0 1 1.857 0l1.015.406a1.5 1.5 0 0 0 1.114 0l1.757-.703a.5.5 0 1 1 .372.928l-1.758.703a2.5 2.5 0 0 1-1.857 0l-1.014-.406a1.5 1.5 0 0 0-1.114 0l-1.015.406a2.5 2.5 0 0 1-1.857 0l-1.014-.406a1.5 1.5 0 0 0-1.114 0l-1.015.406a2.5 2.5 0 0 1-1.857 0L.314 3.964a.5.5 0 0 1-.278-.65z'/%3E%3C/svg%3E");
}

.bi-newspaper-nav-menu[b-nkfok38vdd] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M0 2.5A1.5 1.5 0 0 1 1.5 1h11A1.5 1.5 0 0 1 14 2.5v10.528c0 .3-.05.654-.238.972h.738a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 1 1 0v9a1.5 1.5 0 0 1-1.5 1.5H1.497A1.497 1.497 0 0 1 0 13.5v-11zM12 14c.37 0 .654-.211.853-.441.092-.106.147-.279.147-.531V2.5a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5v11c0 .278.223.5.497.5H12z'/%3E%3Cpath d='M2 3h10v2H2V3zm0 3h4v3H2V6zm0 4h4v1H2v-1zm0 2h4v1H2v-1zm5-6h2v1H7V6zm3 0h2v1h-2V6zM7 8h2v1H7V8zm3 0h2v1h-2V8zm-3 2h2v1H7v-1zm3 0h2v1h-2v-1zm-3 2h2v1H7v-1zm3 0h2v1h-2v-1z'/%3E%3C/svg%3E");
}

/* ── Mobile toggler ─────────────────────────────── */
.navbar-toggler[b-nkfok38vdd] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.25rem;
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 200;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    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.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem rgba(255,255,255,0.05);
}

.nav-scrollable[b-nkfok38vdd] {
    display: none;
    padding: 0.5rem 0;
}

.navbar-toggler:checked ~ .nav-scrollable[b-nkfok38vdd] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-nkfok38vdd] { display: none; }
    .nav-scrollable[b-nkfok38vdd] {
        display: block;
        height: 100%;
        overflow-y: auto;
        padding: 0.75rem 0;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ygmeza9gk0],
.components-reconnect-repeated-attempt-visible[b-ygmeza9gk0],
.components-reconnect-failed-visible[b-ygmeza9gk0],
.components-pause-visible[b-ygmeza9gk0],
.components-resume-failed-visible[b-ygmeza9gk0],
.components-rejoining-animation[b-ygmeza9gk0] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ygmeza9gk0],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ygmeza9gk0],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ygmeza9gk0],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ygmeza9gk0],
#components-reconnect-modal.components-reconnect-retrying[b-ygmeza9gk0],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ygmeza9gk0],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ygmeza9gk0],
#components-reconnect-modal.components-reconnect-failed[b-ygmeza9gk0],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ygmeza9gk0] {
    display: block;
}


#components-reconnect-modal[b-ygmeza9gk0] {
    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-ygmeza9gk0 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ygmeza9gk0 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ygmeza9gk0 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ygmeza9gk0]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ygmeza9gk0 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ygmeza9gk0 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ygmeza9gk0 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ygmeza9gk0 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ygmeza9gk0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ygmeza9gk0] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ygmeza9gk0] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ygmeza9gk0] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ygmeza9gk0] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ygmeza9gk0] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ygmeza9gk0] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ygmeza9gk0 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ygmeza9gk0] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ygmeza9gk0 {
    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;
    }
}
