/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-1vbc0kuiog],
.components-reconnect-repeated-attempt-visible[b-1vbc0kuiog],
.components-reconnect-failed-visible[b-1vbc0kuiog],
.components-pause-visible[b-1vbc0kuiog],
.components-resume-failed-visible[b-1vbc0kuiog],
.components-rejoining-animation[b-1vbc0kuiog] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-1vbc0kuiog],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-1vbc0kuiog],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-1vbc0kuiog],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-1vbc0kuiog],
#components-reconnect-modal.components-reconnect-retrying[b-1vbc0kuiog],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-1vbc0kuiog],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-1vbc0kuiog],
#components-reconnect-modal.components-reconnect-failed[b-1vbc0kuiog],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-1vbc0kuiog] {
    display: block;
}


#components-reconnect-modal[b-1vbc0kuiog] {
    position: fixed;
    inset: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    max-width: calc(100vw - 2rem);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--app-border, #dadce0);
    border-radius: 1rem;
    background-color: var(--app-surface, #fff);
    color: var(--app-ink, #202124);
    font-size: 0.875rem;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.15);
    z-index: 1100;
    opacity: 0;
    transition: display 0.3s allow-discrete, overlay 0.3s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-1vbc0kuiog 0.3s both;
}

    #components-reconnect-modal[open][b-1vbc0kuiog] {
        animation: components-reconnect-modal-fadeInOpacity-b-1vbc0kuiog 0.3s ease-in-out;
        animation-fill-mode: both;
    }

#components-reconnect-modal[b-1vbc0kuiog]::backdrop {
    background-color: rgba(17, 24, 39, 0.35);
    backdrop-filter: blur(2px);
}
@keyframes components-reconnect-modal-fadeInOpacity-b-1vbc0kuiog {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-1vbc0kuiog {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-1vbc0kuiog] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

#components-reconnect-modal p[b-1vbc0kuiog] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-1vbc0kuiog] {
    border: 0;
    background-color: #1a73e8;
    color: white;
    padding: 0.2rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

    #components-reconnect-modal button:hover[b-1vbc0kuiog] {
        background-color: #1765cc;
    }

    #components-reconnect-modal button:active[b-1vbc0kuiog] {
        background-color: #1a73e8;
    }

.components-rejoining-animation[b-1vbc0kuiog] {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

    .components-rejoining-animation div[b-1vbc0kuiog] {
        position: absolute;
        border: 2px solid #1a73e8;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-1vbc0kuiog 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-1vbc0kuiog] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-1vbc0kuiog {
    0% {
        top: 10px;
        left: 10px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 10px;
        left: 10px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 10px;
        left: 10px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 20px;
        height: 20px;
        opacity: 0;
    }
}
