.loading-text {
    position: absolute;
    top: 45%;
    width: 100%;
    text-align: center;
    font-family: Lexend, Helvetica, Arial, sans-serif;
    color: #2651A6;
}

/* RealDefense style guide */
/* Colors follow the active MudBlazor palette so dark mode applies to the whole page.
   Fallbacks are the light palette values (#F4F4F5 / #061F4B). */
html, body {
    font-family: Lexend, Helvetica, Arial, sans-serif;
    background-color: var(--mud-palette-background, #F4F4F5);
    color: var(--mud-palette-text-primary, #061F4B);
    min-height: 100%;
}

.mud-layout {
    min-height: 100vh;
    background-color: var(--mud-palette-background);
}

.rd-logo {
    height: 32px;
    width: auto;
}

.rd-app-title {
    font-weight: 500;
    opacity: 0.9;
}

/* Uniform button size across the app (matches default outlined buttons, e.g. "Remove user").
   Original guide sizes kept below, commented out. */
.mud-button-root.mud-button:not(.mud-button-size-small):not(.mud-button-size-large) {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.75;
    min-height: 36px;
    padding: 5px 15px;
    border-radius: 4px;
    box-shadow: none;
}

    /* Filled buttons have no border; keep same outer size as outlined (1px border). */
    .mud-button-root.mud-button-filled:not(.mud-button-size-small):not(.mud-button-size-large) {
        padding: 6px 16px;
    }

    /* Text buttons (e.g. dialog Cancel) */
    .mud-button-root.mud-button-text:not(.mud-button-size-small):not(.mud-button-size-large) {
        padding: 6px 16px;
    }

/* Primary button: 16px / 500, padding 20px 30px, radius 4px
.mud-button-filled.mud-button-filled-primary {
    font-weight: 500;
    line-height: 1;
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: none;
}
*/

/* Small button: 16px / 700, padding 12px 24px, radius 3px
.mud-button-filled.mud-button-filled-primary.mud-button-filled-size-small {
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 3px;
}
*/

/* Body text */
.rd-body {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    color: #2651A6;
}

#blazor-error-ui {
    background: lightyellow;
    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;
    }

.monospace {
    font-family: Consolas, "Courier New", monospace;
}
