/* Koepel global base. Kept minimal — layout chrome lives in the scoped .razor.css files. */
* { box-sizing: border-box; }

html, body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1f2d32;
    background: #fff;
}

a { color: #14607a; }

h1, h2, h3 { line-height: 1.2; }

/* Blazor's default error toast. */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffe08a;
    color: #3b2f00;
    padding: .6rem 1rem;
    box-shadow: 0 -1px 4px rgba(0,0,0,.2);
    z-index: 1000;
}
#blazor-error-ui .reload { color: #14607a; margin-left: .5rem; }

/* Server-enforced access denial (Routes.razor NotAuthorized) — e.g. a non-superadmin on /admin. */
.mg-denied-page {
    max-width: 34rem;
    margin: 2.5rem auto;
    padding: 1.5rem 1.75rem;
    border: 1px solid #f0c7c9;
    border-left: 5px solid #c0392b;
    background: #fbeaea;
    border-radius: 10px;
}
.mg-denied-page h1 { font-size: 1.4rem; margin: 0 0 .5rem; color: #8f1c22; }
.mg-denied-page p { margin: 0 0 1rem; color: #5c3a3c; }
.mg-denied-back { font-size: .9rem; }
