/* Signup / login — shares brand tokens with style.css (blue/navy,
   Fraunces + IBM Plex Sans) but these two pages don't need the marketing
   site's nav/hero/footer rules, so they get their own small sheet. */

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-top {
  padding: 24px 28px 0;
}

.auth-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px 64px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 36px 32px 32px;
}

.auth-card h1 {
  font-size: 26px;
  margin-bottom: 8px;
}

.auth-sub {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 28px;
}

.auth-error {
  background: var(--coral-soft);
  color: var(--coral-dark);
  border: 1px solid rgba(192, 50, 42, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 20px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 7px;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
}

.field input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--surface);
}

.field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.auth-card .btn {
  width: 100%;
  margin-top: 6px;
  padding: 13px 24px;
}

.auth-switch {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 22px;
}

.auth-switch a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* "Continue with Google" (lib/googleAuth.js) */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.btn-google:hover {
  background: var(--paper);
  border-color: var(--ink-soft);
}

.btn-google svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 12.5px;
}

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