@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

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

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

#components-reconnect-modal[b-iji1yp7voi] {
    background-color: var(--color-charade-700);
    color: #fff;
    width: min(22rem, calc(100vw - 2rem));
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.25), 0 8px 10px -6px rgb(0 0 0 / 0.25);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fade-out-opacity-b-iji1yp7voi 0.5s both;
}

#components-reconnect-modal[open][b-iji1yp7voi] {
    animation: components-reconnect-modal-slide-up-b-iji1yp7voi 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fade-in-opacity-b-iji1yp7voi 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-iji1yp7voi]::backdrop {
    background-color: rgb(0 0 0 / 0.4);
    animation: components-reconnect-modal-fade-in-opacity-b-iji1yp7voi 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slide-up-b-iji1yp7voi {
    0% {
        transform: translateY(30px) scale(0.95);
    }

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

@keyframes components-reconnect-modal-fade-in-opacity-b-iji1yp7voi {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fade-out-opacity-b-iji1yp7voi {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-iji1yp7voi] {
    border: 0;
    background-color: var(--color-primary-500);
    color: var(--color-gray-900);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
}

#components-reconnect-modal button:hover[b-iji1yp7voi] {
    opacity: 0.9;
}

#components-reconnect-modal button:active[b-iji1yp7voi] {
    opacity: 1;
}

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

.components-rejoining-animation div[b-iji1yp7voi] {
    position: absolute;
    border: 3px solid var(--color-primary-500);
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-iji1yp7voi 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

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

@keyframes components-rejoining-animation-b-iji1yp7voi {
    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: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
