html {
    background: #f7f4ed;
    color-scheme: light;
    min-width: 320px;
}

body {
    background: #f7f4ed;
    color: #18233d;
    margin: 0;
}

* {
    box-sizing: border-box;
}

a,
button,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

h1:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid rgba(244, 91, 79, 0.32);
    outline-offset: 3px;
}

.mud-button-root {
    min-height: 44px;
    text-transform: none !important;
}

.mud-button-filled-primary {
    box-shadow: 0 10px 22px rgba(244, 91, 79, 0.22) !important;
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-weight: 650;
}

.mud-input-outlined-border {
    background: rgba(255, 255, 255, 0.38);
}

.mud-breadcrumbs {
    color: #5f687a;
    font-size: 0.84rem;
}

.mud-alert {
    border-radius: 14px !important;
}

.mud-dialog {
    border-radius: 22px !important;
}

.mud-snackbar {
    border-radius: 14px !important;
}

.valid.modified:not([type=checkbox]) {
    outline: 2px solid #2d927b;
}

.invalid {
    outline: 2px solid #d94a4a;
}

.validation-message {
    color: #b53838;
}

.blazor-error-boundary {
    background: #d94a4a;
    border-radius: 14px;
    color: white;
    padding: 1rem;
}

.blazor-error-boundary::after {
    content: "Une erreur s’est produite.";
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
}
