/* ── Findr auth page ────────────────────────────────────────────── */

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--paper);
  border: 1px solid var(--contour);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: 2rem;
}

.auth-card .brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--pine);
  justify-content: center;
  margin-bottom: 1.6rem;
}

.auth-tabs {
  display: flex;
  gap: 0.3rem;
  background: var(--porcelain);
  border: 1px solid var(--contour);
  border-radius: 999px;
  padding: 0.25rem;
  margin-bottom: 1.5rem;
}

.auth-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pine-soft);
}

.auth-tabs button.active { background: var(--pine); color: #fff; }

.auth-card h1 {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.3rem;
}

.auth-card .auth-sub {
  text-align: center;
  color: var(--mist);
  font-size: 0.88rem;
  margin: 0 0 1.4rem;
}

.auth-card form { display: grid; gap: 1rem; }

.form-field { display: grid; gap: 0.3rem; }

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--pine-soft);
}

.form-field input {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--pine);
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--contour);
  border-radius: var(--radius-md);
  background: var(--porcelain);
  width: 100%;
}

.hint { font-size: 0.72rem; color: var(--mist); margin: 0; }

.auth-card .btn { width: 100%; text-align: center; justify-content: center; margin-top: 0.2rem; }

.auth-msg {
  margin-top: 1rem;
  font-size: 0.86rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.auth-msg.error { background: rgba(228, 87, 46, 0.08); color: var(--route-deep); border: 1px solid rgba(228, 87, 46, 0.3); }
.auth-msg.success { background: rgba(46, 91, 82, 0.08); color: var(--pine-soft); border: 1px solid rgba(46, 91, 82, 0.3); }
.auth-msg[hidden] { display: none; }

.auth-foot {
  text-align: center;
  margin-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--mist);
}

.auth-foot a { color: var(--pine-soft); text-decoration: underline; }
