/* ==========================================================
   PGN PBB 2026 - Futuristik Modern Neon Electric Glow
   ========================================================== */
:root{
  --bg0:#050812;
  --bg1:#061b2b;
  --glass:rgba(255,255,255,.06);
  --glass2:rgba(255,255,255,.09);
  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(0,245,255,.25);
  --txt:#e9f6ff;
  --muted:#9cc7d6;
  --neon:#00f5ff;
  --neon2:#b026ff;
  --good:#26ff9a;
  --bad:#ff4d6d;
  --warn:#ffd166;
  --shadow: 0 22px 70px rgba(0,0,0,.55);
  --radius: 22px;
  --radius2: 16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--txt);
  font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(0,245,255,.18), transparent 60%),
    radial-gradient(900px 650px at 110% 20%, rgba(176,38,255,.18), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

.bg-grid::before{
  content:"";
  position:fixed; inset:0;
  background:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity:.22;
  pointer-events:none;
  mask-image: radial-gradient(closest-side at 50% 20%, rgba(0,0,0,1), rgba(0,0,0,.2), rgba(0,0,0,0));
}

.wrap{
  width:min(1060px, calc(100% - 32px));
  margin: 28px auto 60px;
}

.center{text-align:center}
.logo{
  width:112px; height:auto;
  filter: drop-shadow(0 14px 30px rgba(0,245,255,.25));
  margin: 8px auto 10px;
}
h1{
  margin: 8px 0 4px;
  font-size: clamp(28px, 4.6vw, 42px);
  letter-spacing:.3px;
}
h2{
  margin: 0 0 10px;
  font-size: clamp(14px, 2.5vw, 18px);
  color: var(--muted);
  font-weight:600;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.card-pad{ padding: 16px 16px; }
.glow{
  position:relative;
}
.glow::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius: var(--radius);
  background: radial-gradient(700px 280px at 20% 20%, rgba(0,245,255,.30), transparent 55%),
              radial-gradient(700px 280px at 80% 30%, rgba(176,38,255,.28), transparent 55%);
  opacity:.35;
  pointer-events:none;
  filter: blur(10px);
}

.row{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media(min-width:900px){
  .row{ grid-template-columns: 1.35fr 1fr; }
}

label{
  display:block;
  text-align:left;
  margin: 12px 0 8px;
  font-weight: 800;
  color: rgba(233,246,255,.92);
  letter-spacing:.2px;
}
.field{
  width:100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(5,8,18,.45);
  color: var(--txt);
  padding: 14px 14px;
  font-size: 16px;
  outline: none;
  transition: .15s ease;
}
.field:focus{
  border-color: rgba(0,245,255,.45);
  box-shadow: 0 0 0 4px rgba(0,245,255,.10);
}
select.field{ appearance:none; }
small,.small{ color: var(--muted); }

.footer-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content:center;
}
.btn{
  border:1px solid rgba(0,245,255,.25);
  background: linear-gradient(180deg, rgba(0,245,255,.14), rgba(0,245,255,.06));
  color: var(--txt);
  padding: 12px 14px;
  border-radius: 18px;
  cursor:pointer;
  font-weight:900;
  letter-spacing:.2px;
  min-width: 140px;
  transition: transform .08s ease, filter .15s ease, border-color .15s ease;
}
.btn:hover{ filter: brightness(1.12); border-color: rgba(0,245,255,.42); }
.btn:active{ transform: scale(.98); }
.btn:disabled{ opacity:.55; cursor:not-allowed; }

.btn-soft{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}
.hr{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 14px 0;
}

.table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  text-align:left;
}
.table tr td{
  padding: 12px 12px;
  background: rgba(0,0,0,.18);
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.table tr td:first-child{
  border-left:1px solid rgba(255,255,255,.07);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  width: 44%;
  color: rgba(233,246,255,.92);
  font-weight: 800;
}
.table tr td:last-child{
  border-right:1px solid rgba(255,255,255,.07);
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  color: rgba(233,246,255,.95);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.dot{ width:10px; height:10px; border-radius:50%; }
.dot-ok{ background: var(--good); box-shadow: 0 0 18px rgba(38,255,154,.45); }
.dot-bad{ background: var(--bad); box-shadow: 0 0 18px rgba(255,77,109,.45); }
.dot-warn{ background: var(--warn); box-shadow: 0 0 18px rgba(255,209,102,.35); }

.fp-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media(min-width:860px){
  .fp-grid{ grid-template-columns: repeat(3, 1fr); }
}
.fp-btn{
  width:100%;
  border-radius: var(--radius);
  border:1px solid rgba(0,245,255,.18);
  background: rgba(0,0,0,.18);
  padding: 16px 12px;
  cursor:pointer;
  transition: transform .08s ease, border-color .15s ease, filter .15s ease;
  color: var(--txt);
}
.fp-btn:hover{ filter:brightness(1.10); border-color: rgba(0,245,255,.34); }
.fp-btn:active{ transform: scale(.99); }
.fp-btn img{ width:86px; height:auto; filter: drop-shadow(0 12px 22px rgba(0,245,255,.22)); }
.fp-btn .t{ font-weight: 950; margin-top: 8px; font-size: 16px; }
.fp-btn .small{ margin-top: 3px; color: var(--muted); }

.modal{
  position:fixed; inset:0;
  display:none;
  align-items:center; justify-content:center;
  background: rgba(0,0,0,.55);
  padding: 18px;
  z-index: 9999;
}
.modal.show{ display:flex; }
.modal .box{
  width:min(520px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.pw-wrap{ position:relative; }
.pw-toggle{
  position:absolute; right:12px; top:50%;
  transform:translateY(-50%);
  border:none;
  background: rgba(255,255,255,.08);
  color: var(--txt);
  padding: 8px 10px;
  border-radius: 12px;
  cursor:pointer;
}

