:root{
  --bg:#050910;
  --panel:rgba(7,16,28,0.94);
  --cyan:#00ffe0;
  --blue:#00c8ff;
  --text:#f2f7fb;
  --muted:#91a5b8;
  --border:rgba(0,200,255,0.18);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  min-width:320px;
  min-height:100vh;
  background:
    radial-gradient(circle at 12% 10%,rgba(0,200,255,0.15),transparent 32%),
    radial-gradient(circle at 88% 85%,rgba(0,255,224,0.08),transparent 34%),
    linear-gradient(135deg,#050910,#07111d 50%,#03060b);
  color:var(--text);
  font-family:Inter,system-ui,sans-serif;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  opacity:.07;
  background-image:
    linear-gradient(rgba(0,255,224,.18) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,255,224,.18) 1px,transparent 1px);
  background-size:44px 44px;
}

.login-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(390px,.85fr);
}

.login-intro{
  padding:52px clamp(36px,7vw,100px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.login-brand{
  width:max-content;
  display:flex;
  align-items:center;
  gap:14px;
  color:inherit;
  text-decoration:none;
}

.login-logo{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid rgba(0,200,255,.38);
  border-radius:13px;
  background:rgba(0,200,255,.1);
  box-shadow:0 0 20px rgba(0,200,255,.2);
}

.login-logo::before{
  content:"";
  width:14px;
  height:14px;
  background:var(--blue);
  clip-path:polygon(50% 0%,90% 25%,90% 75%,50% 100%,10% 75%,10% 25%);
  box-shadow:0 0 12px var(--blue);
}

.login-brand > span:last-child{
  display:flex;
  flex-direction:column;
}

.login-brand strong{
  font-size:1rem;
}

.login-brand small{
  margin-top:3px;
  color:var(--muted);
  font-size:.72rem;
}

.intro-copy{
  max-width:680px;
}

.eyebrow{
  color:var(--blue);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:2.6px;
}

.intro-copy h1{
  margin:13px 0 20px;
  font-size:clamp(2.8rem,6vw,5.8rem);
  line-height:.98;
  letter-spacing:-3px;
}

.intro-copy p{
  max-width:610px;
  color:var(--muted);
  font-size:1rem;
  line-height:1.8;
}

.security-note{
  display:flex;
  align-items:center;
  gap:10px;
  color:#7991a3;
  font-size:.78rem;
}

.status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#00ff88;
  box-shadow:0 0 10px #00ff88;
}

.login-panel{
  padding:32px;
  display:grid;
  place-items:center;
  border-left:1px solid rgba(0,200,255,.12);
  background:rgba(3,8,15,.72);
  backdrop-filter:blur(16px);
}

.login-box{
  width:min(100%,430px);
  padding:36px;
  border:1px solid var(--border);
  border-radius:20px;
  background:linear-gradient(155deg,rgba(10,24,40,.97),rgba(5,13,24,.96));
  box-shadow:0 28px 70px rgba(0,0,0,.4),0 0 30px rgba(0,200,255,.07);
}

.terminal-label{
  color:var(--cyan);
  font-family:"JetBrains Mono",monospace;
  font-size:.68rem;
}

.login-heading h2{
  margin:14px 0 7px;
  font-size:1.8rem;
}

.login-heading p,
.login-help{
  color:var(--muted);
  font-size:.8rem;
  line-height:1.55;
}

form{
  margin-top:30px;
}

label{
  margin:17px 0 8px;
  display:block;
  color:#b9cad6;
  font-size:.76rem;
  font-weight:650;
}

input{
  width:100%;
  height:46px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:9px;
  outline:0;
  background:rgba(0,0,0,.28);
  color:var(--text);
  font-family:"JetBrains Mono",monospace;
  transition:border-color .2s ease,box-shadow .2s ease;
}

input:focus{
  border-color:rgba(0,200,255,.55);
  box-shadow:0 0 0 3px rgba(0,200,255,.08);
}

button{
  width:100%;
  height:46px;
  margin-top:24px;
  border:1px solid rgba(0,200,255,.5);
  border-radius:9px;
  background:linear-gradient(135deg,#00c8ff,#0088ff);
  color:#001018;
  cursor:pointer;
  font-weight:800;
  transition:transform .2s ease,box-shadow .2s ease;
}

button:hover:not(:disabled){
  transform:translateY(-2px);
  box-shadow:0 0 24px rgba(0,200,255,.3);
}

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

.login-error{
  margin-top:16px;
  padding:11px 12px;
  border:1px solid rgba(255,93,111,.24);
  border-radius:8px;
  background:rgba(255,93,111,.08);
  color:#ff9eaa;
  font-size:.76rem;
  line-height:1.5;
}

.login-help{
  margin-top:22px;
  text-align:center;
}

@media(max-width:820px){
  .login-shell{
    display:block;
  }

  .login-intro{
    min-height:auto;
    padding:30px 24px;
  }

  .intro-copy,
  .security-note{
    display:none;
  }

  .login-panel{
    min-height:calc(100vh - 106px);
    padding:24px;
    border-left:0;
    border-top:1px solid rgba(0,200,255,.12);
  }
}

@media(max-width:480px){
  .login-panel{
    padding:16px;
  }

  .login-box{
    padding:26px 20px;
  }
}
