/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-5tw7q1y0p8] {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    padding: .75rem 3.5rem .75rem 1.25rem;
    background: #2a1d1a;
    border-top: 1px solid var(--danger);
    color: var(--ink);
}

    #blazor-error-ui .dismiss[b-5tw7q1y0p8] {
        position: absolute;
        top: .4rem;
        right: .6rem;
        background: transparent;
        border-color: transparent;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Blazor puts one state class on the dialog; each element shows only in the states named by its classes. */
.reconnect-connecting[b-o7wmprujl0], .reconnect-first[b-o7wmprujl0], .reconnect-retrying[b-o7wmprujl0], .reconnect-failed[b-o7wmprujl0], .reconnect-paused[b-o7wmprujl0], .reconnect-resume-failed[b-o7wmprujl0] {
    display: none;
}

.components-reconnect-show :is(.reconnect-connecting, .reconnect-first)[b-o7wmprujl0],
.components-reconnect-retrying :is(.reconnect-connecting, .reconnect-retrying)[b-o7wmprujl0],
.components-reconnect-failed .reconnect-failed[b-o7wmprujl0],
.components-reconnect-paused .reconnect-paused[b-o7wmprujl0],
.components-reconnect-resume-failed .reconnect-resume-failed[b-o7wmprujl0] {
    display: block;
}

.components-reconnect-retrying button.reconnect-retrying[b-o7wmprujl0],
.components-reconnect-failed button.reconnect-failed[b-o7wmprujl0],
.components-reconnect-paused button.reconnect-paused[b-o7wmprujl0],
.components-reconnect-resume-failed button.reconnect-resume-failed[b-o7wmprujl0] {
    display: inline-flex;
}

#components-reconnect-modal[b-o7wmprujl0] {
    box-sizing: border-box;
    width: min(24rem, calc(100vw - 2rem));
    margin: 20vh auto auto;
    padding: 1.25rem 1.4rem;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--rule-2);
    box-shadow: var(--shadow);
}

#components-reconnect-modal[b-o7wmprujl0]::backdrop {
    background: rgba(0, 0, 0, .55);
}

.reconnect[b-o7wmprujl0] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reconnect-text[b-o7wmprujl0] {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}

.reconnect-spinner[b-o7wmprujl0] {
    flex: none;
    width: 1.75rem;
    height: 1.75rem;
    border: 2px solid var(--rule-2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: reconnect-spin-b-o7wmprujl0 .9s linear infinite;
}

/* No spinner once it has given up or the session is paused. */
:is(.components-reconnect-failed, .components-reconnect-paused, .components-reconnect-resume-failed) .reconnect-spinner[b-o7wmprujl0] {
    display: none;
}

.reconnect-actions[b-o7wmprujl0] {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: 1rem;
}

/* The first attempt has no actions. */
.components-reconnect-show .reconnect-actions[b-o7wmprujl0] {
    display: none;
}

@keyframes reconnect-spin-b-o7wmprujl0 {
    to {
        transform: rotate(360deg);
    }
}
