@import '../_content/Microsoft.FluentUI.AspNetCore.Components/css/reboot.css';

h1:focus {
    outline: none;
}

html, body {
    height: 100%;
}

body {
    color-scheme: dark;
    background-color: var(--neutral-layer-card-container);
}

#blazor-error-ui {
    background: var(--neutral-layer-floating);
    border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
    bottom: 0;
    display: none;
    left: 0;
    padding: 0.7rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#components-reconnect-modal > div {
    background: var(--neutral-layer-floating);
    border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
    bottom: 0;
    left: 0;
    padding: 0.7rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.components-reconnect-hide,
.components-reconnect-hide > div,
.components-reconnect-show > div,
.components-reconnect-failed > div,
.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-show,
.components-reconnect-show > .show,
.components-reconnect-failed,
.components-reconnect-failed > .failed,
.components-reconnect-rejected,
.components-reconnect-rejected > .rejected {
    display: block;
}

.blazor-error-boundary {
    background: var(--error);
    border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
    border-radius: calc(var(--layer-corner-radius)* 1px);
    padding: 1rem;
}

    .blazor-error-boundary::after {
        content: "Ein Fehler ist aufgetreten."
    }