html, body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ml-brand {
    color: inherit;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    text-decoration: none;
}

/* Anmeldeseiten */
.ml-auth {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--mud-palette-background);
}

.ml-auth-card {
    width: 100%;
    max-width: 420px;
    padding: 32px 28px;
    border-radius: 14px;
    background: var(--mud-palette-surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 8px 24px rgba(0, 0, 0, .06);
}

/* Logo + Schriftzug zentriert ueber dem Formular (wie Kopfzeile und MoarLiveTV) */
.ml-auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.ml-auth-brand-name {
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -.01em;
    color: var(--mud-palette-text-primary);
}

@media (max-width: 480px) {
    .ml-auth-card { padding: 24px 18px; }
    .ml-auth-brand .sm-brand-logo { width: 52px !important; height: 52px !important; border-radius: 14px !important; }
    .ml-auth-brand .sm-brand-logo svg { width: 44px; height: 44px; }
    .ml-auth-brand-name { font-size: 1.5rem; }
}

#blazor-error-ui {
    background: #FEF3C7;
    color: #111827;
    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: 2000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Vereins-ID, Kopplungscode */
.ml-code {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--mud-palette-background-gray);
}
