/* ══════════════════════════════════════
   AUTH PAGES — Login / Register
══════════════════════════════════════ */

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: auto;
}

.auth-shell {
  width: 100%;
  max-width: 400px;
  padding: 40px 24px;
  animation: authIn 0.5s var(--out) both;
}
@keyframes authIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Brand ── */
.auth-brand {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.auth-logo em {
  color: var(--coin);
  font-style: inherit;
}
.auth-tagline {
  font-size: 12px;
  color: var(--dim);
  font-family: var(--mono);
}

/* ── Card ── */
.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(26, 25, 22, 0.06);
}

/* ── Header ── */
.auth-header {
  margin-bottom: 24px;
}
.auth-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}
.auth-sub {
  font-size: 13px;
  color: var(--dim);
}

/* ── Alert ── */
.auth-alert {
  background: var(--red-lt);
  border: 1px solid rgba(200, 64, 64, 0.15);
  color: var(--red);
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ── Form ── */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field-label {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.8px;
  color: var(--dim);
  text-transform: uppercase;
}
.field-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}
.field-input::placeholder {
  color: var(--muted);
}
.field-input:focus {
  border-color: var(--coin);
  box-shadow: 0 0 0 3px var(--coin-glow);
  background: var(--white);
}

/* ── Button ── */
.auth-btn {
  width: 100%;
  padding: 12px;
  margin-top: 4px;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 9px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}
.auth-btn:hover {
  background: #2a2927;
  box-shadow: 0 4px 16px rgba(26, 25, 22, 0.2);
  transform: translateY(-1px);
}
.auth-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ── Switch link ── */
.auth-switch {
  text-align: center;
  padding-top: 18px;
  font-size: 13px;
  color: var(--dim);
}
.auth-switch a {
  color: var(--coin);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.14s;
}
.auth-switch a:hover {
  opacity: 0.7;
}

/* ── Footer ── */
.auth-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
