/* Auth pages */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--cream);
  font-family: var(--font-body);
  color: var(--bark);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--forest);
  text-decoration: none;
  margin-bottom: 32px;
}

.auth-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--honey);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transform: rotate(-4deg);
  box-shadow: 0 2px 8px rgba(245,166,35,0.3);
}

.auth-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--bark);
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
}

.auth-field {
  margin-bottom: 18px;
}

.auth-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--bark-soft);
  margin-bottom: 6px;
}

.auth-field input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--bark);
  background: var(--sand);
  transition: all 0.25s;
  outline: none;
}

.auth-field input:focus {
  border-color: var(--honey);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}

.auth-field input::placeholder {
  color: var(--muted);
}

.auth-btn {
  width: 100%;
  padding: 13px 24px;
  background: var(--forest);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(45,106,79,0.2);
  margin-top: 8px;
}

.auth-btn:hover {
  background: var(--forest-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,106,79,0.25);
}

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

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

form.button_to:has(.auth-google-btn) { width: 100%; }
button.auth-google-btn,
a.auth-google-btn {
  width: 100%;
  padding: 12px 24px;
  background: var(--white);
  color: var(--bark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

button.auth-google-btn:hover,
a.auth-google-btn:hover {
  border-color: var(--bark-soft);
  box-shadow: var(--shadow-soft);
}

.auth-links {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

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

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

.auth-alert {
  padding: 10px 14px;
  background: #FDE8E7;
  color: #C0392B;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}

.auth-notice {
  padding: 10px 14px;
  background: var(--forest-pale);
  color: var(--forest);
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}

.auth-errors {
  padding: 14px;
  background: #FDE8E7;
  border: 1px solid #EF6461;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.auth-errors h3 {
  font-size: 14px;
  font-weight: 700;
  color: #C0392B;
  margin-bottom: 6px;
}

.auth-errors ul {
  list-style: disc;
  padding-left: 18px;
  font-size: 13px;
  color: #C0392B;
}
