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

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

/* A small bar above the bottom navigation instead of a blocking modal. */
#components-reconnect-modal[b-otwmfrlqpp] {
    position: fixed;
    inset: auto 0 calc(76px + env(safe-area-inset-bottom)) 0;
    width: fit-content;
    max-width: calc(100vw - 32px);
    margin: 0 auto;
    padding: 0.5rem 1rem;
    border: 0;
    border-radius: 999px;
    background-color: rgba(33, 33, 33, 0.92);
    color: #fff;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2000;
}

@media (min-width: 960px) {
    #components-reconnect-modal[b-otwmfrlqpp] {
        inset: auto 0 24px 0;
    }
}

.components-reconnect-container[b-otwmfrlqpp] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

#components-reconnect-modal p[b-otwmfrlqpp] {
    margin: 0;
}

#components-reconnect-modal button[b-otwmfrlqpp] {
    border: 0;
    background: transparent;
    color: #90caf9;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    min-height: 36px;
    cursor: pointer;
}

.components-rejoining-animation[b-otwmfrlqpp] {
    position: relative;
    width: 16px;
    height: 16px;
    flex: none;
}

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

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

@keyframes components-rejoining-animation-b-otwmfrlqpp {
    0% {
        top: 8px;
        left: 8px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0;
        left: 0;
        width: 16px;
        height: 16px;
        opacity: 0;
    }
}
