/* ============================================================
   ParusVoice — Web-Onboarding (register/login/verify/forgot/reset)
   Branding V2. Lädt nach tokens.v2.css + site.v2.css.
   Nutzt die V2-Tokens (--pv-*) + die geteilten .pv-btn-Primitive aus site.v2.css.
   ============================================================ */

.auth-body {
  margin: 0;
  min-height: 100vh;
  background: var(--pv-surface);
  color: var(--pv-ink);
  font-family: var(--pv-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--pv-gutter);
}

.auth-wrap { width: 100%; max-width: 420px; }

.auth-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 20px;
}

.auth-card {
  background: var(--pv-surface-alt);
  border: 1px solid var(--pv-hairline);
  border-radius: var(--pv-r-card);
  box-shadow: var(--pv-shadow-card-hover);
  padding: 40px 32px;
}

.auth-card h1,
.auth-card h2 {
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--pv-ink);
  margin: 0 0 8px;
}

.auth-card p {
  color: var(--pv-text);
  font-size: 15px;
  line-height: 22px;
  margin: 0 0 16px;
}
.auth-sub { margin-bottom: 24px !important; }

.auth-field { display: block; margin-bottom: 16px; }
.auth-field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pv-text);
  margin-bottom: 8px;
}
.auth-field input,
.auth-field select,
.auth-field textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--pv-sans);
  font-size: 15px;
  color: var(--pv-ink);
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-r-btn);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.auth-field input { height: 46px; padding: 0 14px; }
.auth-field select {
  height: 46px; padding: 0 38px 0 14px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A4337' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  cursor: pointer;
}
.auth-field textarea {
  display: block;
  min-height: 120px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  outline: none;
  border-color: var(--pv-accent);
  box-shadow: 0 0 0 3px var(--pv-accent-soft);
}
.auth-field small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--pv-muted);
}

.auth-submit { width: 100%; justify-content: center; margin-top: 8px; }

.auth-error {
  background: #F7E0DB;
  color: #8A2D22;
  border-radius: var(--pv-r-btn);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 16px;
}

.auth-card p.auth-muted {
  color: var(--pv-muted);
  font-size: 13px;
  line-height: 18px;
  margin: 24px 0 0;
}
.auth-muted a { color: var(--pv-accent); }
.auth-muted a:hover { color: var(--pv-accent-hover); }

/* Status-Marker (Zahlungs-Rückkehrseite). Kontext-gebundene, isolierte Farben —
   bewusst NICHT in tokens.v2.css, damit das Grün nicht in die Interface-Palette blutet. */
.auth-card.is-status { text-align: center; }
.auth-status {
  width: 54px; height: 54px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.auth-status svg { display: block; }
.auth-status--ok     { background: #E8EEE1; color: #4F6A4C; }
.auth-status--cancel { background: #F4E5DE; color: #A34B33; }
