/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-uzqvxyqhcu],
.components-reconnect-repeated-attempt-visible[b-uzqvxyqhcu],
.components-reconnect-failed-visible[b-uzqvxyqhcu],
.components-pause-visible[b-uzqvxyqhcu],
.components-resume-failed-visible[b-uzqvxyqhcu],
.components-rejoining-animation[b-uzqvxyqhcu] {
    display: none;
}

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

#components-reconnect-modal[b-uzqvxyqhcu] {
    width: min(22rem, calc(100vw - 2rem));
    margin: 20vh auto;
    padding: 2rem 1.5rem;
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    color: #ffffff !important;
    color-scheme: dark;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 3px solid #16a34a;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-uzqvxyqhcu 0.5s both;
}

    #components-reconnect-modal[open][b-uzqvxyqhcu] {
        animation: components-reconnect-modal-slideUp-b-uzqvxyqhcu 0.9s cubic-bezier(0.05, 0.89, 0.25, 1.02) 0.2s, components-reconnect-modal-fadeInOpacity-b-uzqvxyqhcu 0.4s ease-in-out 0.2s;
        animation-fill-mode: both;
    }

    #components-reconnect-modal[b-uzqvxyqhcu]::backdrop {
        background-color: rgba(10, 10, 10, 0.85);
        backdrop-filter: blur(6px);
        animation: components-reconnect-modal-fadeInOpacity-b-uzqvxyqhcu 0.4s ease-in-out;
        opacity: 1;
    }

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

#components-reconnect-modal p[b-uzqvxyqhcu] {
    margin: 0;
    text-align: center;
    text-wrap: balance;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffffff !important;
}

#components-reconnect-modal button[b-uzqvxyqhcu] {
    padding: 0.5rem 1.25rem;
    background-color: #16a34a;
    color: #ffffff;
    border: 1px solid #16a34a;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    #components-reconnect-modal button:hover[b-uzqvxyqhcu] {
        filter: brightness(1.1);
    }

    #components-reconnect-modal button:active[b-uzqvxyqhcu] {
        filter: brightness(0.9);
    }

    #components-reconnect-modal button:focus-visible[b-uzqvxyqhcu] {
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(34, 197, 94, 0.4);
    }

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

    .components-rejoining-animation div[b-uzqvxyqhcu] {
        position: absolute;
        inset: 0;
        border: 3px solid #22c55e;
        border-radius: 50%;
        opacity: 0;
        transform: scale(0);
        will-change: transform, opacity;
        animation: components-rejoining-animation-b-uzqvxyqhcu 1.6s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

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

@keyframes components-rejoining-animation-b-uzqvxyqhcu {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    5% {
        transform: scale(0);
        opacity: 1;
    }

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

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[b-uzqvxyqhcu],
    #components-reconnect-modal[open][b-uzqvxyqhcu],
    #components-reconnect-modal[b-uzqvxyqhcu]::backdrop {
        animation-duration: 0.01s;
        animation-delay: 0s;
    }

    .components-rejoining-animation div[b-uzqvxyqhcu] {
        animation-duration: 3s;
    }
}
