
:root { --green:#0c8c4c; --green-light:#15b861; --green-bg:#e6f5ee; --text:#1a1a2e; --muted:#8b90a0; --line:#e2e5ea; --red:#d13447; }
* { box-sizing:border-box; }
body {
  margin:0; min-height:100vh; display:flex; align-items:center; justify-content:center;
  padding:16px;
  font:14px/1.5 system-ui,-apple-system,"Segoe UI","Noto Sans TC",sans-serif;
  background:linear-gradient(135deg,#0c8c4c 0%,#15b861 50%,#0a6b3a 100%);
  -webkit-font-smoothing:antialiased;
}
.login {
  background:#fff; border-radius:16px; padding:36px 32px; width:min(340px,100%);
  box-shadow:0 20px 60px rgba(0,0,0,.15);
}
.login .logo {
  width:56px; height:56px; margin:0 auto 16px; border-radius:50%;
  background:var(--green-bg); display:flex; align-items:center; justify-content:center;
  font-size:28px;
}
.login h1 { font-size:17px; font-weight:700; margin:0 0 4px; text-align:center; color:var(--text); line-height:1.4; }
.login .subtitle { font-size:12px; color:var(--muted); text-align:center; margin:0 0 24px; }
.login label { display:block; font-size:12px; font-weight:600; color:var(--muted); margin-bottom:6px; }
.login .field { margin-bottom:16px; }
.login input {
  width:100%; padding:11px 14px; border:1px solid var(--line); border-radius:8px;
  font-size:14px; transition:border-color 150ms ease,box-shadow 150ms ease;
}
.login input:focus { outline:none; border-color:var(--green); box-shadow:0 0 0 3px var(--green-bg); }
.login button {
  width:100%; padding:11px; background:var(--green); color:#fff; border:none;
  border-radius:8px; font-size:14px; font-weight:600; cursor:pointer;
  transition:background 150ms ease; margin-top:4px;
}
.login button:hover { background:var(--green-light); }
.login button:active { transform:scale(.98); }
.login .err {
  color:var(--red); font-size:12px; text-align:center;
  margin-bottom:12px; min-height:16px;
  background:#fde8eb; border-radius:6px; padding:6px 10px;
}
.login .footer { font-size:11px; color:var(--muted); text-align:center; margin-top:20px; }
