#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;
}

/* Login page: statically rendered (no @rendermode) so SignInManager can write the
   auth cookie directly to the response — MudBlazor's interactive input components
   don't work there, so plain inputs are hand-styled to match the Mud look instead. */
.plain-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.75rem;
    border-radius: var(--mud-default-borderradius, 4px);
    border: 1px solid var(--mud-palette-lines-inputs, rgba(0, 0, 0, 0.42));
    background: var(--mud-palette-surface, #fff);
    color: var(--mud-palette-text-primary, rgba(0, 0, 0, 0.87));
    font: inherit;
}

.plain-input:focus {
    outline: none;
    border-color: var(--mud-palette-primary, #594AE2);
    box-shadow: 0 0 0 1px var(--mud-palette-primary, #594AE2);
}

.plain-checkbox {
    accent-color: var(--mud-palette-primary, #594AE2);
}
