/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-0h7c0zu9tv] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-0h7c0zu9tv] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* ── Visibility toggles (Blazor-controlled classes) ── */
.components-reconnect-first-attempt-visible[b-kz6bviskhk],
.components-reconnect-repeated-attempt-visible[b-kz6bviskhk],
.components-reconnect-failed-visible[b-kz6bviskhk],
.components-pause-visible[b-kz6bviskhk],
.components-resume-failed-visible[b-kz6bviskhk],
.components-rejoining-animation[b-kz6bviskhk] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kz6bviskhk],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-kz6bviskhk],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kz6bviskhk],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kz6bviskhk],
#components-reconnect-modal.components-reconnect-retrying[b-kz6bviskhk],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kz6bviskhk],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-kz6bviskhk],
#components-reconnect-modal.components-reconnect-failed[b-kz6bviskhk],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kz6bviskhk] {
    display: block;
}

/* ── Dialog ── */
#components-reconnect-modal[b-kz6bviskhk] {
    background: transparent;
    border: 0;
    padding: 0;
    width: 280px;
    margin: auto auto 2rem auto;
    bottom: 0;
    top: auto;
    position: fixed;
    opacity: 0;
    transition: display 0.3s allow-discrete, overlay 0.3s allow-discrete;
    animation: ukfg-reconnect-fadeOut-b-kz6bviskhk 0.3s both;

    &[open] {
        animation: ukfg-reconnect-slideUp-b-kz6bviskhk 0.4s cubic-bezier(0.05, 0.89, 0.25, 1.02) 0.2s,
                   ukfg-reconnect-fadeIn-b-kz6bviskhk  0.3s ease-in-out 0.2s;
        animation-fill-mode: both;
    }
}

#components-reconnect-modal[b-kz6bviskhk]::backdrop {
    background: rgba(0, 0, 0, 0.5);
    animation: ukfg-reconnect-fadeIn-b-kz6bviskhk 0.3s ease-in-out;
}

/* ── Shell ── */
.components-reconnect-container[b-kz6bviskhk] {
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.components-reconnect-accent[b-kz6bviskhk] {
    height: 3px;
    background: #a3e635;
}

.components-reconnect-body[b-kz6bviskhk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    padding: 1.5rem;
}

/* ── Text ── */
.components-reconnect-label[b-kz6bviskhk] {
    margin: 0;
    text-align: center;
    font-family: Oswald, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ── Button ── */
.components-reconnect-btn[b-kz6bviskhk] {
    font-family: Oswald, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #09090b;
    background: #a3e635;
    border: 0;
    padding: 6px 20px;
    cursor: pointer;
    transition: background 0.15s;
}

.components-reconnect-btn:hover[b-kz6bviskhk] {
    background: #bef264;
}

.components-reconnect-btn:active[b-kz6bviskhk] {
    background: #84cc16;
}

/* ── Spinner ── */
.components-rejoining-animation[b-kz6bviskhk] {
    position: relative;
    width: 48px;
    height: 48px;
}

.components-rejoining-animation div[b-kz6bviskhk] {
    position: absolute;
    border: 2px solid #a3e635;
    opacity: 1;
    border-radius: 50%;
    animation: ukfg-reconnect-ripple-b-kz6bviskhk 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-kz6bviskhk] {
    animation-delay: -0.75s;
}

/* ── Keyframes ── */
@keyframes ukfg-reconnect-ripple-b-kz6bviskhk {
    0%   { top: 24px; left: 24px; width: 0;  height: 0;  opacity: 0; }
    4.9% { top: 24px; left: 24px; width: 0;  height: 0;  opacity: 0; }
    5%   { top: 24px; left: 24px; width: 0;  height: 0;  opacity: 1; }
    100% { top: 0;    left: 0;    width: 48px; height: 48px; opacity: 0; }
}

@keyframes ukfg-reconnect-slideUp-b-kz6bviskhk {
    0%   { transform: translateY(20px) scale(0.97); }
    100% { transform: translateY(0)    scale(1);    }
}

@keyframes ukfg-reconnect-fadeIn-b-kz6bviskhk {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes ukfg-reconnect-fadeOut-b-kz6bviskhk {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}
