@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.b6pgxrrsua.bundle.scp.css';
@import '_content/SDSMicrosoft.FluentUI.AspNetCore.Components/SDSMicrosoft.FluentUI.AspNetCore.Components.ny7lzpdapr.bundle.scp.css';

/* /Components/ErrorAlert.razor.rz.scp.css */
.error-alert[b-ao50wgeth3] {
    display: flex;
    flex-wrap: wrap; /* Button rutscht bei wenig Platz in eine neue Zeile statt ueberzulaufen */
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin: 0 0 16px 0;
    border-radius: 8px;
    background: var(--error-background, rgba(209, 52, 56, 0.08));
    border: 1px solid rgba(209, 52, 56, 0.35);
    border-left: 4px solid var(--error, #d13438);
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.error-alert__icon[b-ao50wgeth3] {
    flex: 0 0 auto;
}

.error-alert__text[b-ao50wgeth3] {
    flex: 1 1 240px; /* darf schrumpfen (min-width:0) und waechst, Basis 240px */
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.error-alert__title[b-ao50wgeth3] {
    font-weight: 600;
    color: var(--error, #d13438);
}

.error-alert__message[b-ao50wgeth3] {
    color: var(--neutral-foreground-rest, #3b3b3b);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-height: 6.5rem;
    overflow-y: auto;
}

.error-alert__retry[b-ao50wgeth3] {
    flex: 0 0 auto;
    margin-left: auto; /* rechtsbuendig, wenn auf gleicher Zeile */
}
