:root {
  --green-950:#102d22;
  --green-900:#163b2c;
  --green-800:#1b4332;
  --green-600:#2d6a4f;
  --green-500:#40916c;
  --green-200:#b7e4c7;
  --green-100:#d8f3dc;
  --cream:#f8f9fa;
  --white:#fff;
  --ink:#212529;
  --muted:#66706c;
  --orange:#e76f51;
  --danger:#b42318;
  --line:rgba(36,90,67,.16);
}
* { box-sizing:border-box; }
body {
  min-height:100vh;
  margin:0;
  display:grid;
  place-items:center;
  padding:24px;
  color:var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(183,228,199,.6), transparent 30rem),
    radial-gradient(circle at 95% 90%, rgba(231,111,81,.12), transparent 25rem),
    var(--cream);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
a { color:var(--green-600); }
.auth-shell { width:min(100%,520px); }
.brand {
  width:max-content;
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 auto 20px;
  color:var(--green-800);
  text-decoration:none;
  font-size:1.35rem;
  font-weight:850;
  letter-spacing:-.04em;
}
.brand svg { width:48px;height:48px; }
.brand span span { color:var(--green-500); }
.auth-card {
  padding:30px 24px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.92);
  border-radius:26px;
  box-shadow:0 22px 70px rgba(16,45,34,.12);
}
h1 {
  margin:0 0 10px;
  color:var(--green-950);
  font-size:clamp(2rem,8vw,3rem);
  line-height:1.05;
  letter-spacing:-.055em;
}
.intro { margin:0 0 24px;color:var(--muted);line-height:1.65; }
.form-grid { display:grid;gap:16px; }
label { display:grid;gap:7px;color:var(--green-900);font-weight:760; }
input {
  width:100%;
  min-height:52px;
  padding:12px 14px;
  color:var(--ink);
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  font:inherit;
}
input:focus {
  outline:3px solid rgba(231,111,81,.2);
  border-color:var(--orange);
}
button {
  min-height:52px;
  padding:13px 18px;
  color:var(--white);
  background:linear-gradient(135deg,var(--orange),#ca5a40);
  border:0;
  border-radius:15px;
  cursor:pointer;
  font:inherit;
  font-weight:850;
}
button:disabled { opacity:.65;cursor:wait; }
.message {
  display:none;
  margin:18px 0 0;
  padding:13px 15px;
  border-radius:13px;
  line-height:1.55;
}
.message.show { display:block; }
.message.success { color:var(--green-900);background:var(--green-100); }
.message.error { color:var(--danger);background:#fee4e2; }
.links {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;
  margin-top:20px;
  color:var(--muted);
  font-size:.9rem;
}
.links a { font-weight:720;text-underline-offset:4px; }
.password-note { color:var(--muted);font-size:.82rem;font-weight:500; }
@media (min-width:640px) { .auth-card { padding:38px; } }
