:root{
  --bg:#102131;
  --ink:#f8fafc;
  --muted:#9fb0c3;
  --line:rgba(255,255,255,0.14);
  --accent:#8fa3b7;
  --accent-strong:#d7dee7;
  --danger:#fca5a5;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  color:var(--ink);
  background:
    radial-gradient(circle at 18% 20%, rgba(143,163,183,0.28), transparent 32%),
    linear-gradient(135deg, #102131 0%, #172b3d 45%, #0a111a 100%);
}
.loginShell{
  min-height:100%;
  display:grid;
  place-items:center;
  padding:24px;
}
.loginCard{
  width:min(460px, 100%);
  padding:28px;
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
  box-shadow:0 28px 80px rgba(0,0,0,0.36);
  backdrop-filter: blur(12px);
}
.brand{
  display:flex;
  gap:16px;
  align-items:center;
}
.brand__logo{
  width:118px;
  height:auto;
  display:block;
}
.brand__eyebrow{
  color:var(--accent-strong);
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
}
h1{
  margin:4px 0 0;
  font-size:30px;
  line-height:1.05;
}
.loginText{
  margin:22px 0;
  color:var(--muted);
  line-height:1.5;
}
.loginForm{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.field{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:var(--accent-strong);
  font-size:13px;
}
.field input{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(8,15,24,0.78);
  color:var(--ink);
  font-size:16px;
  outline:none;
}
.field input:focus{
  border-color:rgba(215,222,231,0.78);
  box-shadow:0 0 0 4px rgba(143,163,183,0.18);
}
.error{
  border:1px solid rgba(252,165,165,0.45);
  background:rgba(127,29,29,0.28);
  color:var(--danger);
  border-radius:12px;
  padding:10px 12px;
  font-size:13px;
}
.loginButton{
  min-height:50px;
  border:1px solid rgba(215,222,231,0.54);
  border-radius:16px;
  background:linear-gradient(135deg, rgba(215,222,231,0.24), rgba(143,163,183,0.16));
  color:var(--ink);
  font-weight:800;
  font-size:15px;
  cursor:pointer;
}
.loginButton:hover{
  border-color:rgba(215,222,231,0.86);
}
@media (max-width:520px){
  .loginShell{padding:14px}
  .loginCard{padding:22px; border-radius:22px}
  .brand{align-items:flex-start; flex-direction:column}
}
