:root {
  --bg: #f2f4f1;
  --ink: #18201a;
  --muted: #5d655d;
  --field: #2f6c45;
  --line: rgba(24, 32, 26, 0.14);
  --panel: #fff;
  --wheat: #d89d38;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 16, 0.84), rgba(12, 22, 16, 0.38)),
    url("assets/ls25-hero.png") center / cover no-repeat;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.login-panel {
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

p,
h1 {
  margin-top: 0;
}

.login-panel > p {
  margin-bottom: 8px;
  color: var(--wheat);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 22px;
  font-size: 2rem;
  line-height: 1;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

input:focus {
  border-color: var(--field);
  outline: 3px solid rgba(47, 108, 69, 0.16);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--field);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

#message {
  min-height: 22px;
  color: #9a281e;
  font-weight: 800;
}

a {
  display: inline-block;
  margin-top: 18px;
  color: var(--field);
  font-weight: 900;
  text-decoration: none;
}
