:root {
    color-scheme: light;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: #f4f7fb;
    color: #17253a;
}

html,
body {
    min-height: 100%;
    margin: 0;
    background: #f4f7fb;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1:focus {
    outline: none;
}

a {
    color: #075ea8;
}

.app-header .brand,
.app-header .brand.active {
    color: #fff;
}

.fatal-error {
    width: min(100% - 2rem, 42rem);
    margin: 10vh auto;
    padding: 2rem;
    border: 1px solid #f2c6c6;
    border-radius: 1rem;
    background: #fff;
}

.error-reference {
    margin-top: 1.5rem;
    color: #667085;
    font-size: 0.8rem;
}

#blazor-error-ui {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 0.8rem 3rem 0.8rem 1rem;
    background: #fff4ce;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.2);
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 0.65rem;
    right: 1rem;
    cursor: pointer;
}

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

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

.loading-progress circle:last-child {
    stroke: #1468a8;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    inset: calc(20vh + 3.25rem) 0 auto;
    text-align: center;
    font-weight: 700;
}

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