:root {
    color-scheme: dark;
    --page-bg: #07110b;
    --page-ink: #f2ead8;
    --page-line: rgba(242, 234, 216, 0.12);
}

html,
body {
    min-height: 100%;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(73, 120, 78, 0.18), transparent 32rem),
        radial-gradient(circle at top right, rgba(120, 81, 47, 0.18), transparent 28rem),
        linear-gradient(180deg, #0b1510 0%, #050805 100%);
    color: var(--page-ink);
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
}

body {
    min-height: 100vh;
}

main {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: #8f251f;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

#blazor-error-ui {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    padding: 0.75rem 1.25rem;
    background: rgba(10, 15, 12, 0.92);
    border-top: 1px solid var(--page-line);
    color: var(--page-ink);
    z-index: 1000;
}

#blazor-error-ui a {
    color: #b2e98c;
}

#blazor-error-ui .reload {
    margin-left: 0.75rem;
}

.route-notice {
    min-height: calc(100vh - 8rem);
    display: grid;
    gap: 1rem;
    align-content: center;
    justify-items: center;
    text-align: center;
    padding: 1.5rem;
}

.route-notice h1,
.route-notice p {
    margin: 0;
}

.route-link {
    min-height: 3rem;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    display: inline-grid;
    place-items: center;
}
