:root {
    color-scheme: light;
    --customer-ink: #123241;
    --customer-muted: #536b76;
    --customer-accent: #1884ae;
    --customer-accent-strong: #0d668d;
    --ion-color-primary: #1884ae;
    --ion-color-primary-rgb: 24, 132, 174;
    --ion-color-primary-contrast: #ffffff;
    --ion-color-primary-contrast-rgb: 255, 255, 255;
    --ion-color-primary-shade: #157499;
    --ion-color-primary-tint: #2f90b6;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body,
#app {
    min-height: 100%;
    margin: 0;
}

body {
    color: var(--customer-ink);
    background: #eef6f8;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--customer-accent) 70%, white);
    outline-offset: 3px;
}

.valid.modified:not([type="checkbox"]) {
    outline: 2px solid #287d45;
}

.invalid {
    outline: 2px solid #b42318;
}

.validation-message {
    color: #b42318;
}

.startup-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    color: var(--customer-muted);
    text-align: center;
}

.startup-mark {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 0.75rem;
    place-items: center;
    border-radius: 1rem;
    color: white;
    background: var(--customer-accent-strong);
    font-weight: 800;
    letter-spacing: 0.05em;
}

#blazor-error-ui {
    position: fixed;
    z-index: 1000;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: none;
    padding: 0.85rem 3rem 0.85rem 1rem;
    border-radius: 0.75rem;
    color: white;
    background: #8f2119;
    box-shadow: 0 0.75rem 2rem rgb(24 39 45 / 20%);
}

#blazor-error-ui .reload {
    color: white;
    font-weight: 700;
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 0.65rem;
    right: 0.85rem;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
