:root{
  --bg:#0b1020;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.66);
  --muted2: rgba(255,255,255,0.5);
  --shadow: 0 10px 30px rgba(0,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, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
}

.bg{
  position:fixed; inset:0; pointer-events:none;
  background:
    radial-gradient(800px 500px at 15% 10%, rgba(99,102,241,0.28), transparent 60%),
    radial-gradient(700px 400px at 85% 20%, rgba(16,185,129,0.18), transparent 60%),
    radial-gradient(900px 600px at 50% 95%, rgba(236,72,153,0.10), transparent 60%),
    linear-gradient(to bottom, rgba(255,255,255,0.03), transparent 30%);
}

.topbar{
  position:sticky; top:0; z-index:10;
  display:flex; justify-content:space-between; align-items:center;
  padding:18px 20px;
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--border);
  background: rgba(11,16,32,0.55);
}

.brand{display:flex; gap:12px; align-items:center}
.logo{
  width:44px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(99,102,241,0.95), rgba(16,185,129,0.75));
  box-shadow: var(--shadow);
  font-weight:800;
}
.brand-title{font-weight:800; letter-spacing:0.2px}
.brand-sub{font-size:13px; color: var(--muted)}

.top-actions{display:flex; gap:10px; align-items:center}

.container{max-width:1100px; margin:0 auto; padding:22px 20px 50px}

.grid{display:grid; gap:18px; grid-template-columns: 1.1fr 0.9fr}
@media (max-width: 980px){
  .grid{grid-template-columns:1fr}
  .sticky{position:static}
}

.card{
  border:1px solid var(--border);
  background: var(--card);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:18px;
}

.sticky{position:sticky; top:88px}

h2{margin:0 0 10px; font-size:18px; letter-spacing:0.2px}

.steps{margin:0; padding-left:18px; color: var(--muted)}
.steps li{margin:6px 0}

.divider{height:1px; background: var(--border); margin:14px 0}

.kv{display:grid; gap:12px; grid-template-columns: 1fr 1fr}
.k{font-size:12px; color: var(--muted2); margin-bottom:4px}
.v{font-weight:700}

.address code{display:block; padding:10px 12px; border-radius:12px; border:1px solid var(--border); background: rgba(0,0,0,0.2)}
.addr-row{display:flex; gap:10px; align-items:center; margin-top:8px}

.field{display:flex; flex-direction:column; gap:7px; margin:12px 0}
label{font-size:12px; color: var(--muted2)}

input{
  width:100%;
  border-radius:14px;
  border:1px solid var(--border);
  padding:12px 12px;
  background: rgba(0,0,0,0.22);
  color: var(--text);
  outline:none;
}
input:focus{border-color: rgba(99,102,241,0.55)}

.row{display:flex; gap:10px; align-items:center}

.btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  padding:11px 12px;
  border-radius:14px;
  cursor:pointer;
  font-weight:700;
}
.btn:hover{background: rgba(255,255,255,0.12)}
.btn:disabled{opacity:0.5; cursor:not-allowed}

.btn-primary{
  background: linear-gradient(135deg, rgba(99,102,241,0.95), rgba(16,185,129,0.75));
  border-color: rgba(255,255,255,0.18);
}
.btn-primary:hover{filter: brightness(1.05)}

.btn-ghost{background: transparent}
.btn-sm{padding:8px 10px; border-radius:12px; font-size:12px}

.hint{font-size:12px; color: var(--muted); line-height:1.35}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace}

.activity{display:flex; flex-direction:column; gap:10px}
.activity .rowitem{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.toast{
  position:fixed; left:50%; bottom:18px; transform:translateX(-50%);
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,0.65);
  box-shadow: var(--shadow);
  max-width: min(760px, calc(100% - 28px));
  color: var(--text);
}

.admin-head{display:flex; align-items:center; justify-content:space-between}
.pill{font-size:12px; color: var(--muted); border:1px solid var(--border); padding:6px 10px; border-radius:999px}
.bullets{margin:10px 0 0; padding-left:18px; color: var(--muted)}
