/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-t5is0dff3y] {
    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-t5is0dff3y] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* A bottom-right toast with no backdrop (the dialog opens with show()). Only the request form has a circuit to lose. */

.components-reconnect-first-attempt-visible[b-a7uax8oekg],
.components-reconnect-repeated-attempt-visible[b-a7uax8oekg],
.components-reconnect-failed-visible[b-a7uax8oekg],
.components-pause-visible[b-a7uax8oekg],
.components-resume-failed-visible[b-a7uax8oekg],
.components-rejoining-animation[b-a7uax8oekg] {
    display: none;
}

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

/* While retrying, the dialog carries both the show and retrying classes; show only the retry message. */
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-first-attempt-visible[b-a7uax8oekg] {
    display: none;
}

#components-reconnect-modal[b-a7uax8oekg] {
    position: fixed;
    inset: auto 1.5rem 1.5rem auto;
    margin: 0;
    width: min(22rem, calc(100vw - 3rem));
    padding: 0.875rem 1rem;
    border: 0;
    border-left: 4px solid var(--mud-palette-warning, #ff9800);
    border-radius: 0.375rem;
    background-color: var(--mud-palette-surface, #fff);
    color: var(--mud-palette-text-primary, #212121);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2000;
    font-family: var(--mud-typography-default-family, Roboto, Helvetica, Arial, sans-serif);
    font-size: 0.875rem;
    animation: components-reconnect-toast-in-b-a7uax8oekg 0.3s ease-out both;
}

#components-reconnect-modal[b-a7uax8oekg]::backdrop {
    display: none;
}

@keyframes components-reconnect-toast-in-b-a7uax8oekg {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.components-reconnect-container[b-a7uax8oekg] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

#components-reconnect-modal p[b-a7uax8oekg] {
    margin: 0;
    flex: 1 1 12rem;
}

#components-reconnect-modal button[b-a7uax8oekg] {
    border: 0;
    background-color: var(--mud-palette-primary, #1565c0);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-a7uax8oekg] {
        filter: brightness(1.1);
    }

.components-rejoining-animation[b-a7uax8oekg] {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
}

    .components-rejoining-animation div[b-a7uax8oekg] {
        position: absolute;
        inset: 0;
        border: 2px solid var(--mud-palette-warning, #ff9800);
        border-radius: 50%;
        animation: components-rejoining-animation-b-a7uax8oekg 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

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

@keyframes components-rejoining-animation-b-a7uax8oekg {
    from {
        transform: scale(0.2);
        opacity: 1;
    }

    to {
        transform: scale(1);
        opacity: 0;
    }
}
