:root {
  --deep-navy: #0b1437;
  --navy: #1e3a8a;
  --blue: #3b82f6;
  --sky: #93c5fd;
  --cyan: #38bdf8;
  --line: #1e2a52;
  --muted: #94a3b8;
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  color-scheme: dark;
  font-family: Inter, "Inter Display", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(59, 130, 246, .18), transparent 38rem),
    radial-gradient(circle at 50% -10%, rgba(139, 92, 246, .10), transparent 26rem),
    var(--deep-navy);
}

.login-card {
  width: min(100%, 400px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #15224d, #0f1a3d);
  box-shadow: 0 24px 70px rgba(2, 6, 23, .5);
  padding: 34px 30px 30px;
  text-align: center;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .45);
}

.brand-chip img {
  display: block;
  height: 70px;
  width: auto;
}

.login-title {
  margin: 22px 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.login-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.login-card form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.login-card label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .4px;
  color: var(--muted);
  text-transform: uppercase;
}

.login-card input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0a1330;
  color: var(--text);
  padding: 10px 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.login-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .2);
}

.login-card button {
  margin-top: 4px;
  min-height: 47px;
  border: 1px solid var(--blue);
  border-radius: 11px;
  background: linear-gradient(180deg, #3b82f6, #2f6fe0);
  color: #f8fafc;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: filter .18s ease;
}

.login-card button:hover {
  filter: brightness(1.08);
}

.login-error {
  margin: 0 0 16px;
  border: 1px solid rgba(248, 113, 113, .4);
  border-radius: 10px;
  background: rgba(248, 113, 113, .1);
  color: #fca5a5;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}

.login-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
}

.login-foot b {
  color: var(--text-soft);
  font-weight: 800;
}

@media (max-width: 420px) {
  .login-card {
    padding: 28px 20px 24px;
  }
}
