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

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


/* No delayed opacity/overlay animation: a modal must never be invisible while
   its native top-layer backdrop blocks every link in the app (notably on iOS). */
#components-reconnect-modal[b-ah17jbx6l9] {
    background: white;
    color: #1C4E50;
    width: min(20rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    margin: auto;
    padding: 1.5rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 1;
}
#components-reconnect-modal:not([open])[b-ah17jbx6l9] { display: none; }
#components-reconnect-modal[b-ah17jbx6l9]::backdrop { background: rgba(0, 0, 0, 0.4); }

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

#components-reconnect-modal p[b-ah17jbx6l9] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ah17jbx6l9] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ah17jbx6l9] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ah17jbx6l9] {
        background-color: #6b9ed2;
    }

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

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

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

@keyframes components-rejoining-animation-b-ah17jbx6l9 {
    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;
    }
}
