:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --panel: #ffffff;
  --line: #d8dee6;
  --text: #1f2933;
  --muted: #6b7785;
  --accent: #16805f;
  --accent-dark: #10664b;
  --danger: #b42318;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 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(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  padding: 28px;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 24px;
}

p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 11px;
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 128, 95, 0.12);
}

button {
  width: 100%;
  min-height: 40px;
  margin-top: 22px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

button:hover {
  background: var(--accent-dark);
}

.login-message {
  min-height: 20px;
  margin-top: 12px;
  color: var(--danger);
  font-size: 13px;
}
