.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  background: #faf9f5;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.auth-card h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #222;
  margin: 0 0 0.25rem;
}

.auth-subtitle {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 1.75rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.auth-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.35rem;
}

.auth-field input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-family: 'Nunito Sans', sans-serif;
  background: #faf9f5;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.auth-field input:focus {
  outline: none;
  border-color: #f5c518;
  box-shadow: 0 0 0 3px rgba(245,197,24,0.15);
}

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #555;
  cursor: pointer;
}

.auth-remember input[type="checkbox"] {
  accent-color: #f5c518;
}

.auth-forgot {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 600;
}

.auth-forgot:hover {
  text-decoration: underline;
}

.auth-terms {
  font-size: 0.82rem;
  color: #555;
}

.auth-terms label {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  cursor: pointer;
}

.auth-terms input[type="checkbox"] {
  accent-color: #f5c518;
  margin-top: 0.15rem;
}

.auth-terms a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 600;
}

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

.auth-submit {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: #aaa;
  font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}

.auth-socials {
  display: flex;
  gap: 0.75rem;
}

.auth-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 0.75rem;
  background: #fff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.auth-social-btn:hover {
  border-color: #ccc;
  background: #faf9f5;
}

.auth-social-btn svg {
  width: 18px;
  height: 18px;
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: #666;
}

.auth-switch a {
  color: var(--foreground);
  font-weight: 700;
  text-decoration: none;
}

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

/* Interest tags */
.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.interest-tag {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid #e0e0e0;
  background: #faf9f5;
  color: #777;
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  transition: all 0.15s;
}
.interest-tag:hover { border-color: #222; }
.interest-tag.selected {
  background: #f5c518;
  color: #222;
  border-color: #f5c518;
}
.interest-tag.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.interest-count {
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.4rem;
}

/* Nav sign-in link for auth pages */
.nav-signin-link {
  font-weight: 600;
  color: var(--foreground) !important;
  transition: color 0.2s;
}
.nav-signin-link:hover {
  color: var(--foreground) !important;
}
