/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-znre3oiv75] {
    color-scheme: light;
    background: rgba(220, 53, 69, 0.06);
    border-top: 2px solid #dc3545;
    color: #dc3545;
    bottom: 0;
    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-znre3oiv75] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu — scoped styles kept minimal; global app.css handles the theme */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xwi8uat51w],
.components-reconnect-repeated-attempt-visible[b-xwi8uat51w],
.components-reconnect-failed-visible[b-xwi8uat51w],
.components-pause-visible[b-xwi8uat51w],
.components-resume-failed-visible[b-xwi8uat51w],
.components-rejoining-animation[b-xwi8uat51w] {
    display: none;
}

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

#components-reconnect-modal[b-xwi8uat51w] {
    background-color: #ffffff;
    border: 1px solid #e4e4e0;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    color: #2a2a2a;
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-xwi8uat51w 0.5s both;

    &[open] {
        animation: components-reconnect-modal-slideUp-b-xwi8uat51w 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s,
                   components-reconnect-modal-fadeInOpacity-b-xwi8uat51w 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }
}

#components-reconnect-modal[b-xwi8uat51w]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: components-reconnect-modal-fadeInOpacity-b-xwi8uat51w 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-xwi8uat51w {
    0% { transform: translateY(30px) scale(0.95); }
    100% { transform: translateY(0); }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-xwi8uat51w {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-xwi8uat51w {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

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

#components-reconnect-modal p[b-xwi8uat51w] {
    margin: 0;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: #666666;
}

#components-reconnect-modal button[b-xwi8uat51w] {
    border: none;
    background-color: #C4D30D;
    color: #222222;
    padding: 0.4rem 1.5rem;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#components-reconnect-modal button:hover[b-xwi8uat51w] {
    background-color: #a8b40b;
}

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

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

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

@keyframes components-rejoining-animation-b-xwi8uat51w {
    0% {
        top: 30px;
        left: 30px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    4.9% {
        top: 30px;
        left: 30px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    5% {
        top: 30px;
        left: 30px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}
