/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-e17zaa4nkc] {
    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-e17zaa4nkc] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-uoi3of0kno],
.components-reconnect-repeated-attempt-visible[b-uoi3of0kno],
.components-reconnect-failed-visible[b-uoi3of0kno],
.components-pause-visible[b-uoi3of0kno],
.components-resume-failed-visible[b-uoi3of0kno],
.components-rejoining-animation[b-uoi3of0kno] {
    display: none;
}

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

/* Discreet status pill at the top of the screen (visual identity: "Reconectando...") */
#components-reconnect-modal[b-uoi3of0kno] {
    width: max-content;
    max-width: calc(100vw - 32px);
    margin: 16px auto auto;
    padding: 8px 16px;
    border: 0;
    border-radius: var(--radius-xl);
    background: var(--text);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

#components-reconnect-modal[b-uoi3of0kno]::backdrop {
    background-color: rgba(255, 255, 255, 0.35);
}

.components-reconnect-container[b-uoi3of0kno] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

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

#components-reconnect-modal button[b-uoi3of0kno] {
    min-height: 32px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--radius-full);
    background-color: var(--primary-600);
    color: #FFFFFF;
    font-weight: 800;
    cursor: pointer;
}

#components-reconnect-modal button:active[b-uoi3of0kno] {
    background-color: var(--primary);
}

.components-rejoining-animation[b-uoi3of0kno] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: components-rejoining-spin-b-uoi3of0kno 0.9s linear infinite;
}

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