.auth-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-5);
  padding-top: calc(var(--sp-5) + env(safe-area-inset-top, 0px));
}

.auth-wrap { width: min(92vw, 400px); }

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
}

.auth-brand { text-align: center; margin-bottom: var(--sp-6); }
.auth-mark {
  width: 68px; height: 68px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--primary-ink);
  border-radius: 20px; box-shadow: 0 14px 30px -8px var(--primary);
}
.auth-mark [data-lucide] { width: 34px; height: 34px; }
.auth-title { font-size: 25px; font-weight: 800; letter-spacing: -.5px; color: var(--text); }
.auth-sub   { color: var(--text-2); font-size: var(--fs-subhead); margin-top: 5px; font-weight: 500; }

/* Şifre alanı + göster/gizle */
.field-pw { position: relative; }
.field-pw input { padding-right: var(--sp-8); }
.pw-toggle {
  position: absolute; top: 0; right: 0; height: 44px; width: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--text-muted); cursor: pointer;
}

.auth-foot { text-align: center; margin-top: var(--sp-5); color: var(--text-muted); font-size: var(--fs-footnote); }

.auth-submit { margin-top: var(--sp-5); }
.auth-submit .btn { width: 100%; border-radius: 15px; font-size: 16px; box-shadow: 0 10px 24px -10px var(--primary); }

/* Demo hesap kartı (yalnız yerel/APP_DEBUG) */
.auth-demo {
  width: min(92vw, 400px);
  margin: var(--sp-4) auto 0;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
}
.auth-demo-head {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-subhead); font-weight: 700; color: var(--accent);
  margin-bottom: var(--sp-3);
}
.auth-demo-rows { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.auth-demo-row { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-subhead); }
.auth-demo-row span { color: var(--text-muted); }
.auth-demo-row code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--surface); color: var(--text);
  padding: 3px var(--sp-2); border-radius: var(--r-sm);
  border: 1px solid var(--border); font-size: var(--fs-caption);
}
.auth-demo .btn-demo { width: 100%; background: var(--surface); color: var(--accent); border-color: var(--border); }
