/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-jq5yhdiza9] {
    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-jq5yhdiza9] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Pastilla arriba: sin fondo oscuro, sin robar el foco y sin bloquear la página. El
   script le pone .visible solo si la reconexión tarda. */
#components-reconnect-modal[b-8lyxe3nlek] {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    left: 50%;
    right: auto;
    bottom: auto;
    z-index: 60;
    width: max-content;
    max-width: calc(100vw - 24px);
    margin: 0;
    padding: 7px 8px 7px 14px;
    border: 1px solid var(--linea);
    border-radius: 999px;
    background: var(--papel);
    color: var(--tinta);
    box-shadow: 0 10px 28px -12px rgb(4 14 22 / .45);
    font: 600 13.5px/1.2 var(--f-ui);
    outline: none;
    opacity: 0;
    transform: translate(-50%, -12px);
    transition: opacity .2s, transform .2s;
}

#components-reconnect-modal.visible[b-8lyxe3nlek] {
    opacity: 1;
    transform: translate(-50%, 0);
}

.reconexion[b-8lyxe3nlek] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
}

.reconexion p[b-8lyxe3nlek] {
    margin: 0;
    white-space: nowrap;
}

.reconexion-giro[b-8lyxe3nlek] {
    flex: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--linea-2);
    border-top-color: var(--barra);
    animation: reconexion-giro-b-8lyxe3nlek .8s linear infinite;
}

#components-reconnect-modal.components-reconnect-failed .reconexion-giro[b-8lyxe3nlek],
#components-reconnect-modal.components-reconnect-paused .reconexion-giro[b-8lyxe3nlek],
#components-reconnect-modal.components-reconnect-resume-failed .reconexion-giro[b-8lyxe3nlek] {
    display: none;
}

#components-reconnect-modal button[b-8lyxe3nlek] {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    background: linear-gradient(100deg, var(--accion), var(--accion-2));
    color: #FFFFFF;
    font: 700 13px/1 var(--f-ui);
    cursor: pointer;
}

@keyframes reconexion-giro-b-8lyxe3nlek {
    to { transform: rotate(360deg); }
}

/* Qué texto y qué botón van en cada estado (las clases las pone Blazor). */
.components-reconnect-first-attempt-visible[b-8lyxe3nlek],
.components-reconnect-repeated-attempt-visible[b-8lyxe3nlek],
.components-reconnect-failed-visible[b-8lyxe3nlek],
.components-pause-visible[b-8lyxe3nlek],
.components-resume-failed-visible[b-8lyxe3nlek] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-8lyxe3nlek],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-8lyxe3nlek],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-8lyxe3nlek],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-8lyxe3nlek],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-8lyxe3nlek] {
    display: block;
}
