:root {
    color-scheme: dark;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: #0b1016;
    color: #f3f6f9;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #0b1016;
    color: #f3f6f9;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    overflow-x: hidden;
}

#app {
    min-height: 100vh;
    background: #0b1016;
}

h1:focus {
    outline: none;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.loading-progress {
    position: relative;
    display: block;
    width: 7rem;
    height: 7rem;
    margin: calc(50vh - 5rem) auto 1rem;
}

    .loading-progress circle {
        fill: none;
        stroke: #263445;
        stroke-width: 0.55rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #f0b44d;
            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: fixed;
    top: calc(50vh + 3.4rem);
    right: 0;
    left: 0;
    color: #aeb9c5;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.loading-progress-text::before {
    content: "Loading…";
}

.loading-progress-text::after {
    content: " " var(--blazor-load-percentage-text, "");
}

.valid.modified:not([type="checkbox"]) {
    outline: 1px solid #56b870;
}

.invalid {
    outline: 1px solid #ef6b6b;
}

.validation-message {
    color: #ff8585;
}

#blazor-error-ui {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 1000;
    display: none;
    padding: 15px 52px 15px 18px;
    border: 1px solid #614b25;
    border-radius: 10px;
    background: #241e14;
    color: #f3f6f9;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

    #blazor-error-ui a {
        color: #f0b44d;
    }

    #blazor-error-ui .dismiss {
        position: absolute;
        top: 11px;
        right: 16px;
        cursor: pointer;
        font-size: 1.25rem;
    }

.blazor-error-boundary {
    padding: 1rem;
    background: #7d2929;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }
