/*
    Only what MudBlazor does not already provide: the pre-Blazor loading shell and the framework's
    error strip. Everything else is left to the component library, so the application has one
    source of styling rather than two that drift (Rule 29).
*/

html, body {
    margin: 0;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.loading-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #5c6a67;
    font-size: 0.95rem;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.7rem 1.2rem;
    background: #fdf3d8;
    border-top: 1px solid #e0cf9a;
    color: #4a3c12;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12);
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 0.5rem;
    right: 0.9rem;
    cursor: pointer;
}

/* Printing a report (slice 6): only the report itself - no top bar, menu, version bar or the
   page's own buttons and pickers (marked no-print) - across the whole page width. */
@media print {
    .mud-appbar,
    .mud-drawer,
    .mud-overlay,
    .no-print {
        display: none !important;
    }

    .mud-main-content {
        margin: 0 !important;
        padding: 0 !important;
    }

    .mud-main-content .mud-container {
        max-width: none !important;
        padding: 0 !important;
    }

    .mud-paper {
        box-shadow: none !important;
    }
}
