/* ============================================================
   EXPI TALK — Mitgliederbereich
   Baut auf /css/site.css (Tokens, Fonts, Nav). Nur ergänzende Styles.
   ============================================================ */

.mb-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

/* Zentrierte Auth-Karten (Login, Registrierung, Reset …) */
.auth-wrap {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 20px 96px;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 8px 40px rgba(14, 23, 20, 0.06);
}
.auth-card.wide { max-width: 720px; }

.auth-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint); color: var(--primary-deep);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 12px; letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.auth-card h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px;
}
.auth-card .lead { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }

/* Felder */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-weight: 600; font-size: 13.5px;
  margin-bottom: 7px; color: var(--ink);
}
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: 12.5px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="number"] {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; background: var(--paper);
  color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 168, 120, 0.15); background: #fff;
}
.field input[aria-invalid="true"] { border-color: #C2453B; }
.field .field-error { color: #C2453B; font-size: 12.5px; margin-top: 6px; display: none; }
.field .field-error.show { display: block; }

/* Consent-Checkboxen */
.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 13.5px; color: var(--ink-soft); }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--primary); flex: none; }
.consent a { color: var(--primary-deep); }

/* Passwortstärke-Bar */
.pw-strength { margin-top: 8px; }
.pw-bar { height: 6px; border-radius: 999px; background: var(--paper-deep); overflow: hidden; }
.pw-bar > span { display: block; height: 100%; width: 0; transition: width 0.25s, background 0.25s; }
.pw-label { font-size: 12px; color: var(--ink-soft); margin-top: 5px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; text-decoration: none; transition: background 0.2s, opacity 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; width: 100%; }
.btn-primary:hover { background: var(--primary-deep); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn-danger { background: #C2453B; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }

.auth-foot { margin-top: 22px; font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.auth-foot a { color: var(--primary-deep); font-weight: 600; }

/* Statusmeldungen */
.alert { padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 20px; display: none; }
.alert.show { display: block; }
.alert-error { background: #FBE9E7; color: #A5352C; border: 1px solid #F1C4BD; }
.alert-success { background: var(--mint); color: var(--primary-deep); border: 1px solid #A9E3CC; }
.alert-info { background: #EAF1FB; color: #2C5A94; border: 1px solid #C4D8F1; }

/* Profil / Dashboard */
.mb-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.mb-head h1 { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.panel h2 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin-bottom: 6px; }
.panel .panel-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.badge-pending { background: #FBF0D8; color: #8A6A1E; }
.badge-review { background: #EAF1FB; color: #2C5A94; }
.badge-active { background: var(--mint); color: var(--primary-deep); }
.badge-rejected { background: #FBE9E7; color: #A5352C; }

/* TOTP / QR */
.qr-box { display: flex; justify-content: center; padding: 20px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-sm); width: max-content; margin: 0 auto 16px; }
.mono { font-family: var(--font-mono); font-size: 13px; word-break: break-all; background: var(--paper); padding: 10px 12px; border-radius: 8px; }
.recovery-list { columns: 2; font-family: var(--font-mono); font-size: 14px; background: var(--paper); padding: 16px 20px; border-radius: var(--radius-sm); margin: 12px 0; }

/* Admin-Queue */
.queue-item { border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: 18px; margin-bottom: 14px; }
.queue-item h3 { font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }
.score-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.score-chip { background: var(--paper); border-radius: 8px; padding: 6px 10px; font-size: 12.5px; font-family: var(--font-mono); }
.score-total { font-weight: 700; }
.queue-actions { display: flex; gap: 10px; margin-top: 10px; }

.simple-nav { padding: 16px 40px; }
@media (max-width: 560px) { .auth-card { padding: 28px 22px; } .mb-head h1 { font-size: 24px; } }

/* ============================================================
   Netzwerk-Brücke (network-cta.js) — Nav-Link, Banner, dezente Zeile
   ============================================================ */
.nav-netlink {
  margin-left: auto; margin-right: 18px;
  color: var(--primary-deep); font-family: var(--font-body);
  font-weight: 600; font-size: 14px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-netlink:hover { text-decoration: underline; }
@media (max-width: 560px) { .nav-netlink { margin-right: 12px; } }

/* Status-Banner auf der Profilseite */
.net-banner {
  display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap;
  position: relative;
  background: var(--mint); border: 1px solid #A9E3CC;
  border-radius: var(--radius); padding: 22px 24px; margin: 0 0 28px;
}
.net-banner-unconfirmed { background: #EAF1FB; border-color: #C4D8F1; }
.net-banner-body { flex: 1 1 340px; min-width: 0; }
.net-banner-body strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 6px;
}
.net-banner-body p { color: var(--ink-soft); font-size: 14.5px; margin: 0; line-height: 1.5; }
.net-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-right: 22px; }
.net-banner-close {
  position: absolute; top: 10px; right: 12px;
  background: transparent; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--ink-soft); padding: 4px 8px;
}
.net-banner-close:hover { color: var(--ink); }

/* Dezente Dauer-Zeile (bleibt nach dem Schließen / confirmed) */
.net-subtle { margin: 0 0 24px; }
.net-subtle-link {
  color: var(--primary-deep); font-weight: 600; font-size: 14.5px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.net-subtle-link:hover { text-decoration: underline; }

@media (max-width: 560px) { .net-banner { padding: 18px 18px; } .net-banner-actions { padding-right: 0; } }
