/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-rr16rdksym],
.components-reconnect-repeated-attempt-visible[b-rr16rdksym],
.components-reconnect-failed-visible[b-rr16rdksym],
.components-pause-visible[b-rr16rdksym],
.components-resume-failed-visible[b-rr16rdksym],
.components-rejoining-animation[b-rr16rdksym] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-rr16rdksym],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-rr16rdksym],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-rr16rdksym],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-rr16rdksym],
#components-reconnect-modal.components-reconnect-retrying[b-rr16rdksym],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-rr16rdksym],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-rr16rdksym],
#components-reconnect-modal.components-reconnect-failed[b-rr16rdksym],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-rr16rdksym] {
    display: block;
}


#components-reconnect-modal[b-rr16rdksym] {
    background-color: #181818;
    color: #faf9f6;
    width: 22rem;
    max-width: calc(100vw - 2rem);
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid #ff4d00;
    border-radius: 0;
    box-shadow: none;
    font-family: "IBM Plex Mono", "Consolas", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-rr16rdksym 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-rr16rdksym 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-rr16rdksym 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-rr16rdksym]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-rr16rdksym 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-rr16rdksym {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-rr16rdksym {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-rr16rdksym {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-rr16rdksym] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-rr16rdksym] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-rr16rdksym] {
    border: 0;
    background-color: #ff4d00;
    color: #121212;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.6rem 1.6rem;
    border-radius: 0;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-rr16rdksym] {
        filter: brightness(1.12);
    }

    #components-reconnect-modal button:focus-visible[b-rr16rdksym] {
        outline: 2px solid #faf9f6;
        outline-offset: 2px;
    }

.components-rejoining-animation[b-rr16rdksym] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-rr16rdksym] {
        position: absolute;
        border: 2px solid #ff4d00;
        opacity: 1;
        border-radius: 0;
        animation: components-rejoining-animation-b-rr16rdksym 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-rr16rdksym] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-rr16rdksym {
    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;
    }
}

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[b-rr16rdksym],
    #components-reconnect-modal[open][b-rr16rdksym],
    #components-reconnect-modal[b-rr16rdksym]::backdrop,
    .components-rejoining-animation div[b-rr16rdksym] {
        animation: none;
        opacity: 1;
    }

    .components-rejoining-animation div[b-rr16rdksym] {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
    }
}
