:root{
  --bg:#0b1220;
  --card:#0f1b33;
  --muted:#9fb0d0;
  --text:#e8efff;
  --border:rgba(255,255,255,.10);
  --accent:#6aa6ff;
  --good:#2dd4bf;
  --bad:#fb7185;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 700px at 30% 10%, rgba(106,166,255,.25), transparent),
              radial-gradient(900px 600px at 80% 40%, rgba(45,212,191,.18), transparent),
              var(--bg);
  color:var(--text);
}

.page{max-width:960px;margin:0 auto;padding:32px 18px}
.header{margin-bottom:18px}
.brand{display:flex;gap:14px;align-items:center}
.logo{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;font-weight:800;
  background:linear-gradient(135deg, rgba(106,166,255,.25), rgba(45,212,191,.18));
  border:1px solid var(--border);
}
.title{font-size:22px;font-weight:800;letter-spacing:.2px}
.subtitle{margin-top:2px;color:var(--muted);font-size:14px}

.card{
  background:rgba(15,27,51,.72);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow: 0 14px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}

.dropzone{
  padding:22px;
  border:1px dashed rgba(255,255,255,.22);
  border-radius:16px;
  text-align:center;
  background:rgba(255,255,255,.03);
  transition:.15s ease;
  cursor:pointer;
}
.dropzone:hover{border-color:rgba(255,255,255,.35)}
.dropzone.dragover{
  border-color:var(--accent);
  box-shadow:0 0 0 4px rgba(106,166,255,.15);
}

.dz-title{font-size:18px;font-weight:750}
.dz-subtitle{margin:6px 0;color:var(--muted)}
.dz-hint{margin-top:10px;color:var(--muted);font-size:12px}

.meta{margin-top:16px;border-top:1px solid var(--border);padding-top:14px}
.row{display:flex;justify-content:space-between;gap:12px;margin:8px 0}
.label{color:var(--muted)}
.value{font-weight:650}
.muted{color:var(--muted)}

.actions{display:flex;gap:10px;margin-top:14px}

.btn{
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 14px;
  border-radius:12px;
  font-weight:750;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
}
.btn:disabled{opacity:.45;cursor:not-allowed}
.btn.primary{background:rgba(106,166,255,.18);border-color:rgba(106,166,255,.35)}
.btn.ghost{background:transparent}
.btn.success{background:rgba(45,212,191,.18);border-color:rgba(45,212,191,.35)}
.btn:hover:not(:disabled){filter:brightness(1.05)}

.progressWrap{margin-top:14px}
.progressBar{
  width:100%;height:10px;border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  overflow:hidden;
}
.progressFill{height:100%;background:rgba(106,166,255,.75);transition:width .15s ease}
.progressText{margin-top:8px;font-size:12px}

.result{
  margin-top:16px;
  padding:14px;
  border-radius:14px;
  border:1px solid rgba(45,212,191,.28);
  background:rgba(45,212,191,.08);
}
.resultTitle{font-weight:900}
.resultDesc{margin:6px 0 10px 0;color:var(--muted)}

.error{
  margin-top:14px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(251,113,133,.35);
  background:rgba(251,113,133,.10);
  color:#ffd6de;
  white-space:pre-wrap;
}

.footer{margin-top:18px;font-size:12px;color:var(--muted)}
