:root{
  --bg:#0f1115;
  --card:#171a21;
  --text:#e7eaf0;
  --muted:#9aa3b2;
  --border:#2a2f3a;
  --primary:#2ecc71;
  --primary-dark:#26b862;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}

.topbar{
  position:sticky; top:0;
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 18px;
  background:rgba(15,17,21,.9);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(8px);
}

.logo{font-weight:800; font-size:20px; letter-spacing:.2px}
.logo span{color:var(--primary)}
.nav{display:flex; gap:10px; align-items:center}

.container{max-width:980px; margin:0 auto; padding:22px 16px}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
}

.muted{color:var(--muted)}
.row{margin-top:14px}
.actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

.btn{
  border:1px solid var(--border);
  background:transparent;
  color:var(--text);
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
}
.btn:disabled{opacity:.5; cursor:not-allowed}

.btn.primary{
  border-color:transparent;
  background:var(--primary);
  color:#071009;
  font-weight:700;
}
.btn.primary:hover{background:var(--primary-dark)}

.field span{display:block; font-size:12px; color:var(--muted); margin-bottom:6px}
.field input, .field textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#0e1015;
  color:var(--text);
}

.file-drop{
  display:block;
  border:2px dashed #3a4252;
  border-radius:16px;
  padding:22px;
  cursor:pointer;
  transition:.15s ease;
}
.file-drop:hover{border-color:var(--primary)}
.file-drop-inner{text-align:center}
.file-drop-title{font-size:16px; font-weight:700}
.file-drop-sub{margin-top:6px; color:var(--muted)}

.preview-wrap{
  margin-top:14px;
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#12151c;
}
.preview-wrap img{
  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--border);
}
.file-name{font-weight:700}
.status{margin-left:auto}

.hidden{display:none}
