:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eff6ff;
  background: #07101f;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 113, 235, .22), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(34, 211, 238, .12), transparent 28%),
    #07101f;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 72px;
}

.eyebrow, .step {
  color: #67e8f9;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.07em;
}

h1 strong { color: #60a5fa; }

.brand-panel > p {
  max-width: 580px;
  color: #a9b9cf;
  font-size: 1.15rem;
  line-height: 1.7;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: #cbd5e1;
  font-size: .9rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 18px #22c55e;
}

.login-card {
  padding: 38px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 24px;
  background: rgba(15, 27, 48, .82);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px);
}

h2 { margin: 10px 0 8px; font-size: 2rem; letter-spacing: -.03em; }
.login-card p { color: #9fb0c6; line-height: 1.6; }
form { display: grid; gap: 18px; margin-top: 28px; }
label { display: grid; gap: 8px; color: #cbd5e1; font-size: .9rem; font-weight: 700; }

input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #30415e;
  border-radius: 12px;
  color: #f8fafc;
  background: #0a1425;
  font: inherit;
  outline: none;
}

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

.password-field { position: relative; display: block; }
.password-field input { padding-right: 52px; }

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 9px;
  color: #9fb0c6;
  background: transparent;
}

.password-toggle:hover { color: #eff6ff; background: rgba(96, 165, 250, .12); filter: none; }
.password-toggle:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.password-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.password-toggle.is-visible { color: #67e8f9; }

button {
  padding: 15px 18px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:hover { filter: brightness(1.08); }
.secondary { background: #1e293b; }
.message { min-height: 24px; margin: 0; color: #fca5a5 !important; }
.authenticated { text-align: center; padding-top: 28px; }
.success-mark { width: 56px; height: 56px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; color: #052e16; background: #4ade80; font-size: 1.8rem; font-weight: 900; }

@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; gap: 38px; padding: 64px 0; }
  h1 { font-size: clamp(3rem, 18vw, 5rem); }
  .login-card { padding: 28px; }
}

