/* ============================================================
   Unifical — Auth screens (sign-in / sign-up)
   ============================================================ */

.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  /* subtle grid glow behind the card */
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(177,75,255,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(0,229,255,.06) 0%, transparent 60%);
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow:
    0 0 0 1px rgba(150,140,200,.05),
    0 24px 64px -16px rgba(0,0,0,.55);
}

.auth-logo {
  margin-bottom: 32px;
}

.auth-heading {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  margin: 0 0 8px;
}

.auth-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0 0 28px;
  line-height: 1.5;
}

.auth-error {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--err);
  background: rgba(255,93,108,.08);
  border: 1px solid rgba(255,93,108,.25);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  margin: 0 0 20px;
  line-height: 1.45;
}

.auth-cta {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 15px 26px;
  margin-bottom: 20px;
}

.auth-switch {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
  text-align: center;
}

.auth-switch a {
  color: var(--pink-soft);
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover {
  color: var(--pink);
  text-decoration: underline;
}

/* ---- divider (for future social sign-in) ---- */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-faint);
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: .08em;
  margin: 4px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
