/* ─── Google sign-in button ───────────────────────── */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.72rem 1rem;
  background: var(--surface);
  color: var(--ink-mid);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.925rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.btn-google:hover {
  border-color: var(--ink-faint);
  box-shadow: var(--shadow-sm);
}

/* ─── Login / center-card pages ───────────────────── */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--paper);
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  width: 100%;
  max-width: 370px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: fade-up 0.35s ease both;
}

.login-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--green);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.login-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 0.35rem;
  line-height: 1.15;
}

.login-sub {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.login-error {
  background: var(--red-light);
  border: 1px solid #EAC8C8;
  border-radius: var(--radius-sm);
  color: var(--red);
  font-size: 0.85rem;
  padding: 0.6rem 0.85rem;
  margin-top: 1rem;
}
