:root{
  --bg:#0a0a0a;
  --panel:rgba(255,255,255,.05);
  --panel-2:rgba(255,255,255,.02);
  --line:rgba(255,255,255,.10);
  --text:#ffffff;
  --muted:rgba(255,255,255,.50);
  --placeholder:rgba(255,255,255,.30);
  --cyan:#06b6d4;
  --cyan-2:#0891b2;
  --shadow:0 24px 60px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{min-height:100%}
body{
  margin:0;
  color:var(--text);
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  background:#0a0a0a;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(6,182,212,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,.03) 1px, transparent 1px);
  background-size:50px 50px;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(420px 420px at 25% 10%, rgba(6,182,212,.10), transparent 70%),
    radial-gradient(420px 420px at 75% 90%, rgba(245,158,11,.10), transparent 70%);
}

.authShell{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:16px;
}

.panel{
  position:relative;
  z-index:1;
  width:min(100%, 448px);
  border-radius:32px;
  border:1px solid var(--line);
  background:
    linear-gradient(135deg, var(--panel), var(--panel-2));
  backdrop-filter:blur(24px);
  box-shadow:var(--shadow);
  padding:32px;
}

.logoWrap{
  text-align:center;
  margin-bottom:32px;
}

.logoBadge{
  width:64px;
  height:64px;
  margin:0 auto 16px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(6,182,212,.30);
  background:linear-gradient(135deg, rgba(6,182,212,.20), rgba(45,212,191,.12));
  padding:10px;
}

.logoBadge img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.brandTitle{
  margin:0;
  font-size:2rem;
  font-weight:600;
  letter-spacing:-.03em;
}

.brandSub{
  margin:4px 0 0;
  color:var(--muted);
  font-size:.95rem;
}

.error{
  margin:0 0 20px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,120,120,.18);
  background:rgba(127,29,29,.22);
  color:#ffd2d2;
  font-size:.92rem;
}

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

.field{
  display:grid;
  gap:8px;
}

label{
  color:rgba(255,255,255,.72);
  font-size:.95rem;
  font-weight:600;
}

input{
  width:100%;
  min-height:50px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--text);
  padding:0 16px;
  font:inherit;
}

input::placeholder{
  color:var(--placeholder);
}

input:focus{
  outline:none;
  border-color:rgba(6,182,212,.44);
  box-shadow:0 0 0 4px rgba(6,182,212,.10);
}

.submitBtn{
  min-height:46px;
  border:0;
  border-radius:16px;
  background:linear-gradient(90deg, var(--cyan), var(--cyan-2));
  color:#fff;
  font:inherit;
  font-size:1rem;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(6,182,212,.22);
}

.submitBtn:hover{
  filter:brightness(1.04);
}
