:root { --bg:#f5f7fb; --card:#fff; --ink:#172033; --muted:#64708a; --line:#e3e8f2; --brand:#2f5bea; --brand-d:#2347c4;
        --ok:#13795b; --ok-bg:#e6f6ef; --warn:#9a6700; --warn-bg:#fff4d6; --bad:#b42318; --bad-bg:#fdecea; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Bengali",sans-serif; }
a { color:var(--brand); text-decoration:none; } a:hover { text-decoration:underline; }
.top { background:var(--card); border-bottom:1px solid var(--line); }
.top .in { max-width:1080px; margin:0 auto; padding:12px 20px; display:flex; align-items:center; gap:18px; }
.brand { font-weight:700; font-size:18px; color:var(--ink); } .brand span { color:var(--brand); }
.spacer { flex:1; }
.wrap { max-width:1080px; margin:0 auto; padding:24px 20px 60px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:22px; margin-bottom:18px; box-shadow:0 1px 2px rgba(20,30,60,.04); }
h1 { font-size:24px; margin:0 0 6px; } h2 { font-size:17px; margin:0 0 14px; }
.muted { color:var(--muted); }
.hero { max-width:480px; margin:60px auto; text-align:center; }
.hero .card { padding:32px; }
label { display:block; font-weight:600; margin:12px 0 6px; font-size:14px; }
input[type=text], input[type=password], input[type=number], select { width:100%; padding:11px 12px; border:1px solid #cdd5e4; border-radius:10px; font:inherit; background:#fff; }
input:focus { outline:2px solid #bcd0ff; border-color:var(--brand); }
.code-input { font-size:20px; letter-spacing:2px; text-align:center; text-transform:uppercase; font-family:ui-monospace,Consolas,monospace; }
.btn { display:inline-block; border:0; border-radius:10px; padding:11px 18px; font:inherit; font-weight:600; cursor:pointer; background:var(--brand); color:#fff; }
.btn:hover { background:var(--brand-d); text-decoration:none; }
.btn.sec { background:#eef2fb; color:var(--brand); } .btn.sec:hover { background:#e1e8f8; }
.btn.warn { background:var(--bad-bg); color:var(--bad); } .btn.sm { padding:6px 11px; font-size:13px; border-radius:8px; }
.btn[disabled] { opacity:.5; cursor:not-allowed; }
.alert { padding:12px 14px; border-radius:10px; margin-bottom:14px; }
.alert.error { background:var(--bad-bg); color:var(--bad); } .alert.ok { background:var(--ok-bg); color:var(--ok); }
.alert.warn { background:var(--warn-bg); color:var(--warn); }
table { width:100%; border-collapse:collapse; } th,td { text-align:left; padding:10px 8px; border-bottom:1px solid var(--line); vertical-align:middle; }
th { font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); }
.pill { display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:700; }
.pill.queued { background:#eef2fb; color:var(--brand); } .pill.processing { background:var(--warn-bg); color:var(--warn); }
.pill.completed { background:var(--ok-bg); color:var(--ok); } .pill.failed { background:var(--bad-bg); color:var(--bad); }
.num { font-weight:700; font-size:16px; }
.stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; margin-bottom:18px; }
.stat { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:14px 16px; } .stat b { font-size:24px; display:block; }
.grid2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; } @media (max-width:720px){ .grid2 { grid-template-columns:1fr; } .hide-sm { display:none; } }
.codes { font-family:ui-monospace,Consolas,monospace; font-size:16px; background:#f1f5ff; border:1px dashed #b7c7f5; border-radius:10px; padding:12px; white-space:pre-wrap; }
.drop { border:2px dashed #b7c7f5; border-radius:14px; padding:26px; text-align:center; background:#f8faff; }
.mono { font-family:ui-monospace,Consolas,monospace; }
.row { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
form.inline { display:inline; }
