@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  font-family: "DM Sans", sans-serif;
  color: #1d2925;
  background: #f5f7f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --green: #176f54;
  --green-dark: #125943;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
button, input { font: inherit; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 410px); padding: 36px; border: 1px solid #e9eeeb; border-radius: 14px; background: #fff; box-shadow: 0 12px 38px rgba(35, 59, 48, .07); }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 34px; color: #1d2925; font-weight: 700; text-decoration: none; letter-spacing: -.5px; }
.brand-light { margin-left: 4px; color: #789087; font-weight: 500; }
.brand-mark { width: 29px; height: 29px; display: grid; place-items: center; transform: rotate(-8deg); border-radius: 9px; background: var(--green); }
.brand-mark span { position: relative; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; }
.brand-mark span::after { position: absolute; top: 7px; left: 3px; width: 2px; height: 8px; transform: rotate(-35deg); border-radius: 2px; background: #fff; content: ""; }
.eyebrow { margin: 0 0 8px; color: #89958f; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; }
h1 { margin: 0 0 7px; font-family: "Manrope", sans-serif; font-size: 29px; letter-spacing: -1px; }
.subtitle { margin: 0 0 25px; color: #76827c; font-size: 13px; line-height: 1.5; }
form { display: grid; gap: 9px; }
label { margin-top: 5px; color: #46564e; font-size: 12px; font-weight: 600; }
input { width: 100%; min-height: 45px; padding: 0 12px; border: 1px solid #dfe7e2; border-radius: 7px; outline: none; background: #fff; color: #1d2925; font-size: 14px; }
input:focus { border-color: #4a9b76; box-shadow: 0 0 0 3px rgba(74, 155, 118, .14); }
button { min-height: 45px; margin-top: 12px; border: 0; border-radius: 7px; background: var(--green); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
button:hover { background: var(--green-dark); }
button:disabled { cursor: wait; opacity: .7; }
.login-error { min-height: 18px; margin: 2px 0 0; color: #b4493e; font-size: 12px; line-height: 1.5; }

@media (max-width: 480px) {
  .login-shell { padding: 16px; }
  .login-card { padding: 28px 23px; }
}
