/* /Components/Layout/MainLayout.razor.rz.scp.css */
:root[b-m4fky9lv5v]{
    --bg:#f6f8fa;
    --surface:#ffffff;
    --muted:#6b7280;
    --primary:#1b6ec2;
    --primary-600:#145ea6;
    --radius:0.5rem;
    --gap:1rem;
}

.page[b-m4fky9lv5v]{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    background:var(--bg);
}

.app-header[b-m4fky9lv5v]{
    background:linear-gradient(90deg, rgba(27,110,194,0.95), rgba(20,94,166,0.95));
    color:#fff;
    padding:0.5rem 0;
    box-shadow:0 2px 8px rgba(16,24,40,0.06);
}

.app-header .container[b-m4fky9lv5v]{
    display:flex;
    align-items:center;
    gap:var(--gap);
}

.app-logo[b-m4fky9lv5v]{
    width:44px;
    height:44px;
    object-fit:cover;
    border-radius:8px;
    border:2px solid rgba(255,255,255,0.12);
}

.app-title[b-m4fky9lv5v]{
    font-weight:600;
    font-size:1.1rem;
}

.app-header .nav-link[b-m4fky9lv5v]{
    color:rgba(255,255,255,0.95);
    margin-left:1rem;
    text-decoration:none;
    padding:0.25rem 0.5rem;
    border-radius:0.375rem;
}

.app-header .nav-link:hover[b-m4fky9lv5v]{background:rgba(255,255,255,0.06);text-decoration:none}

.main-content[b-m4fky9lv5v]{padding:2rem 1rem;flex:1}

.content[b-m4fky9lv5v]{max-width:1100px;margin:0 auto}

.app-footer[b-m4fky9lv5v]{padding:1rem 0;background:transparent;color:var(--muted);}

/* utility modern card */
.card-modern[b-m4fky9lv5v]{background:var(--surface);border-radius:var(--radius);box-shadow:0 6px 18px rgba(16,24,40,0.06);padding:1.25rem;margin-bottom:1rem}

@media (min-width:768px){
    .app-title[b-m4fky9lv5v]{font-size:1.25rem}
}

#blazor-error-ui[b-m4fky9lv5v]{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-m4fky9lv5v]{cursor:pointer;position:absolute;right:0.75rem;top:0.5rem}

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-m22umosafh],
.components-reconnect-repeated-attempt-visible[b-m22umosafh],
.components-reconnect-failed-visible[b-m22umosafh],
.components-pause-visible[b-m22umosafh],
.components-resume-failed-visible[b-m22umosafh],
.components-rejoining-animation[b-m22umosafh] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-m22umosafh],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-m22umosafh],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-m22umosafh],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-m22umosafh],
#components-reconnect-modal.components-reconnect-retrying[b-m22umosafh],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-m22umosafh],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-m22umosafh],
#components-reconnect-modal.components-reconnect-failed[b-m22umosafh],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-m22umosafh] {
    display: block;
}


#components-reconnect-modal[b-m22umosafh] {
    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-m22umosafh 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-m22umosafh 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-m22umosafh 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-m22umosafh]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-m22umosafh 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-m22umosafh {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-m22umosafh {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-m22umosafh {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-m22umosafh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-m22umosafh] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-m22umosafh] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-m22umosafh] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-m22umosafh] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-m22umosafh] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-m22umosafh] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-m22umosafh 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-m22umosafh] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-m22umosafh {
    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;
    }
}
