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

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

#components-reconnect-modal[b-2k5gqyxrm9] {
    width: min(22rem, 90vw);
    margin: 20vh auto;
    padding: 2rem 1.75rem 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: display .5s allow-discrete, overlay .5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-2k5gqyxrm9 .5s both;
}

#components-reconnect-modal[open][b-2k5gqyxrm9] {
    animation: components-reconnect-modal-slideUp-b-2k5gqyxrm9 1.2s var(--ease-out) .3s, components-reconnect-modal-fadeInOpacity-b-2k5gqyxrm9 .5s ease-in-out .3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-2k5gqyxrm9]::backdrop {
    background-color: color-mix(in srgb, var(--mist) 55%, transparent);
    backdrop-filter: blur(6px);
    animation: components-reconnect-modal-fadeInOpacity-b-2k5gqyxrm9 .5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2k5gqyxrm9 {
    0% { transform: translateY(24px) scale(.97); }
    100% { transform: translateY(0); }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2k5gqyxrm9 {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2k5gqyxrm9 {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

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

#components-reconnect-modal p[b-2k5gqyxrm9] {
    margin: 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: .95rem;
}

#components-reconnect-modal button[b-2k5gqyxrm9] {
    border: 0;
    padding: .55rem 1.4rem;
    border-radius: var(--radius-sm);
    background-color: var(--solid);
    color: var(--on-solid);
    font-weight: 600;
    cursor: pointer;
}

#components-reconnect-modal button:hover[b-2k5gqyxrm9] {
    background-color: var(--solid-hover);
}

/* Ripples on still water while rejoining. */
.components-rejoining-animation[b-2k5gqyxrm9] {
    position: relative;
    width: 84px;
    height: 84px;
}

.components-rejoining-animation div[b-2k5gqyxrm9] {
    position: absolute;
    border: 2px solid var(--tide);
    border-radius: 50%;
    opacity: 1;
    animation: components-rejoining-animation-b-2k5gqyxrm9 1.6s cubic-bezier(0, .2, .8, 1) infinite;
}

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

@keyframes components-rejoining-animation-b-2k5gqyxrm9 {
    0%, 4.9% { top: 42px; left: 42px; width: 0; height: 0; opacity: 0; }
    5% { top: 42px; left: 42px; width: 0; height: 0; opacity: 1; }
    100% { top: 0; left: 0; width: 84px; height: 84px; opacity: 0; }
}
