/* অপরাধ বক্স — স্টাইলশিট (কোনো বাইরের ফন্ট/CDN নেই: ভিজিটরের গোপনীয়তার জন্য) */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --ink: #16202e;
  --ink-2: #4a5566;
  --muted: #6b7686;
  --line: #e2e6ec;
  --brand: #0f2a44;
  --brand-2: #173b5f;
  --accent: #c0262d;
  --accent-dark: #9b1c22;
  --ok: #157347;
  --warn: #b45309;
  --info: #1d4ed8;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .08);
  --font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", "Kalpurush", "Nirmala UI", "Vrinda", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.65; font-size: 16px; }
a { color: var(--brand-2); }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .6em; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
code { background: #eef1f5; padding: .1em .4em; border-radius: 6px; font-size: .92em; }
img, video { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.break { word-break: break-all; }
.warn-text { color: var(--warn); }

/* ---------- হেডার ---------- */
.emergency { background: var(--accent); color: #fff; text-align: center; padding: 6px 12px; font-size: .9rem; }
.site-header { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.admin-header { background: #111827; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.brand:hover { color: #fff; }
.brand small { display: block; font-weight: 400; font-size: .75rem; opacity: .75; }
.brand.center { justify-content: center; color: var(--ink); margin-bottom: 18px; }
.logo { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); font-size: 1.3rem; color: #fff; }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a { color: #dbe5f0; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.main-nav a.btn-primary { color: #fff; margin-left: 6px; }

main.wrap { padding-top: 24px; padding-bottom: 40px; min-height: 60vh; }

/* ---------- বাটন ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 10px; padding: 9px 16px; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; line-height: 1.3; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #b8c1cc; color: var(--ink); }
.btn-danger { background: #fff; color: var(--accent); border-color: #f1b5b8; }
.btn-danger:hover { background: var(--accent); color: #fff; }
.btn-link { background: none; border: 0; color: var(--brand-2); padding: 4px 6px; text-decoration: underline; font-weight: 500; }
.btn-lg { padding: 13px 22px; font-size: 1.05rem; }
.btn-sm { padding: 5px 10px; font-size: .85rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- কার্ড ও লেআউট ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card-danger { border-color: #f3c2c4; background: #fff8f8; }
.empty { text-align: center; color: var(--muted); padding: 40px 20px; }
.page-head { margin-bottom: 18px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 12px; flex-wrap: wrap; }
.section-head h2, .section-head h3 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.narrow { max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- হিরো ---------- */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--brand) 0%, #1e3f63 100%); color: #fff; border-radius: 18px; padding: 34px; margin-bottom: 22px; }
.hero h1 { font-size: 1.95rem; }
.hero h1 span { color: #ffb4b7; }
.hero p { color: #d2deea; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 16px; text-decoration: none; color: inherit; display: block; }
.stat b { display: block; font-size: 1.8rem; line-height: 1.2; }
.stat span { font-size: .88rem; opacity: .85; }
.admin-stats { grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.admin-stats .stat { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.admin-stats a.stat:hover { border-color: var(--accent); }

/* ---------- ফর্ম ---------- */
.form label, .filter-bar label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 14px; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #cfd6df; border-radius: 10px; padding: 10px 12px; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(23,59,95,.15); }
textarea { resize: vertical; min-height: 80px; }
.w-sm { width: 80px; }
fieldset { border: 0; border-top: 1px solid var(--line); padding: 18px 0 4px; margin: 0; }
fieldset:first-of-type { border-top: 0; padding-top: 0; }
legend { font-weight: 700; font-size: 1.08rem; color: var(--brand); padding: 0 0 6px; }
.req { color: var(--accent); }
.hint { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 5px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.checks { margin: 6px 0 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.code-input { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; font-size: 1.2rem !important; text-align: center; text-transform: uppercase; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-form { display: inline; }
.inline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.inline-grid h2 { grid-column: 1 / -1; }
.inline-grid label { margin-bottom: 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--brand-2); margin: 6px 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filter-bar label { margin: 0; flex: 1 1 150px; font-size: .85rem; }
.filter-bar .grow { flex: 2 1 240px; }
.filter-bar .loc-group { display: contents; }
.filter-actions { display: flex; gap: 8px; }
.loc-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* ---------- রিপোর্ট কার্ড ---------- */
.report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.report-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.report-card:hover { transform: translateY(-2px); border-color: #c8d0da; color: var(--ink); }
.report-card h3 { margin: 10px 0 6px; font-size: 1.08rem; }
.report-card p { color: var(--ink-2); font-size: .93rem; flex: 1; }
.rc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.rc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 10px; }
.chip { display: inline-block; background: #eef2f7; color: var(--brand-2); border-radius: 999px; padding: 3px 11px; font-size: .82rem; font-weight: 600; }
.badge { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: .78rem; font-weight: 700; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-needs_info { background: #ffedd5; color: #9a3412; }
.badge-approved { background: #dcfce7; color: #166534; }
.badge-action_taken { background: #dbeafe; color: #1e40af; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-removed { background: #e5e7eb; color: #374151; }

/* ---------- পেজিনেশন / ট্যাব / ব্রেডক্রাম্ব ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 13px; border-radius: 8px; border: 1px solid var(--line); background: #fff; text-decoration: none; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.tabs a { padding: 7px 14px; border-radius: 8px; text-decoration: none; background: #fff; border: 1px solid var(--line); }
.tabs a.active { background: var(--brand); color: #fff; }

/* ---------- অ্যালার্ট ---------- */
.alert { border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; border: 1px solid; font-size: .95rem; }
.alert p:last-child, .alert ul { margin-bottom: 0; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.alert.small { font-size: .85rem; margin-top: 18px; }

/* ---------- জমা দেওয়ার পেজ ---------- */
.submit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.side-info { position: sticky; top: 90px; }
.side-info h3 { font-size: 1rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: .93rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.success-box { max-width: 640px; margin: 20px auto; text-align: center; padding: 34px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: var(--ok); font-size: 2rem; display: grid; place-items: center; margin: 0 auto 14px; }
.success-box .hero-actions { justify-content: center; }
.success-box .alert { text-align: left; }
.code-box { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; background: #f8fafc; border: 2px dashed #94a3b8; border-radius: 12px; padding: 16px; margin: 16px 0; }
.code-box code { font-size: 1.6rem; letter-spacing: .12em; background: none; font-weight: 700; color: var(--brand); }

/* ---------- আপলোডার ---------- */
.dropzone { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed #b8c3d1; border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; background: #fafbfc; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: #fff7f7; }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dz-title { font-weight: 700; color: var(--brand); }
.dz-sub { font-weight: 400; font-size: .85rem; color: var(--muted); }
.upload-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.up-item { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; }
.up-thumb { width: 52px; height: 52px; border-radius: 8px; background: #eef1f5; display: grid; place-items: center; overflow: hidden; flex: none; font-size: .78rem; color: var(--muted); }
.up-thumb img { width: 100%; height: 100%; object-fit: cover; }
.up-name { flex: 1; font-size: .9rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.up-progress { display: block; height: 5px; background: #eef1f5; border-radius: 9px; margin-top: 5px; overflow: hidden; }
.up-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.up-item.done .up-progress { display: none; }
.up-item.error { border-color: #fecaca; background: #fef2f2; }
.up-item.error .up-name { color: #991b1b; }
.up-remove { border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--muted); padding: 4px 8px; }
.up-remove:hover { color: var(--accent); }
.links-box { margin-top: 12px; }
.links-box input { margin-bottom: 8px; }

/* ---------- রিপোর্ট দেখা ---------- */
.report-view h1 { margin-top: 12px; }
.meta-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 18px; font-size: .94rem; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; }
.meta-list.inline { grid-template-columns: repeat(4, auto); justify-content: start; }
.meta-list.inline dd { margin-right: 18px; }
.report-body { white-space: normal; font-size: 1.02rem; }
.report-body.boxed { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 16px; }
.report-body.boxed.warn { background: #fffbeb; border-color: #fde68a; }
.evidence-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.ev-item { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #f1f4f8; aspect-ratio: 4 / 3; }
.ev-item img { width: 100%; height: 100%; object-fit: cover; }
.ev-video { aspect-ratio: auto; grid-column: span 2; }
.ev-video video { width: 100%; display: block; }
.ev-link { display: grid; place-items: center; text-decoration: none; font-weight: 600; aspect-ratio: auto; padding: 18px; }
.removal-box summary { color: var(--muted); }
.prose h2 { margin-top: 1.4em; }
.prose li { margin-bottom: 6px; }

/* ---------- ট্র্যাক / থ্রেড ---------- */
.track-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.thread { display: grid; gap: 10px; margin-bottom: 16px; }
.msg { border-radius: 12px; padding: 10px 14px; border: 1px solid var(--line); background: #f8fafc; }
.msg-admin { background: #eff6ff; border-color: #bfdbfe; }
.msg-reporter { background: #f0fdf4; border-color: #bbf7d0; }
.msg-system { background: #fff; border-style: dashed; font-size: .9rem; color: var(--ink-2); }
.msg-head { font-size: .8rem; color: var(--muted); margin-bottom: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- পরিসংখ্যান ---------- */
.stats-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.bars { display: grid; gap: 7px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 44px; gap: 10px; align-items: center; font-size: .92rem; }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.bar-track { background: #eef1f5; border-radius: 6px; height: 14px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--brand-2); border-radius: 6px; min-width: 2px; }
.bar-fill.alt { background: var(--accent); }
.bar-val { text-align: right; font-weight: 600; }
.month-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 200px; align-items: end; }
.mc-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.mc-bar { width: 100%; background: var(--brand-2); border-radius: 5px 5px 0 0; min-height: 2px; }
.mc-val { font-size: .75rem; font-weight: 600; }
.mc-label { font-size: .7rem; color: var(--muted); margin-top: 4px; white-space: nowrap; }

/* ---------- ফুটার ---------- */
.site-footer { background: #0b1c2e; color: #a9b8c9; padding: 26px 0; font-size: .9rem; }
.site-footer a { color: #dbe5f0; }
.site-footer .disclaimer { max-width: 820px; }

/* ---------- এডমিন ---------- */
.admin-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 40px; }
.admin-side { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 90px; align-self: start; }
.admin-side a { padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.admin-side a:hover { background: #e9edf2; }
.admin-side a.active { background: var(--brand); color: #fff; }
.admin-side .count { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 8px; font-size: .78rem; }
.side-warn { margin-top: 14px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 10px; font-size: .85rem; color: #92400e; }
.admin-main h1 { font-size: 1.45rem; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: .82rem; background: #f8fafc; }
.table tr.dim td { opacity: .55; }
.table tr.highlight td { background: #fffbeb; }
.table input, .table select { margin-top: 0; padding: 6px 8px; }
.evidence-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ev-admin-item { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fafbfc; }
.ev-admin-item img { width: 100%; height: 150px; object-fit: cover; display: block; }
.ev-admin-item video { width: 100%; display: block; background: #000; }
.ev-admin-item .ev-link { display: block; padding: 18px 12px; word-break: break-all; }
.ev-meta { padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; font-size: .8rem; color: var(--muted); }
.loc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-bottom: 18px; }
.loc-item { display: flex; gap: 6px; }
.loc-item input { margin-top: 0; padding: 6px 8px; }
.steps li { margin-bottom: 6px; }

/* ---------- লগইন / ইনস্টল ---------- */
.login-page { display: grid; place-items: center; min-height: 100vh; padding: 20px; background: linear-gradient(135deg, var(--brand), #1e3f63); }
.login-card { width: 100%; max-width: 400px; }
.install-card { width: 100%; max-width: 560px; }
.checklist { list-style: none; padding: 0; columns: 2; font-size: .9rem; }
.checklist .ok { color: var(--ok); }
.checklist .bad { color: var(--accent); font-weight: 700; }

/* ---------- রেসপন্সিভ ---------- */
@media (max-width: 960px) {
  .hero, .submit-layout, .track-layout, .stats-layout, .review-layout, .admin-layout { grid-template-columns: 1fr; }
  .side-info, .admin-side { position: static; }
  .admin-side { flex-direction: row; flex-wrap: wrap; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .meta-list.inline { grid-template-columns: max-content 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero { padding: 22px; }
  .hero h1 { font-size: 1.45rem; }
  .grid-2, .loc-group { grid-template-columns: 1fr; }
  .main-nav { width: 100%; }
  .main-nav a { padding: 6px 9px; font-size: .88rem; }
  .card { padding: 16px; }
  .bar-row { grid-template-columns: 100px 1fr 36px; }
  .report-grid { grid-template-columns: 1fr; }
  .checklist { columns: 1; }
  .ev-video { grid-column: auto; }
}

/* ================= সহজ ধাপে ধাপে অভিযোগ ফর্ম ================= */
.wizard { max-width: 720px; margin: 0 auto; }
.wz-head { text-align: center; margin-bottom: 18px; }
.wz-head h1 { margin-bottom: 4px; }
.wz-safe { color: var(--ok); font-size: .92rem; margin-bottom: 16px; }
.wz-progress { list-style: none; display: flex; justify-content: center; gap: 0; padding: 0; margin: 0; counter-reset: s; }
.wz-progress li { flex: 1; max-width: 180px; position: relative; text-align: center; font-size: .85rem; color: var(--muted); }
.wz-progress li span { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 6px; border-radius: 50%; background: #e5e9ef; color: var(--muted); font-weight: 700; position: relative; z-index: 1; transition: background .2s; }
.wz-progress li + li::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 3px; background: #e5e9ef; }
.wz-progress li.done span { background: var(--ok); color: #fff; cursor: pointer; }
.wz-progress li.done + li::before, .wz-progress li.active::before { background: var(--ok); }
.wz-progress li.active span { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(192,38,45,.15); }
.wz-progress li.active { color: var(--ink); font-weight: 600; }
.wz-progress { display: none; }
.js-wizard .wz-progress { display: flex; }

.wz-step { padding: 24px; }
.js-wizard .wz-step { display: none; }
.js-wizard .wz-step.current { display: block; animation: wzIn .25s ease; }
@keyframes wzIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wz-q { font-size: 1.15rem; margin: 6px 0 12px; }
.wz-q:not(:first-child) { margin-top: 24px; }
.wz-q small { font-size: .82rem; font-weight: 400; color: var(--muted); }
.wizard label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.sr-label { font-size: 0 !important; }
.sr-label textarea { font-size: 1rem; }
.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.wz-nav .btn-lg { min-width: 160px; }
.wz-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; margin-top: 14px; font-size: .92rem; }

/* ক্যাটাগরি — এক ট্যাপে বাছাই */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cat-opt { margin: 0 !important; cursor: pointer; }
.cat-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cat-opt span { display: flex; align-items: center; gap: 8px; height: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-weight: 500; font-size: .9rem; line-height: 1.3; transition: border-color .15s, background .15s; }
.cat-opt i { font-style: normal; font-size: 1.25rem; flex: none; }
.cat-opt:hover span { border-color: #b8c3d1; }
.cat-opt input:checked + span { border-color: var(--accent); background: #fff5f5; color: var(--accent-dark); font-weight: 700; box-shadow: 0 0 0 3px rgba(192,38,45,.1); }
.cat-opt input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }

/* ঐচ্ছিক অংশ */
details.more { margin: 8px 0 4px; }
details.more > summary { list-style: none; display: inline-block; color: var(--brand-2); font-weight: 600; font-size: .92rem; padding: 6px 0; }
details.more > summary::-webkit-details-marker { display: none; }
details.more[open] > summary { margin-bottom: 10px; }

/* নাম */
.name-row { display: flex; gap: 8px; }
.name-row input { margin-top: 0; flex: 1; font-size: 1.05rem; }
.name-row .btn { flex: none; }
.contact-box { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 2px; margin: 16px 0; }
.contact-box .hint p { margin-bottom: 6px; }
.agree { margin-top: 18px !important; background: #f8fafc; border-radius: 10px; padding: 12px; }

/* আপলোডার কমপ্যাক্ট */
.wizard .dropzone { padding: 18px; }
.wizard .uploader > .hint { margin: 8px 0 0; }

@media (max-width: 600px) {
  .wz-step { padding: 18px 16px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-opt span { font-size: .85rem; padding: 9px 10px; }
  .wz-nav .btn-lg { min-width: 0; flex: 1; }
  .wz-progress li { font-size: .75rem; }
  .wizard .grid-2 { grid-template-columns: 1fr; }
}
.wizard { scroll-margin-top: 84px; }
.links-box > summary { list-style: none; color: var(--brand-2); font-size: .92rem; }
.links-box > summary::-webkit-details-marker { display: none; }
@media (max-width: 600px) {
  .site-header { position: static; }
  .header-inner { min-height: 0; gap: 8px; }
  .main-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; flex: none; }
  .wizard { scroll-margin-top: 8px; }
  .wz-head h1 { font-size: 1.35rem; }
}
