/* ============================================================================
   Logix.Portal base styles. Brand tokens come from brand.css (linked from
   Logix.Web — one source). No CSS framework: the portal carries its own small
   baseline; real styling is per-page scoped CSS, the Core convention.
   ============================================================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
}

img {
    max-width: 100%;
}

h1:focus {
    outline: none;
}

/* Blazor form validation (shared across pages) */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

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

.validation-message {
    color: #e50000;
}

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

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