html, body {
    height: 100%;
    margin: 0;
}

/* Radzen's themes set the font on their components only; pages outside RadzenLayout (sign-in) fell back to
   the browser's serif for labels and buttons. */
body {
    font-family: var(--rz-text-font-family);
}

/* ITStudio.MultiTenancy's tenant console (/admin) fills the operator area; AdminLayout gives the padding. Scoped to
   the layout's body to outrank host-admin.css, which the console adds after app.css. */
.rz-body .itsmt-shell {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Dark theme: the accent red as text is about 2:1 on the console's tabs and rows; this lighter red is at least
   4.8:1 there (IFRS15 does the same for its navigation titles). */
html[data-theme="dark"] .itsmt-console-tab-active,
html[data-theme="dark"] .itsmt-console-tenantlink {
    color: #f6bdb8;
}

/* Login page — centred card. Used by Login.razor with the empty MainLayout. */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--rz-base-200, var(--rz-body-background-color));
}

#blazor-error-ui {
    background: var(--rz-warning-lighter);
    color: var(--rz-on-warning-lighter);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
