/* auth.css — signup, login, forgot-password, reset-password */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--teal); text-decoration: none; display: block; text-align: center; margin-bottom: 0.5rem; }
h1 { font-size: 1.5rem; text-align: center; margin-bottom: 0.25rem; }
.subtitle { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; line-height: 1.5; }
.field { margin-bottom: 1.25rem; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.field-row label { margin-bottom: 0; }
.field-row a { font-size: 0.8rem; color: var(--teal); text-decoration: none; }
.field-row a:hover { text-decoration: underline; }
input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font);
}
input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15); }
.hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }
button {
  width: 100%;
  padding: 0.8rem;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  font-family: var(--font);
}
button:hover { background: var(--teal-dark); }
button:disabled { opacity: 0.6; cursor: not-allowed; }
.error { background: #FEF2F2; color: var(--danger); padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); font-size: 0.875rem; margin-bottom: 1rem; display: none; }
.error.show { display: block; }
.success { background: #ECFDF5; color: #059669; padding: 0.9rem; border-radius: var(--radius-sm); font-size: 0.9rem; line-height: 1.5; display: none; }
.show { display: block; }
.footer { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.footer a { color: var(--teal); text-decoration: none; font-weight: 500; }
.footer a:hover { text-decoration: underline; }
