:root{
  --bg:#0b1220;
  --panel:#111a2e;
  --muted:#9fb1d6;
  --text:#eaf0ff;
  --accent:#4da3ff;
  --ok:#2dd4bf;
  --warn:#fbbf24;
  --err:#fb7185;
  --border:rgba(255,255,255,.12);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% -20%, rgba(77,163,255,.22), transparent 50%),
              radial-gradient(900px 600px at 90% 10%, rgba(45,212,191,.18), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:var(--accent); text-decoration:none}
.container{max-width:980px; margin:0 auto; padding:28px 18px}
.topbar{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px}
.title{font-size:18px; font-weight:700}
.panel{
  background: linear-gradient(180deg, rgba(17,26,46,.92), rgba(17,26,46,.78));
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.grid{display:grid; grid-template-columns: 1.3fr .7fr; gap:14px}
@media (max-width:860px){ .grid{grid-template-columns:1fr} }
.dropzone{
  border:1px dashed rgba(255,255,255,.28);
  border-radius:14px;
  padding:20px;
  background: rgba(255,255,255,.03);
  transition: transform .08s ease, border-color .08s ease, background .08s ease;
}
.dropzone.is-over{
  border-color: rgba(77,163,255,.9);
  background: rgba(77,163,255,.08);
  transform: translateY(-1px);
}
.hint{color:var(--muted); font-size:13px; line-height:1.35}
.row{display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:12px}
.btn{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
}
.btn.primary{background: rgba(77,163,255,.14); border-color: rgba(77,163,255,.45)}
.btn:disabled{opacity:.55; cursor:not-allowed}
.status{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  color:var(--muted);
  background: rgba(255,255,255,.03);
}
.status[data-type="success"]{border-color: rgba(45,212,191,.45); color: rgba(45,212,191,.95)}
.status[data-type="warn"]{border-color: rgba(251,191,36,.45); color: rgba(251,191,36,.95)}
.status[data-type="error"]{border-color: rgba(251,113,133,.45); color: rgba(251,113,133,.95)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size:12px}
table{width:100%; border-collapse:collapse; margin-top:14px; overflow:hidden; border-radius:12px; border:1px solid var(--border)}
th,td{padding:10px 10px; border-bottom:1px solid rgba(255,255,255,.08); text-align:left; font-size:13px}
th{color:rgba(234,240,255,.9); background: rgba(255,255,255,.03)}
tr[data-ok="0"] td{color: rgba(251,113,133,.95)}
.login{
  max-width:420px;
  margin: 8vh auto 0 auto;
}
input[type="password"], input[type="text"]{
  width:100%;
  padding:11px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color:var(--text);
  outline:none;
}
.error{margin-top:10px; color: rgba(251,113,133,.95)}

