/* ============================================================
   auth.css — Login / signup page styles
   ============================================================ */

.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; overflow: hidden; }

/* Animated grid background */
.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(108,99,255,0.22) 0%, transparent 70%);
}
.auth-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Card */
.auth-container { position: relative; z-index: 1; width: 100%; max-width: 420px; padding: 24px; }

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-1);
}

/* Headings */
.auth-heading {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.25;
  margin-bottom: 8px;
}
.auth-sub {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 32px;
}

/* Actions */
.auth-actions { display: flex; flex-direction: column; gap: 12px; }

.email-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Error */
.auth-error {
  color: var(--red);
  font-size: 13px;
  margin-top: 12px;
  min-height: 18px;
  text-align: center;
}

@media (max-width: 440px) {
  .auth-card { padding: 28px 20px; border-radius: var(--r-lg); }
  .auth-heading { font-size: 22px; }
}
