:root{
  --bg:#0b1220;
  --card:#0f1b2e;
  --card2:#0c1627;
  --text:#e8eefc;
  --muted:#9fb1d6;
  --accent:#34d399;
  --accent2:#60a5fa;
  --danger:#fb7185;
  --warning:#fbbf24;
  --border:rgba(255,255,255,.10);
  --shadow:0 18px 45px rgba(0,0,0,.35);
  --radius:16px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: radial-gradient(1200px 800px at 10% 10%, rgba(96,165,250,.18), transparent 55%),
              radial-gradient(900px 650px at 90% 15%, rgba(52,211,153,.16), transparent 55%),
              linear-gradient(180deg, #070b14 0%, #0a1222 55%, #070b14 100%);
  color:var(--text);
}
a{color:var(--accent2); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px; margin:28px auto; padding:0 16px}
.header{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 18px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.brand{display:flex; gap:12px; align-items:center}
.logo{
  width:40px; height:40px; border-radius:12px;
  background:linear-gradient(135deg, rgba(96,165,250,.9), rgba(52,211,153,.85));
  box-shadow:0 10px 25px rgba(96,165,250,.18);
}
.brand h1{margin:0; font-size:18px; letter-spacing:.2px}
.brand p{margin:2px 0 0; color:var(--muted); font-size:12px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(96,165,250,.12);
  border:1px solid rgba(96,165,250,.24);
  color:var(--text);
  font-size:12px;
}
.grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:16px; margin-top:16px}
@media (max-width: 920px){ .grid{grid-template-columns:1fr} }
.card{
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card .card-h{
  padding:16px 16px 10px;
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.card .card-h h2{margin:0; font-size:16px}
.card .card-h .sub{color:var(--muted); font-size:12px}
.card .card-b{padding:16px}
.alert{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.alert strong{color:var(--text)}
.alert.ok{border-color:rgba(52,211,153,.25); background:rgba(52,211,153,.08); color:#c9fbe6}
.alert.bad{border-color:rgba(251,113,133,.25); background:rgba(251,113,133,.08); color:#ffd0d8}
.alert.warn{border-color:rgba(251,191,36,.25); background:rgba(251,191,36,.08); color:#ffe7b0}
.steps{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.step{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  font-size:12px;
  color:var(--muted);
}
.step b{color:var(--text)}
.form{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px}
@media (max-width: 720px){ .form{grid-template-columns:1fr} }
.field label{display:block; margin:0 0 7px; font-weight:600; font-size:13px}
.input, select, .file{
  width:100%;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(10,18,34,.55);
  color:var(--text);
  outline:none;
}
.input::placeholder{color:rgba(159,177,214,.7)}
.input[readonly]{opacity:.9}
.help{margin-top:6px; font-size:12px; color:var(--muted)}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(52,211,153,.25);
  background:linear-gradient(135deg, rgba(52,211,153,.95), rgba(96,165,250,.88));
  color:#07121f;
  font-weight:800;
  cursor:pointer;
  width:100%;
  box-shadow:0 14px 30px rgba(52,211,153,.18);
}
.btn:hover{filter:brightness(1.03)}
.btn.secondary{
  border:1px solid rgba(96,165,250,.24);
  background:rgba(96,165,250,.10);
  color:var(--text);
  box-shadow:none;
}
hr.sep{border:none; height:1px; background:var(--border); margin:16px 0}
.badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px;
  font-size:12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--muted);
}
.badge.green{border-color:rgba(52,211,153,.25); background:rgba(52,211,153,.10); color:#c9fbe6}
.badge.red{border-color:rgba(251,113,133,.25); background:rgba(251,113,133,.10); color:#ffd0d8}
.badge.blue{border-color:rgba(96,165,250,.25); background:rgba(96,165,250,.10); color:#d6e7ff}
.table{width:100%; border-collapse:separate; border-spacing:0 10px}
.table th{color:var(--muted); font-size:12px; text-align:left; padding:0 10px}
.table td{
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  padding:12px 10px;
  font-size:13px;
}
.table tr td:first-child{border-radius:14px 0 0 14px}
.table tr td:last-child{border-radius:0 14px 14px 0}
.kv{display:grid; grid-template-columns:1fr 1fr; gap:10px}
@media (max-width:720px){ .kv{grid-template-columns:1fr} }
.kv .item{
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  border-radius:14px;
  padding:12px;
}
.kv .k{font-size:12px; color:var(--muted)}
.kv .v{margin-top:5px; font-weight:800}
.actions{display:flex; gap:10px; flex-wrap:wrap}
.actions .btn{width:auto; min-width:160px}
.footer{
  margin:18px auto 34px;
  color:var(--muted);
  text-align:center;
  font-size:12px;
}

/* Inline file validation message */
.fileinfo{display:none}
