/* Neotec.Identity — Anmeldeoberfläche.

   Bewusst schmal gehalten: Diese Seiten sind der einzige Ort, den ein Mensch hier zu sehen bekommt,
   und sie gehören keinem Produkt. Kein CMS-Chrome, keine Produktfarben — wer aus dem CMS, aus
   eRechnung oder aus NKA hierher geleitet wird, soll dieselbe Seite sehen. */

:root {
    --grund: #f4f6fb;
    --flaeche: #ffffff;
    --linie: #dfe3ee;
    --schrift: #14213d;
    --leise: #5a6478;
    --marke: #4f46e5;
    --warn: #8a2b2b;
    --gut: #1e6b3a;
    --radius: 14px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background: var(--grund);
    color: var(--schrift);
    font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.karte {
    width: 100%;
    max-width: 26rem;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 10px 30px rgb(20 33 61 / 6%);
}

.marke {
    font-size: .72rem;
    letter-spacing: .18em;
    font-weight: 600;
    color: var(--leise);
}

h1 {
    margin: .35rem 0 1.4rem;
    font-size: 1.6rem;
    font-weight: 600;
}

label {
    display: block;
    margin-bottom: 1rem;
    font-size: .9rem;
    color: var(--leise);
}

input {
    display: block;
    width: 100%;
    margin-top: .35rem;
    padding: .65rem .75rem;
    font: inherit;
    color: var(--schrift);
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 9px;
}

input:focus-visible {
    outline: 2px solid var(--marke);
    outline-offset: 1px;
    border-color: var(--marke);
}

button,
.knopf {
    display: inline-block;
    width: 100%;
    padding: .7rem 1rem;
    font: inherit;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: var(--marke);
    border: 1px solid var(--marke);
    border-radius: 9px;
    cursor: pointer;
}

button:hover,
.knopf:hover { filter: brightness(1.07); }

/* Flache Variante für Nebenwege (abmelden, Passwort ändern) — gleiche Größe, weniger Gewicht. */
.knopf-flach {
    display: inline-block;
    width: auto;
    padding: .5rem .9rem;
    font: inherit;
    font-size: .9rem;
    text-decoration: none;
    color: var(--marke);
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 9px;
    cursor: pointer;
}

.reihe {
    display: flex;
    gap: .6rem;
    align-items: center;
    flex-wrap: wrap;
}

.reihe form { margin: 0; }

.fehler,
.ok {
    margin: 0 0 1.2rem;
    padding: .7rem .85rem;
    font-size: .9rem;
    border-radius: 9px;
}

.fehler {
    color: var(--warn);
    background: #fdf2f2;
    border: 1px solid #e3bfbf;
}

.ok {
    color: var(--gut);
    background: #f0f8f2;
    border: 1px solid #c3e0cd;
}

.hinweis {
    margin: 0 0 1.2rem;
    font-size: .85rem;
    color: var(--leise);
}

dl { margin: 0 0 1.2rem; }
dt { font-size: .8rem; color: var(--leise); }
dd { margin: 0 0 .8rem; font-weight: 500; }

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .9em;
}

/* ── Verwaltung ─────────────────────────────────────────────────────────────────────────────────
   Die Kontenliste braucht mehr Breite als eine Anmeldekarte. Eigener Modifikator statt einer zweiten
   Karte: Es ist dieselbe Fläche, nur weiter. */
.karte--breit {
    max-width: 68rem;
}

.liste {
    width: 100%;
    margin: 0 0 1.6rem;
    border-collapse: collapse;
    font-size: .92rem;
}

    .liste th,
    .liste td {
        padding: .55rem .6rem;
        text-align: left;
        vertical-align: middle;
    }

    .liste thead th {
        font-weight: 500;
        color: var(--leise);
        border-bottom: 2px solid var(--linie);
    }

    .liste tbody tr + tr td {
        border-top: 1px solid var(--linie);
    }

    /* Ein gesperrtes Konto muss man SEHEN, nicht in der Statusspalte suchen. */
    .liste tr.gesperrt td {
        opacity: .55;
    }

.leise {
    color: var(--leise);
}

/* Formular in einer Tabellenzelle: nebeneinander statt untereinander, sonst wird die Zeile dreimal
   so hoch wie ihre Nachbarn. */
.zeile {
    display: flex;
    gap: .4rem;
    align-items: center;
}

    .zeile label,
    .reihe label {
        margin: 0;
    }

.schmal {
    width: 12rem;
    margin-top: 0;
    padding: .35rem .5rem;
    font-size: .9rem;
}

/* Das Erstpasswort. Groß, monospace und mit Abstand — es wird abgeschrieben oder vorgelesen, und
   genau einmal angezeigt. */
.passwort {
    margin: .5rem 0;
    padding: .6rem .8rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1.15rem;
    letter-spacing: .04em;
    background: #fff;
    border: 1px solid #c3e0cd;
    border-radius: 9px;
    user-select: all;   /* Ein Klick markiert alles — kein Herumziehen mit der Maus. */
}

h2 {
    margin: 2rem 0 1rem;
    font-size: 1.15rem;
    font-weight: 600;
}

select {
    display: block;
    width: 100%;
    margin-top: .35rem;
    padding: .65rem .75rem;
    font: inherit;
    color: var(--schrift);
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 9px;
}
