/* =====================================================================
   auth.css — Styles fuer die pre-auth-Seiten „Passwort vergessen" und
   „Passwort zuruecksetzen" (#39).

   Bewusst eigenstaendig und IMMER hell — analog zu login.php, das seine
   Styles inline haelt. Diese Seiten laden weder tokens.css noch
   ui-prefs.js (kein Dark-Mode vor dem Login). Eigene Farb-Tokens lokal.
   ===================================================================== */
:root {
    --c-bg:      #eef1f5;
    --c-card:    #ffffff;
    --c-border:  #d6d6d6;
    --c-fg:      #1f2933;
    --c-muted:   #5f6b7a;
    --c-primary: #007bff;
    --c-error:   #c0392b;
    --c-success: #1f6f3a;
}
* { box-sizing: border-box; }
html, body {
    margin: 0; height: 100%;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--c-fg);
}
body { background: var(--c-bg); display: flex; align-items: center; justify-content: center; padding: 16px; }

.auth-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.06);
    width: 100%; max-width: 400px;
}
.auth-logo {
    display: block;
    margin: 0 auto 16px;
    max-width: 240px; max-height: 160px;
    width: auto; height: auto;
}
.auth-card h1 {
    margin: 0 0 6px;
    font-size: 19px;
    text-align: center;
}
.auth-card p.lead {
    margin: 0 0 18px;
    text-align: center;
    color: var(--c-muted);
    font-size: 14px;
    line-height: 1.5;
}

.form-row { margin-bottom: 12px; }
.form-row label {
    display: block;
    font-size: 13px;
    color: var(--c-muted);
    margin-bottom: 4px;
}
.form-row input {
    font: inherit; font-size: 15px;
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    background: #fff;
}
.form-row input:focus {
    outline: 3px solid rgba(0,123,255,0.25);
    border-color: var(--c-primary);
}

button.submit {
    width: 100%;
    font: inherit; font-size: 15px;
    padding: 10px 14px;
    background: var(--c-primary);
    color: #fff;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 6px;
}
button.submit:hover { background: #1a8cff; }

.msg {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}
.msg.error   { background: #fff0ee; color: var(--c-error);   border: 1px solid #f1c0bc; }
.msg.notice  { background: #eef7f0; color: var(--c-success); border: 1px solid #bfe0c8; }

.auth-aux {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
}
.auth-aux a { color: var(--c-primary); text-decoration: none; }
.auth-aux a:hover { text-decoration: underline; }

footer {
    margin-top: 16px;
    font-size: 11px;
    color: var(--c-muted);
    text-align: center;
}
