/* Anmeldeseiten (Login, Passwort vergessen, Neues Passwort): dunkle Seite mit Leuchtverlauf und Glas-Karte.
   Baut auf css/style.css auf (Felder, Buttons), ueberschreibt nur, was hier anders aussieht. */
body.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  position: relative;
  overflow: hidden;
  color: #EDE7F6;
  background:
    radial-gradient(800px 600px at 50% -10%, rgba(138, 99, 235, .45), transparent 60%),
    radial-gradient(600px 500px at 0% 100%, rgba(110, 86, 201, .35), transparent 60%),
    radial-gradient(600px 500px at 100% 100%, rgba(169, 150, 227, .22), transparent 60%),
    #261837; /* etwas dunkler als die Seitenleiste (#2B1B3F); urspruenglich #130a20 */
}
/* feines Punktraster, nach aussen ausgeblendet */
body.auth-body::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}

.auth-wrap { width: 100%; max-width: 430px; text-align: center; position: relative; }
/* Icon und Schriftzug nebeneinander; nur diese Zeile rutscht hoch, die Karte darunter bleibt stehen */
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 30px; transform: translateY(-24px); }
.auth-icon { flex: none; width: 58px; height: 58px; transform: translateY(-3px); } /* mittig zur Höhe der Buchstaben "von", nicht zur ganzen Grafik mit Untertitel */
/* Schriftzug als Grafik, der Untertitel als echter Text darunter: so ist er scharf und gut lesbar */
.auth-wordmark { flex: 0 1 300px; min-width: 0; width: 300px; height: 69px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-logo { width: 100%; height: auto; display: block; }
.auth-tagline { display: block; font-size: 10.5px; font-weight: 500; line-height: 2; letter-spacing: .4em; margin-right: -.4em; text-transform: uppercase; text-align: justify; text-align-last: justify; white-space: nowrap; color: #DDD3F0; }

.auth-card {
  text-align: left;
  border-radius: 24px;
  padding: 38px 36px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(194, 174, 244, .22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.auth-card h1 { margin: 0 0 .3rem; font-size: 1.7rem; font-weight: 400; color: #fff; letter-spacing: -.01em; text-align: center; }
.auth-card .page-subtitle { margin: 0 0 1.8rem; color: #B9ABD0; text-align: center; }

.auth-card label { font-size: .82rem; color: #C9BDDC; letter-spacing: .03em; margin-bottom: 1.1rem; }
.auth-card input {
  padding: .8rem .95rem;
  border-radius: 12px;
  color: #fff;
  background: rgba(10, 5, 20, .45);
  border-color: rgba(194, 174, 244, .25);
  transition: border-color .15s, box-shadow .15s;
}
.auth-card input:focus { outline: none; border-color: #A996E3; box-shadow: 0 0 0 4px rgba(169, 150, 227, .2); }

.auth-card .btn-primary {
  padding: .85rem 1rem;
  border-radius: 12px;
  font-size: .98rem;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #7a5ee0, #a58cf0);
  box-shadow: 0 14px 30px -10px rgba(138, 99, 235, .8);
  transition: transform .15s, filter .15s;
}
.auth-card .btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.auth-card .btn-primary:disabled { opacity: .6; transform: none; cursor: default; }

.auth-link { margin: 1.1rem 0 0; text-align: center; font-size: .9rem; }
.auth-link a { color: #C2AEF4; }
.auth-card .error { color: #ff9a92; text-align: center; }
.auth-success { margin: 0 0 1rem; padding: 12px 14px; border-radius: var(--radius-md); font-size: .92rem; text-align: center; color: #9fe3bf; background: rgba(31, 107, 69, .25); border: 1px solid rgba(159, 227, 191, .25); }

.auth-foot { margin-top: 22px; font-size: 13px; color: #8f82a6; }

/* Schwebende Beschriftung: steht zuerst im Feld und rutscht beim Tippen nach oben. Funktioniert mit placeholder=" ". */
.auth-card label.float { position: relative; margin-bottom: 1rem; }
.auth-card label.float input { margin-top: 0; padding: 1.4rem .95rem .5rem; }
.auth-card label.float span {
  position: absolute;
  left: .95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #A99CC0;
  pointer-events: none;
  transition: top .15s, font-size .15s, transform .15s, color .15s;
}
.auth-card label.float input:focus + span,
.auth-card label.float input:not(:placeholder-shown) + span,
.auth-card label.float input:-webkit-autofill + span {
  top: .5rem;
  transform: none;
  font-size: .7rem;
  letter-spacing: .04em;
  color: #C2AEF4;
}

/* Die Anmeldekarte ist so hoch wie frueher (mit Untertitel und Beschriftung ueber den Feldern).
   "Willkommen" hat oben zum Rand denselben Abstand wie unten zum ersten Feld. */
.auth-card.auth-card-login { min-height: 443px; box-sizing: border-box; padding-top: 56px; padding-bottom: 40px; }
.auth-card-login h1 { margin: 0 0 56px; }
/* Fehlermeldung der Anmeldung liegt unten in der freien Fläche der Karte: erscheint sie, verschiebt sich nichts. */
.auth-card-login { position: relative; }
.auth-card-login .error { position: absolute; left: 36px; right: 36px; bottom: 12px; margin: 0; font-size: .82rem; line-height: 1.35; }
