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

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, .24), transparent 35%),
    radial-gradient(circle at 82% 80%, rgba(14, 165, 233, .14), transparent 38%),
    linear-gradient(145deg, #07101c, #0b1728 55%, #08121f);
}

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

.login-card {
  width: min(430px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background: rgba(12, 24, 41, .88);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .48);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, #2563eb, #60a5fa);
  box-shadow: 0 14px 35px rgba(37, 99, 235, .3);
  font-size: 25px;
  font-weight: 900;
}

.eyebrow {
  color: #75a9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

h1 {
  margin: 9px 0 10px;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.1;
}

p {
  margin: 0 0 27px;
  color: #a8b6ca;
  font-size: 14px;
  line-height: 1.55;
}

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

label {
  margin-top: 8px;
  color: #cbd7e8;
  font-size: 12px;
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  outline: none;
  padding: 13px 14px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
  font: inherit;
}

input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, .15);
}

button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .25);
}

button:disabled { cursor: wait; opacity: .68; }

.form-error {
  min-height: 19px;
  color: #fca5a5;
  font-size: 12px;
}

small {
  display: block;
  margin-top: 22px;
  color: #728198;
  text-align: center;
  font-size: 10px;
}

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