:root {
    color-scheme: light;
    --opota-navy: #062d51;
    --opota-blue: #0a3e67;
    --opota-gold: #f5b51b;
    --opota-ink: #122f49;
    --opota-surface: #f5f7f9;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--opota-surface);
    color: var(--opota-ink);
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #f5b51b;
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

#blazor-error-ui {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    display: none;
    max-width: 480px;
    padding: 13px 15px;
    border-left: 4px solid #f5b51b;
    background: #fff;
    color: #183c59;
    box-shadow: 0 10px 35px rgba(5,29,49,.24);
    font-size: .8rem;
}

#blazor-error-ui .reload {
    margin-left: 8px;
    color: #0b4a76;
    font-weight: 750;
}

#blazor-error-ui .dismiss {
    margin-left: 10px;
    border: 0;
    background: transparent;
    color: #5c7182;
}

.blazor-error-boundary {
    padding: 1rem;
    background: #8b3030;
    color: white;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
