:root {
  --bg: #060a0f;
  --panel: #0c1219;
  --line: #1e2d3d;
  --text: #f1f5f9;
  --muted: #8492a6;
  --accent: #6ee7b7;
  --accent-dim: rgba(110, 231, 183, 0.12);
  --danger: #f87171;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(16, 85, 60, 0.14), transparent),
    var(--bg);
}

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

.login-card {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  background: rgba(12, 18, 25, 0.97);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.03);
}

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

.brand-row img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.brand-row p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-row h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(6, 10, 15, 0.8);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  outline: none;
}

button {
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  color: #06100c;
  background: var(--accent);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  transition: background 0.15s, transform 0.12s;
}

button:hover {
  background: #5dd9a8;
  transform: translateY(-1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

#loginMessage {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 700;
}
