:root {
  color-scheme: dark;
  --background: #10110f;
  --card: #181a17;
  --border: rgba(255, 255, 255, 0.12);
  --text: #f4f6f1;
  --muted: #a7aea3;
  --accent: #28c78f;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(40, 199, 143, 0.14), transparent 36rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.login-card {
  width: min(100%, 390px);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(24, 26, 23, 0.94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 8vw, 2.8rem);
  line-height: 1;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

input, button {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  font: inherit;
}

input {
  border: 1px solid var(--border);
  padding: 0 16px;
  background: #0d0e0c;
  color: var(--text);
  font-size: 1.1rem;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(40, 199, 143, 0.14);
}

button {
  margin-top: 14px;
  border: 0;
  background: var(--accent);
  color: #07130e;
  font-weight: 850;
  cursor: pointer;
}

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

.status {
  min-height: 1.25em;
  margin: 14px 0 0;
  color: #ff8f8f;
  text-align: center;
  font-size: 0.88rem;
}

@media (max-width: 480px) {
  .login-shell { padding: 16px; }
  .login-card { padding: 26px 22px; border-radius: 20px; }
}
