/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* #blazor-error-ui is now styled globally in wwwroot/app.css so it applies to SiteFooter across all layouts. */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-657j9501w0],
.components-reconnect-repeated-attempt-visible[b-657j9501w0],
.components-reconnect-failed-visible[b-657j9501w0],
.components-pause-visible[b-657j9501w0],
.components-resume-failed-visible[b-657j9501w0],
.components-rejoining-animation[b-657j9501w0] {
    display: none;
}

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

#components-reconnect-modal[b-657j9501w0] {
    background-color: var(--stage-bg-card, #111827);
    color: var(--stage-text-primary, #F8FAFC);
    width: min(92vw, 21rem);
    margin: 22vh auto;
    padding: 1.75rem;
    border: 1px solid var(--stage-border-glow-sky, rgba(56, 189, 248, 0.34));
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.72);
    opacity: 0;
    transition: display 0.35s allow-discrete, overlay 0.35s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-657j9501w0 0.35s both;
}

#components-reconnect-modal[open][b-657j9501w0] {
    animation: components-reconnect-modal-slideUp-b-657j9501w0 0.45s cubic-bezier(.16, 1, .3, 1) 0.1s, components-reconnect-modal-fadeInOpacity-b-657j9501w0 0.3s ease-out 0.1s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-657j9501w0]::backdrop {
    background-color: rgba(5, 8, 15, 0.76);
    backdrop-filter: blur(6px);
    animation: components-reconnect-modal-fadeInOpacity-b-657j9501w0 0.3s ease-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-657j9501w0 {
    0% {
        transform: translateY(20px) scale(0.96);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-657j9501w0 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

#components-reconnect-modal p[b-657j9501w0] {
    margin: 0;
    text-align: center;
    color: var(--stage-text-secondary, #CBD5E1);
    font-size: 0.92rem;
}

#components-reconnect-modal button[b-657j9501w0] {
    border: 1px solid var(--stage-cta-primary-bg, #38BDF8);
    background-color: var(--stage-cta-primary-bg, #38BDF8);
    color: var(--stage-cta-primary-fg, #06101F);
    font-weight: 700;
    padding: 0.5rem 1.4rem;
    border-radius: 10px;
    cursor: pointer;
}

#components-reconnect-modal button:hover[b-657j9501w0] {
    background-color: var(--stage-cta-primary-hover, #7DD3FC);
}

.components-rejoining-animation[b-657j9501w0] {
    position: relative;
    width: 64px;
    height: 64px;
}

.components-rejoining-animation div[b-657j9501w0] {
    position: absolute;
    border: 3px solid var(--stage-accent-chord, #38BDF8);
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-657j9501w0 1.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

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

@keyframes components-rejoining-animation-b-657j9501w0 {
    0%, 4.9% {
        top: 32px;
        left: 32px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 32px;
        left: 32px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0;
        left: 0;
        width: 64px;
        height: 64px;
        opacity: 0;
    }
}
