/* MudBlazor supplies the component styling. What is left here is the handful of plain
   HTML inputs used by the sign-in and change-password forms, which are server-rendered
   and therefore cannot use interactive MudBlazor fields. */

html, body {
    margin: 0;
    font-family: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
}

.field-label {
    display: block;
    margin: 1rem 0 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
}

.field-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--mud-palette-text-primary);
    background-color: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: var(--mud-default-borderradius);
    outline: none;
    transition: border-color 120ms ease-in-out;
}

.field-input:focus {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 1px var(--mud-palette-primary);
}

.field-error {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--mud-palette-error);
}

.field-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--mud-palette-text-primary);
}

/* Error banner shown by the Blazor runtime when a circuit fails. */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 0.75rem 1.25rem;
    background: #ffe0b2;
    color: #4e342e;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.2);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    float: right;
}
