/* Login page */
body.auth {
  overflow: auto;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--s-6);
}

.auth-shell {
  position: relative;
  width: 100%;
  max-width: 440px;
  z-index: 2;
  animation: fadeIn 400ms var(--ease-out);
}

.auth-brand {
  text-align: center;
  margin-bottom: var(--s-8);
}
.auth-brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--grad-brand);
  box-shadow: var(--sh-glow);
  margin-bottom: var(--s-4);
  font-size: 1.8rem;
}
.auth-brand h1 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-brand p {
  font-size: 0.9rem;
  margin-top: 6px;
  color: var(--text-muted);
}

.auth-card {
  padding: var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-5);
}

.auth-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--s-2);
}

.auth-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  padding: 10px 14px;
  border-radius: var(--r);
  color: #fca5a5;
  font-size: 0.85rem;
}

.auth-foot {
  text-align: center;
  margin-top: var(--s-5);
  font-size: 0.78rem;
  color: var(--text-dim);
}
