:root{
  --bg:#0b1220;
  --card:#0f1a2f;
  --text:#e6eefc;
  --muted:#a9b7d0;
  --border:rgba(255,255,255,.10);
  --accent:#6aa6ff;
  --good:#2dd4bf;
  --bad:#fb7185;
  --warn:#fbbf24;
  --btn:#1d2b47;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius:16px;
  --max: 720px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(106,166,255,.20), transparent 60%),
    radial-gradient(900px 500px at 110% 20%, rgba(45,212,191,.14), transparent 55%),
    var(--bg);
}

a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}

.wrap{
  min-height:100%;
  padding:24px 16px 40px;
  display:flex;
  justify-content:center;
}

.container{
  width:100%;
  max-width:var(--max);
}

.header{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.brand h1{
  font-size:18px;
  margin:0;
  letter-spacing:.2px;
}
.brand p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 30%), var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}

.card + .card{ margin-top:14px; }

.h2{
  font-size:16px;
  margin:0 0 10px;
}
.small{ color:var(--muted); font-size:13px; margin:0; }

.steps{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
}
.step{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--border);
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
}
.step.active{
  color:var(--text);
  border-color: rgba(106,166,255,.35);
  background: rgba(106,166,255,.10);
}

.list{
  margin:10px 0 0;
  padding:0;
  list-style:none;
}
.li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-top:1px solid var(--border);
  padding:10px 0;
}
.li:first-child{ border-top:0; padding-top:0; }
.badge{
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
}
.badge.good{ border-color:rgba(45,212,191,.35); color:var(--good); background:rgba(45,212,191,.08); }
.badge.bad{ border-color:rgba(251,113,133,.35); color:var(--bad); background:rgba(251,113,133,.08); }
.badge.warn{ border-color:rgba(251,191,36,.35); color:var(--warn); background:rgba(251,191,36,.08); }

.form{
  display:grid;
  gap:12px;
  margin-top:10px;
}
.field label{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin:0 0 6px;
}
.field input, .field select{
  width:100%;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  padding:12px 12px;
  outline:none;
}
.field input:focus, .field select:focus{
  border-color: rgba(106,166,255,.45);
  box-shadow: 0 0 0 4px rgba(106,166,255,.12);
}

.row{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
@media(min-width:640px){
  .row.two{ grid-template-columns:1fr 1fr; }
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  margin-top:6px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid var(--border);
  background:var(--btn);
  color:var(--text);
  padding:11px 14px;
  border-radius:12px;
  cursor:pointer;
  font-size:14px;
}
.btn:hover{ filter:brightness(1.08); }
.btn.primary{
  border-color: rgba(106,166,255,.35);
  background: rgba(106,166,255,.18);
}
.btn.ghost{
  background: transparent;
}
.btn[disabled]{
  opacity:.5;
  cursor:not-allowed;
}

.notice{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:rgba(255,255,255,.03);
  color:var(--muted);
  font-size:13px;
}
.notice strong{ color:var(--text); }

.alert{
  border-radius:14px;
  padding:12px;
  border:1px solid rgba(251,113,133,.35);
  background:rgba(251,113,133,.08);
  color:#ffd3db;
  font-size:13px;
}
.ok{
  border:1px solid rgba(45,212,191,.35);
  background:rgba(45,212,191,.08);
  color:#bff7ef;
}

.footer{
  margin-top:14px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}
