:root {
  color-scheme: light;
  --ink: #0b1220;
  --muted: #5a6577;
  --line: #dce3ec;
  --accent: #2352cc;
  --accent-hover: #193f9f;
  --danger: #b42318;
  --surface: rgba(255, 255, 255, 0.94);
}

* { box-sizing: border-box; }

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

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(35, 82, 204, 0.18), transparent 35%),
    radial-gradient(circle at 92% 90%, rgba(15, 118, 110, 0.14), transparent 36%),
    #f3f6fa;
}

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

.login-card {
  width: min(100%, 430px);
  padding: 36px;
  border: 1px solid rgba(205, 213, 224, 0.9);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(14px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 13px;
  background: var(--ink);
  color: white;
  font-weight: 750;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.intro {
  margin: 14px 0 28px;
  color: var(--muted);
  line-height: 1.55;
}

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

label {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 650;
}

input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(35, 82, 204, 0.12);
}

button {
  height: 50px;
  margin-top: 8px;
  border: 0;
  border-radius: 11px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

button:hover { background: var(--accent-hover); }
button:active { transform: translateY(1px); }
button:disabled { cursor: wait; opacity: 0.7; }

.status {
  min-height: 21px;
  margin: 4px 0 -2px;
  color: var(--danger);
  font-size: 13px;
}

.security-note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid #edf0f4;
  color: #7c8696;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 520px) {
  .login-card { padding: 28px 22px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  input, button { transition: none; }
}
