/* Ergänzungen zum gemeinsamen GIMA-Stylesheet.
   Nur das, was es in den Schwester-Anwendungen nicht gibt: Passwortfelder,
   Stärkebalken, Tresorkacheln, Befundmarken. Alles andere kommt aus style.css,
   damit die Anwendungen weiter gleich aussehen. */

/* ── Geheimfeld ─────────────────────────────────────────────────────────────
   Der Klartext steht nie in der Seite; hier stehen Punkte, bis jemand aufdeckt. */
.geheim {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.geheim-wert {
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    letter-spacing: .06em;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: .4rem .7rem;
    min-width: 14rem;
    word-break: break-all;
    user-select: all;
}
.geheim-wert.verdeckt { letter-spacing: .22em; color: var(--text-subtle); }

.btn-erfolg { background: var(--success) !important; border-color: var(--success) !important; color: #fff !important; }

/* ── Stärkebalken ───────────────────────────────────────────────────────────
   Fünf Segmente statt einer Prozentzahl: „stark" lässt sich in eine Entscheidung
   übersetzen, „73 %" nicht. */
.staerke {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    font-size: .82rem;
}
.staerke-balken { display: flex; gap: 3px; }
.staerke-teil {
    width: 26px; height: 6px; border-radius: 3px;
    background: var(--border);
    transition: background .2s;
}
.staerke-text { font-weight: 600; }

/* ── Tresorkacheln ──────────────────────────────────────────────────────────*/
.tresor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: .9rem;
    margin-bottom: 1.25rem;
}
.tresor-kachel {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gima-orange);
    border-radius: 8px;
    padding: .9rem 1rem;
    text-decoration: none;
    color: var(--text);
    transition: border-color .15s, transform .1s, box-shadow .15s;
}
.tresor-kachel:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-1px); }
.tresor-kachel .tk-name { font-weight: 700; font-size: 1rem; margin-bottom: .15rem; }
.tresor-kachel .tk-zahl { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.tresor-kachel .tk-text { font-size: .8rem; color: var(--text-muted); }

/* ── Befundmarken ───────────────────────────────────────────────────────────*/
.befund {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    padding: .1rem .45rem;
    border-radius: 3px;
    white-space: nowrap;
    margin-right: .25rem;
}
.befund-doppelt    { background: rgba(192,57,43,.12);  color: #c0392b; }
.befund-schwach    { background: rgba(231,76,60,.12);  color: #e74c3c; }
.befund-alt        { background: rgba(230,126,34,.12); color: #e67e22; }
.befund-abgelaufen { background: rgba(41,128,185,.12); color: #2980b9; }
.befund-ohne       { background: rgba(127,140,141,.14); color: #7f8c8d; }

/* Ein Punkt für die Lage (internes Netz / offenes Internet). */
.lage-punkt {
    display: inline-block; width: 9px; height: 9px; border-radius: 50%;
    vertical-align: middle; margin-right: .35rem;
}

/* ── Dublettenblock auf der Gesundheitsseite ────────────────────────────────*/
.dublette-block {
    border: 1px solid var(--border);
    border-left: 4px solid #c0392b;
    border-radius: 6px;
    padding: .7rem .9rem;
    margin-bottom: .7rem;
    background: var(--surface-2);
}
.dublette-block ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.dublette-block li { padding: .1rem 0; }

/* ── Generator ──────────────────────────────────────────────────────────────*/
.gen-ausgabe {
    font-family: 'Courier New', monospace;
    font-size: 1.35rem;
    letter-spacing: .04em;
    background: var(--surface-2);
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    word-break: break-all;
    min-height: 3.6rem;
    display: flex; align-items: center; justify-content: center;
}
.gen-regler { display: flex; align-items: center; gap: .8rem; }
.gen-regler input[type=range] { flex: 1; }
.gen-zahl { font-weight: 700; min-width: 2.5rem; text-align: right; }

/* ── Kleinigkeiten ──────────────────────────────────────────────────────────*/
.zeile-warnung { background: rgba(230,126,34,.06); }
.zeile-gefahr  { background: rgba(192,57,43,.06); }
.hinweis-liste { margin: .3rem 0 0; padding-left: 1.1rem; font-size: .82rem; color: var(--text-muted); }
.feld-hinweis  { font-size: .78rem; color: var(--text-muted); margin-top: .2rem; }
.totp-code {
    font-family: 'Courier New', monospace; font-size: 1.5rem; font-weight: 700;
    letter-spacing: .22em;
}
