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

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

#components-reconnect-modal.components-reconnect-retrying button.components-reconnect-repeated-attempt-visible[b-kyqwu038e4],
#components-reconnect-modal.components-reconnect-paused button.components-pause-visible[b-kyqwu038e4],
#components-reconnect-modal.components-reconnect-failed button.components-reconnect-failed-visible[b-kyqwu038e4],
#components-reconnect-modal.components-reconnect-resume-failed button.components-resume-failed-visible[b-kyqwu038e4] {
    display: inline-flex;
}

#components-reconnect-modal[b-kyqwu038e4] {
    background-color: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    width: calc(100% - 32px);
    max-width: 480px;
    margin: 20vh auto;
    padding: 24px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 61, 22, .12);
}

#components-reconnect-modal[b-kyqwu038e4]::backdrop {
    background-color: rgba(15, 61, 22, .5);
}

.components-reconnect-container[b-kyqwu038e4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

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

#components-reconnect-modal p + p[b-kyqwu038e4] {
    margin-top: 8px;
}

#components-reconnect-modal .reconnect-title[b-kyqwu038e4] {
    font-family: var(--mud-typography-h1-family);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.2;
}

#components-reconnect-modal button[b-kyqwu038e4] {
    align-items: center;
    justify-content: center;
    border: 0;
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-radius: 8px;
    min-height: 44px;
    padding: 12px 24px;
    font-family: var(--mud-typography-default-family);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

#components-reconnect-modal button:hover[b-kyqwu038e4] {
    background-color: var(--mud-palette-primary-darken);
}

#components-reconnect-modal button:active[b-kyqwu038e4] {
    background-color: var(--mud-palette-tertiary);
}

#components-reconnect-modal button:focus-visible[b-kyqwu038e4] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.components-rejoining-animation[b-kyqwu038e4] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid var(--mud-palette-primary-lighten);
    border-top-color: var(--mud-palette-primary);
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    .components-rejoining-animation[b-kyqwu038e4] {
        animation: components-rejoining-spin-b-kyqwu038e4 1s linear infinite;
    }

    @keyframes components-rejoining-spin-b-kyqwu038e4 {
        to {
            transform: rotate(360deg);
        }
    }
}
