/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-mkqvvyr5ap] {
    color-scheme: light only;
    background: lightyellow;
    /* The app's theme is light-on-dark, so without an explicit colour the banner inherits near-white text
       onto this light background and is unreadable. */
    color: #1b1b1b;
    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;
    /* A stack trace can be long: cap the banner and scroll inside it rather than covering the board. */
    max-height: 45vh;
    overflow-y: auto;
}

    #blazor-error-ui .dismiss[b-mkqvvyr5ap] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    #blazor-error-ui .error-header[b-mkqvvyr5ap] {
        align-items: baseline;
        display: flex;
        gap: 0.75rem;
        /* Keep the message and its controls reachable while the trace below scrolls past. */
        padding-right: 1.5rem;
    }

    #blazor-error-ui .error-title[b-mkqvvyr5ap] {
        font-weight: 600;
    }

    #blazor-error-ui .copy[b-mkqvvyr5ap] {
        background: rgba(0, 0, 0, 0.06);
        color: #1b1b1b;
        border: 1px solid rgba(0, 0, 0, 0.25);
        border-radius: 0.25rem;
        cursor: pointer;
        font: inherit;
        font-size: 0.85em;
        padding: 0.05rem 0.5rem;
    }

    #blazor-error-ui .copy:hover[b-mkqvvyr5ap] {
        background: rgba(0, 0, 0, 0.12);
    }

    /* The exception text itself — monospace, wrapped (traces have long frames), selectable. */
    #blazor-error-detail[b-mkqvvyr5ap] {
        background: rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 0.25rem;
        color: #1b1b1b;
        font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
        font-size: 0.78rem;
        line-height: 1.35;
        margin: 0.5rem 0 0 0;
        overflow-x: auto;
        padding: 0.5rem 0.6rem;
        user-select: text;
        white-space: pre-wrap;
        word-break: break-word;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-rzfwtwf2el],
.components-reconnect-repeated-attempt-visible[b-rzfwtwf2el],
.components-reconnect-failed-visible[b-rzfwtwf2el],
.components-pause-visible[b-rzfwtwf2el],
.components-resume-failed-visible[b-rzfwtwf2el],
.components-rejoining-animation[b-rzfwtwf2el] {
    display: none;
}

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


#components-reconnect-modal[b-rzfwtwf2el] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-rzfwtwf2el 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-rzfwtwf2el 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-rzfwtwf2el 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-rzfwtwf2el]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-rzfwtwf2el 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-rzfwtwf2el {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-rzfwtwf2el {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-rzfwtwf2el {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-rzfwtwf2el] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

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

#components-reconnect-modal button[b-rzfwtwf2el] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-rzfwtwf2el] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-rzfwtwf2el] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-rzfwtwf2el] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-rzfwtwf2el] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-rzfwtwf2el 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

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

@keyframes components-rejoining-animation-b-rzfwtwf2el {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Error.razor.rz.scp.css */
/* The exception text — same treatment as the error banner's trace pane (MainLayout.razor.css): monospace,
   wrapped (stack frames are long), selectable, and readable on its own light background regardless of the
   app's light-on-dark theme. */
.error-detail[b-3g1z6r6gdx] {
    background: #fffde7;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    color: #1b1b1b;
    color-scheme: light only;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0.5rem 0;
    max-height: 70vh;
    overflow: auto;
    padding: 0.6rem 0.75rem;
    user-select: text;
    white-space: pre-wrap;
    word-break: break-word;
}
