:root {
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #07090a;
    color: #eee8da;
}

* { box-sizing: border-box; }
html, body, #app { min-height: 100%; margin: 0; }
body { min-width: 20rem; background: #07090a; }
h1:focus { outline: none; }

#blazor-error-ui {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 0.75rem 1.25rem;
    background: #351613;
    box-shadow: 0 -1px 8px #0008;
}

#blazor-error-ui a { color: #f0d59b; }
#blazor-error-ui .dismiss { position: absolute; right: 0.8rem; cursor: pointer; }

.loading-progress {
    position: absolute;
    display: block;
    width: 7rem;
    height: 7rem;
    inset: 28vh 0 auto;
    margin: auto;
}

.loading-progress circle {
    fill: none;
    stroke: #2e302f;
    stroke-width: 0.55rem;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.loading-progress circle:last-child {
    stroke: #ba813f;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
}

.loading-progress-text {
    position: absolute;
    inset: calc(28vh + 2.8rem) 0 auto;
    color: #a7a092;
    font-size: 0.75rem;
    text-align: center;
}

.loading-progress-text::after { content: var(--blazor-load-percentage-text, "Wird geladen"); }
