/* auth.css — shared layout for login.html and signup.html */

.auth-page {
  background-color: var(--bg);
}

.auth-split {
  display: flex;
  min-height: calc(100vh - var(--navbar-height, 64px));
}

.auth-split__form {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
  background-color: var(--bg);
}

.auth-split__image {
  flex: 0 0 55%;
  position: relative;
  background-size: cover;
  background-position: center top;
}

/* Subtle warm tint overlay using --bg at ~15% opacity */
.auth-split__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  opacity: 0.15;
}

.auth-card {
  width: 100%;
  max-width: 440px;
}

@media (max-width: 768px) {
  .auth-split {
    flex-direction: column;
  }

  .auth-split__form {
    flex: none;
    width: 100%;
  }

  .auth-split__image {
    display: none;
  }
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.auth-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  text-align: center;
  color: var(--text);
  margin: 0 0 var(--space-6);
}

.auth-sub {
  font-size: var(--text-sm);
  color: var(--text2);
  text-align: center;
  margin: calc(var(--space-2) * -1) 0 var(--space-5);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.auth-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.auth-switch {
  font-size: var(--text-sm);
  color: var(--text2);
}

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

/* ── Login-specific ──────────────────────────────────────────── */
.auth-success-msg {
  font-size: var(--text-sm);
  color: var(--green);
  margin-bottom: var(--space-3);
}

/* ── Signup-specific ─────────────────────────────────────────── */
.auth-trust {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  color: var(--text3);
  text-align: center;
  margin-top: var(--space-4);
}
