:root {
  --ink: #1f2825;
  --muted: #66736e;
  --line: #dfe7e2;
  --green: #0f8a6a;
  --green-strong: #0b6f56;
  --green-soft: #e7f5ef;
  --surface: #f5f8f6;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(31, 40, 37, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(15, 138, 106, 0.12), rgba(31, 40, 37, 0.04)),
    var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.login-card {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.login-form {
  display: grid;
  gap: 10px;
}

label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

button {
  height: 44px;
  margin-top: 6px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

button:hover {
  background: var(--green-strong);
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.message {
  min-height: 18px;
  margin: 2px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.35;
}
