:root {
  color-scheme: dark;
  --ink: #eef2ec;
  --muted: #89938d;
  --paper: #0b0f0d;
  --green: #c9f45c;
  --red: #ff786f;
  --line: rgba(219, 237, 226, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(201, 244, 92, 0.09), transparent 32rem),
    radial-gradient(circle at 90% 90%, rgba(66, 167, 255, 0.06), transparent 34rem),
    var(--paper);
}

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

.login-card {
  width: min(100%, 430px);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(23, 31, 27, 0.96), rgba(13, 18, 16, 0.94));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: end center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 244, 92, 0.35);
  border-radius: 50%;
}

.brand-mark i {
  position: absolute;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--green);
}

.brand-mark i:nth-child(1) { left: 10px; height: 8px; }
.brand-mark i:nth-child(2) { left: 17px; height: 14px; }
.brand-mark i:nth-child(3) { left: 24px; height: 20px; }

.eyebrow {
  margin: 20px 0 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.17em;
}

h1 {
  margin: 0;
  font: 400 38px/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

.description {
  margin: 13px 0 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

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

label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
button { font: inherit; }

input {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: rgba(255, 255, 255, 0.04);
}

input:focus {
  border-color: rgba(201, 244, 92, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 244, 92, 0.08);
}

button {
  min-height: 43px;
  margin-top: 7px;
  color: #11150e;
  border: 1px solid var(--green);
  border-radius: 7px;
  background: var(--green);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

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

#login-error {
  min-height: 20px;
  margin: 3px 0 0;
  color: var(--red);
  font-size: 11px;
}

@media (max-width: 520px) {
  .login-card { padding: 30px 24px; }
}
