:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #070b11;
  color: #eef5f3;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(37, 211, 145, 0.12), transparent 30rem),
    radial-gradient(circle at 90% 85%, rgba(52, 112, 255, 0.1), transparent 28rem),
    #070b11;
}

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

.login-card {
  width: min(100%, 440px);
  padding: clamp(28px, 7vw, 46px);
  border: 1px solid #22302f;
  border-radius: 22px;
  background: rgba(14, 21, 28, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 14px;
  color: #07100d;
  background: #2adf91;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.eyebrow {
  margin: 0 0 8px;
  color: #2adf91;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.subtitle,
.security-note {
  color: #93a5a3;
  line-height: 1.6;
}

.subtitle {
  margin: 14px 0 30px;
}

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

label {
  display: grid;
  gap: 8px;
  color: #bfd0cd;
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #2a3a39;
  border-radius: 10px;
  color: #eef5f3;
  background: #0a1118;
  font: inherit;
}

input:focus {
  border-color: #2adf91;
  outline: 3px solid rgba(42, 223, 145, 0.14);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  color: #06100c;
  background: #2adf91;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  cursor: pointer;
}

button:hover,
button:focus-visible {
  background: #4aeba5;
  outline: 3px solid rgba(42, 223, 145, 0.2);
  outline-offset: 2px;
}

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

.message {
  min-height: 20px;
  margin: -4px 0 0;
  color: #ff8d8d;
  font-size: 13px;
}

.security-note {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid #22302f;
  font-size: 12px;
}
