/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ===== Layout Principal ===== */
.app-container[b-syy71bcvpc] {
    display: flex;
    min-height: 100vh;
    background: #f0f2f5;
}

/* ===== Sidebar ===== */
.sidebar[b-syy71bcvpc] {
    width: 240px;
    background: #1a1d23;
    color: #c4c7cc;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}

.sidebar-header[b-syy71bcvpc] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    border-bottom: 1px solid #2d3139;
}

.sidebar-logo[b-syy71bcvpc] {
    background: #3b82f6;
    color: white;
    font-weight: 700;
    font-size: 14px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-title[b-syy71bcvpc] {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.sidebar-nav[b-syy71bcvpc] {
    flex: 1;
    padding: 12px 8px;
    overflow-y: auto;
}

.nav-section[b-syy71bcvpc] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6b7280;
    padding: 16px 12px 6px;
    margin-top: 4px;
}

[b-syy71bcvpc] .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 6px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s;
    margin-bottom: 2px;
}

[b-syy71bcvpc] .nav-item:hover {
    background: #2d3139;
    color: #e5e7eb;
}

[b-syy71bcvpc] .nav-item.active {
    background: #3b82f6;
    color: #fff;
}

.nav-icon[b-syy71bcvpc] {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.nav-text[b-syy71bcvpc] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-footer[b-syy71bcvpc] {
    padding: 12px 16px;
    border-top: 1px solid #2d3139;
    text-align: center;
}

.version-text[b-syy71bcvpc] {
    font-size: 11px;
    color: #6b7280;
}

/* ===== Main Content ===== */
.main-content[b-syy71bcvpc] {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar[b-syy71bcvpc] {
    background: #fff;
    padding: 16px 28px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.page-title[b-syy71bcvpc] {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.content-area[b-syy71bcvpc] {
    flex: 1;
    padding: 24px 28px;
}

/* ===== Error UI ===== */
#blazor-error-ui[b-syy71bcvpc] {
    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-syy71bcvpc] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-pyb5z1fbnc],
.components-reconnect-repeated-attempt-visible[b-pyb5z1fbnc],
.components-reconnect-failed-visible[b-pyb5z1fbnc],
.components-pause-visible[b-pyb5z1fbnc],
.components-resume-failed-visible[b-pyb5z1fbnc],
.components-rejoining-animation[b-pyb5z1fbnc] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-pyb5z1fbnc],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-pyb5z1fbnc],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-pyb5z1fbnc],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-pyb5z1fbnc],
#components-reconnect-modal.components-reconnect-retrying[b-pyb5z1fbnc],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-pyb5z1fbnc],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-pyb5z1fbnc],
#components-reconnect-modal.components-reconnect-failed[b-pyb5z1fbnc],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-pyb5z1fbnc] {
    display: block;
}


#components-reconnect-modal[b-pyb5z1fbnc] {
    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-pyb5z1fbnc 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-pyb5z1fbnc 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-pyb5z1fbnc 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-pyb5z1fbnc]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-pyb5z1fbnc 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-pyb5z1fbnc {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-pyb5z1fbnc {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-pyb5z1fbnc {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-pyb5z1fbnc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-pyb5z1fbnc] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-pyb5z1fbnc] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-pyb5z1fbnc] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-pyb5z1fbnc] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-pyb5z1fbnc] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-pyb5z1fbnc] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-pyb5z1fbnc 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-pyb5z1fbnc] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-pyb5z1fbnc {
    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;
    }
}
