:root{
  --blue1:#0a2cff;
  --blue2:#0aa8ff;
  --glass: rgba(255,255,255,.10);
  --stroke: rgba(255,255,255,.18);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --shadow: 0 20px 70px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  overflow:hidden;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(10,168,255,.55), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(10,44,255,.60), transparent 60%),
    radial-gradient(1200px 900px at 50% 90%, rgba(0,255,255,.18), transparent 65%),
    linear-gradient(160deg, #041037, #051a6e 55%, #041037);
}

#particles{
  position:fixed; inset:0;
  z-index:0;
  filter: drop-shadow(0 0 20px rgba(0,180,255,.35));
}

.shell{
  position:relative;
  z-index:1;
  height:100%;
  display:grid;
  place-items:center;
  padding:32px 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
  text-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.logo{
  width:54px; height:54px;
  display:grid; place-items:center;
  border-radius:16px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  border:1px solid var(--stroke);
  box-shadow: var(--shadow);
  font-weight:800;
  letter-spacing:.5px;
}

h1{font-size:18px; margin:0}
.subtitle{margin:2px 0 0; color:var(--muted); font-size:13px}

.card{
  width:min(460px, 94vw);
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border:1px solid var(--stroke);
  border-radius:24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding:16px;
}

.tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:14px;
}

.tab{
  cursor:pointer;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.10);
  color:var(--text);
  font-weight:650;
  transition: transform .08s ease, background .2s ease;
}
.tab:active{transform: translateY(1px)}
.tab.active{
  background: linear-gradient(135deg, rgba(10,168,255,.35), rgba(10,44,255,.25));
  border-color: rgba(255,255,255,.28);
}

form{display:grid; gap:12px}
label{display:grid; gap:6px}
label span{font-size:12px; color:var(--muted)}

input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
input:focus{
  border-color: rgba(10,168,255,.65);
  box-shadow: 0 0 0 4px rgba(10,168,255,.18);
}

.primary{
  padding:12px 12px;
  border-radius:14px;
  border:none;
  color:white;
  font-weight:750;
  cursor:pointer;
  background: linear-gradient(135deg, rgba(10,168,255,.95), rgba(10,44,255,.95));
  box-shadow: 0 18px 45px rgba(10,100,255,.30);
}
.primary:disabled{opacity:.55; cursor:not-allowed}

.statusRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:4px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.12);
  color:var(--muted);
}

.ghost{
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.10);
  color:var(--text);
  cursor:pointer;
}

.toast{
  margin-top:8px;
  min-height:18px;
  font-size:13px;
  color: rgba(255,255,255,.92);
  opacity:0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show{
  opacity:1;
  transform: translateY(0);
}

.footer{
  margin-top:14px;
  color: rgba(255,255,255,.55);
  font-size:12px;
}
