:root {
  color: #17231d;
  background: #f3f0e7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(215, 97, 67, .11), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(31, 93, 70, .11), transparent 30rem),
    #f3f0e7;
}

.login-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.login-card {
  width: min(430px, 100%);
  padding: 35px 38px 31px;
  border: 1px solid rgba(23, 35, 29, .14);
  border-radius: 20px;
  background: rgba(255, 253, 247, .88);
  box-shadow: 0 28px 70px rgba(34, 48, 40, .12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #17231d;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50% 50% 50% 14%;
  background: #1f5d46;
  color: white;
  font-family: Georgia, serif;
  font-size: 18px;
}

.login-error {
  margin: 36px 0 5px;
  padding: 11px 13px;
  border: 1px solid #e3b5a8;
  border-radius: 9px;
  background: #fbebe6;
  color: #84392d;
  font-size: 12px;
}

form { display: grid; margin-top: 34px; }
.login-error + form { margin-top: 14px; }
label { margin: 15px 0 7px; color: #46534b; font-size: 12px; font-weight: 720; }
input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d8d3c5;
  border-radius: 10px;
  outline: none;
  background: #fffdf7;
  color: #17231d;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus { border-color: #1f5d46; box-shadow: 0 0 0 3px rgba(31, 93, 70, .11); }

button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  background: #568a72;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(31, 93, 70, .19);
}
button:hover { background: #477962; transform: translateY(-1px); }

.login-note { margin: 17px 0 0; color: #929990; text-align: center; font-size: 10px; }

@media (max-width: 480px) {
  .login-card { padding: 28px 23px 25px; }
  form { margin-top: 30px; }
}
