html, body {
    height: 100%;
    margin: 0;
}

/* Login / Signup page — centred card. Used by Login.razor and Signup.razor
   with the empty MainLayout. */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    background: var(--rz-base-200, var(--rz-body-background-color));
}

/* Login/Signup form labels rendered above the input — Radzen's float-label
   variant blends into the dark card background when the field is empty,
   making labels nearly invisible. Explicit labels above the inputs keep
   contrast acceptable in every state. */
.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
}

.auth-field-label {
    font-size: 0.875rem;
    color: var(--rz-text-color);
    margin: 0;
    font-weight: 500;
}

.auth-field-row {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.auth-field-row > .auth-field {
    flex: 1;
    min-width: 0;
}

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