/* ============================================================
   Login screen
   ============================================================ */

.body--auth {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.auth-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 32px 26px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: authIn 0.32s var(--ease);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(106,168,255,0.25), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.auth-card > * { position: relative; z-index: 1; }

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
}

.auth-logo {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: contain;
}

.auth-brand-text { display: flex; flex-direction: column; gap: 2px; }

.auth-kicker {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-transform: lowercase;
}

.auth-title {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}
.auth-title em {
  font-style: italic;
  color: var(--ink-dim);
  font-weight: 400;
}

.auth-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-mute);
}

.auth-error {
  background: rgba(224,104,104,0.08);
  border: 1px solid rgba(224,104,104,0.28);
  color: #f0b5b5;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 12.5px;
  line-height: 1.4;
}

.auth-foot {
  margin: 8px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  text-align: center;
}
.auth-foot-dot { opacity: 0.5; }

@keyframes authIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 420px) {
  .auth-card { padding: 26px 22px 20px; border-radius: 14px; }
  .auth-title { font-size: 24px; }
}
