:root {
  --nd-primary: #0e7069;
  --nd-accent: #b68a35;
  --nd-ink: #16211f;
  --nd-muted: #63716d;
  --nd-paper: #fbf8f1;
  --nd-surface: #ffffff;
  --nd-line: #e7dfd1;
  --nd-soft: #edf6f3;
  --nd-shadow: 0 18px 46px rgba(22, 33, 31, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.nisfuddeen-theme {
  margin: 0;
  background: var(--nd-paper);
  color: var(--nd-ink);
  font-family: "Hind Siliguri", "Nirmala UI", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

.hind-siliguri-light {
  font-family: "Hind Siliguri", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.hind-siliguri-regular {
  font-family: "Hind Siliguri", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.hind-siliguri-medium {
  font-family: "Hind Siliguri", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.hind-siliguri-semibold {
  font-family: "Hind Siliguri", sans-serif;
  font-weight: 600;
  font-style: normal;
}
.hind-siliguri-bold {
  font-family: "Hind Siliguri", sans-serif;
  font-weight: 700;
  font-style: normal;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.nd-container { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

.nd-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, 0.92);
  border-bottom: 1px solid var(--nd-line);
  backdrop-filter: blur(16px);
}
.nd-header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
}
.nd-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.14rem;
  font-weight: 900;
}
.nd-brand-mark, .nd-avatar {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nd-primary);
  color: #fff;
  font-weight: 900;
}
.nd-brand img { max-height: 42px; width: auto; display: block; }

.nd-main-nav ul, .nd-footer ul {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nd-main-nav a { color: #31413d; font-weight: 700; }
.nd-main-nav a:hover { color: var(--nd-primary); }
.nd-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nd-user-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--nd-soft);
  color: var(--nd-primary);
  border: 1px solid #cfe6df;
  flex: 0 0 auto;
}
.nd-user-icon:hover { background: var(--nd-primary); color: #fff; border-color: var(--nd-primary); }
.nd-user-icon svg { width: 20px; height: 20px; }
.nd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 850;
}
.nd-button-primary { background: var(--nd-primary); color: #fff; box-shadow: 0 12px 26px rgba(14, 112, 105, 0.22); }
.nd-button-soft { background: var(--nd-soft); color: var(--nd-primary); border-color: #cfe6df; }
.nd-button-outline { color: #fff; border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.08); }
.nd-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--nd-line); border-radius: 8px; background: #fff; }
.nd-menu-toggle span:not(.screen-reader-text) { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--nd-ink); }

.nd-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 70px;
  background:
    radial-gradient(circle at 15% 18%, rgba(182, 138, 53, .18), transparent 28%),
    linear-gradient(130deg, #102c2a 0%, #16453f 48%, #f5efe3 48%, #fbf8f1 100%);
}
.nd-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(30deg, rgba(255,255,255,.08) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.08) 87.5%, rgba(255,255,255,.08)),
    linear-gradient(150deg, rgba(255,255,255,.08) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.08) 87.5%, rgba(255,255,255,.08));
  background-size: 82px 142px;
}
.nd-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 46px;
  align-items: center;
}
.nd-hero-copy { color: #fff; max-width: 690px; }
.nd-eyebrow {
  margin: 0 0 10px;
  color: var(--nd-accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .82rem;
}
.nd-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.nd-hero-copy p:not(.nd-eyebrow) {
  max-width: 620px;
  color: rgba(255,255,255,.84);
  font-size: 1.1rem;
}
.nd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nd-hero-panel, .nd-search-shell {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--nd-shadow);
}
.nd-hero-panel h2 { margin-top: 0; }
.nd-search-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nd-search-form label { display: grid; gap: 6px; color: #33433f; font-weight: 800; }
.nd-search-form input, .nd-search-form select, .nd-search-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
}
.nd-search-form button { grid-column: 1 / -1; }
.nd-search-form .nd-field-full { grid-column: 1 / -1; }

/* Home page quick search: tabbed widget */
.nd-hero-panel-quicksearch { padding: 8px; }
.nd-quicksearch { display: flex; flex-direction: column; }
.nd-qs-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  margin-bottom: 16px;
  background: var(--nd-soft);
  border-radius: 8px;
}
.nd-qs-tab {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.92rem;
  color: #4c5c58;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.nd-qs-tab:hover { color: var(--nd-primary); }
.nd-qs-tab.is-active {
  background: #fff;
  color: var(--nd-primary);
  box-shadow: 0 6px 16px rgba(22, 33, 31, 0.10);
}
.nd-qs-panel { animation: nd-qs-fade .18s ease; }
.nd-qs-panel[hidden] { display: none; }
@keyframes nd-qs-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.nd-qs-filter-form,
.nd-qs-number-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.nd-qs-address { display: grid; gap: 8px; }
.nd-qs-address-label { font-weight: 800; color: #33433f; }
.nd-qs-address-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
}

.nd-qs-number-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.nd-section { padding-block: 76px; }
.nd-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.nd-section-head h1, .nd-section-head h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
}
.nd-feature-grid, .nd-biodata-grid, .nd-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.nd-card, .nd-biodata-card, .nd-post-card, .nd-locked-box, .nd-wizard-box {
  position: relative;
  padding: 22px;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 33, 31, .07);
}
.nd-card p, .nd-post-card p, .nd-footer p, .nd-single-head p { color: var(--nd-muted); }
.nd-check { color: var(--nd-primary); font-size: 1.5rem; font-weight: 900; }
.nd-card > svg { color: var(--nd-primary); margin-bottom: 10px; }
.nd-stats { background: #102c2a; color: #fff; }
.nd-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.nd-stats-grid div { min-height: 110px; padding: 22px; border-left: 1px solid rgba(255,255,255,.12); }
.nd-stats-grid strong { display:block; font-size:2rem; color: var(--nd-accent); }
.nd-stats-grid span { color: rgba(255,255,255,.78); }

.nd-avatar { margin-bottom: 14px; }
.nd-avatar-large { width: 76px; height: 76px; font-size: 2rem; }
.nd-biodata-card h3 { margin: 0 0 10px; }
.nd-biodata-card ul { display: grid; gap: 6px; padding: 0; margin: 0 0 16px; list-style: none; color: var(--nd-muted); }
.nd-premium-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff6dc;
  color: #8a641a;
  font-weight: 900;
  font-size: .78rem;
}

/* ধাপ ৪ — শর্টলিস্ট (পছন্দের তালিকা) বাটন */
.nd-shortlist-btn {
	cursor: pointer; border: 1px solid var(--nd-line); background: #fff;
	color: #b7bdb9; font-size: 1rem; line-height: 1; border-radius: 8px;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.nd-shortlist-btn.is-active { color: #b3811a; border-color: #f0dca6; background: #fff6dc; }
.nd-shortlist-btn-card {
	position: absolute; top: 16px; left: 16px; width: 34px; height: 34px;
	display: flex; align-items: center; justify-content: center;
}
.nd-premium-badge + .nd-shortlist-btn-card,
article:has(.nd-premium-badge) .nd-shortlist-btn-card { left: auto; right: 16px; top: 56px; }
.nd-shortlist-btn-single {
	margin-left: 12px; padding: 6px 14px; font-weight: 700; font-size: .88rem;
}
.nd-shortlist-table .nd-dashboard-row-actions { display: flex; align-items: center; gap: 10px; }
.nd-shortlist-table .nd-shortlist-btn {
	padding: 6px 14px; font-weight: 700; font-size: .85rem; color: #b3261e; border-color: #f7d3d0; background: #fdecea;
}
.nd-result-head { display:flex; justify-content:space-between; align-items:center; margin:28px 0 18px; }

/* Search results page header */
.nd-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.nd-results-header h1 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.nd-filter-button { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nd-results-count { margin: 0 0 24px; color: var(--nd-muted); font-weight: 700; }

.nd-empty-state {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 64px 24px;
  border: 1px dashed var(--nd-line);
  border-radius: 12px;
  background: #fff;
  color: var(--nd-muted);
  text-align: center;
}
.nd-empty-state svg { color: var(--nd-accent); }
.nd-empty-state p { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--nd-ink); }

.nd-single-head {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--nd-line);
  margin-bottom: 20px;
}
.nd-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nd-details-grid div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  background: #fff;
}
.nd-details-grid span { color: var(--nd-muted); }
.nd-locked-box { margin-top: 22px; background: #fffaf0; border-color: #ecd7a6; }
.nd-dashboard { display:grid; grid-template-columns:280px minmax(0,1fr); gap:22px; }
.nd-dashboard-menu, .nd-dashboard-content {
  background:#fff;
  border:1px solid var(--nd-line);
  border-radius:8px;
  padding:20px;
}
.nd-dashboard-menu a { display:block; padding:10px 0; border-bottom:1px solid var(--nd-line); color:#31413d; font-weight:750; }
.nd-summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:20px 0; }
.nd-summary-grid div { padding:18px; border-radius:8px; background:var(--nd-soft); }
.nd-summary-grid strong { display:block; font-size:1.6rem; color:var(--nd-primary); }

.nd-post-placeholder {
  display: grid;
  place-items: center;
  min-height: 170px;
  margin: -22px -22px 18px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(135deg, #dfeee9, #fff6dc);
  overflow: hidden;
}
.nd-post-placeholder:empty::before { content: "NisfudDeen"; color: var(--nd-primary); font-weight: 900; }

.nd-footer { padding: 46px 0 24px; background: #0f2725; color: #fff; }
.nd-footer-grid { display:grid; grid-template-columns:1.2fr .8fr 1fr; gap:28px; }
.nd-footer h2 { font-size:1.1rem; }
.nd-footer p, .nd-footer a { color: rgba(255,255,255,.76); }
.nd-footer ul { display:grid; gap:8px; align-items:start; }
.nd-copyright { margin-top: 28px; padding-top:18px; border-top:1px solid rgba(255,255,255,.14); color:rgba(255,255,255,.66); }
.nd-ad { margin-block: 18px; padding: 14px; border: 1px dashed var(--nd-line); border-radius: 8px; background: #fff; text-align: center; }

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

@media (max-width: 980px) {
  .nd-header-inner { flex-wrap: nowrap; min-height: 64px; gap: 8px; }
  .nd-brand { order: 2; flex: 1 1 auto; justify-content: center; overflow: hidden; }
  .nd-brand span:not(.nd-brand-mark) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .nd-menu-toggle { display: inline-block; order: 1; flex: 0 0 auto; margin-left: 0; }
  .nd-main-nav {
    order: 4;
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    display: none;
    padding: 16px;
    border: 1px solid var(--nd-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--nd-shadow);
  }
  .nd-main-nav.is-open { display: block; }
  .nd-main-nav ul { display: grid; gap: 8px; }
  .nd-header-actions { order: 3; flex: 0 0 auto; margin-left: 0; gap: 8px; }
  .nd-hero { background: linear-gradient(150deg, #102c2a 0%, #16453f 65%, #fbf8f1 65%); }
  .nd-hero-grid, .nd-footer-grid { grid-template-columns: 1fr; }
  /* nd-dashboard এখানে ইচ্ছাকৃতভাবে বাদ — এটি সবসময় দুই-কলাম (Sidebar + Content)
     পাশাপাশি থাকবে, মোবাইলেও কখনো একটার নিচে আরেকটা হয়ে স্ট্যাক হবে না। */
  .nd-feature-grid, .nd-biodata-grid, .nd-post-grid, .nd-details-grid, .nd-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .nd-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nd-container { width: min(100% - 28px, 1180px); }
  .nd-hero { padding: 58px 0 44px; }
  .nd-hero h1 { font-size: 2.45rem; }
  .nd-actions, .nd-section-head, .nd-single-head { flex-direction: column; align-items: stretch; }
  .nd-results-header { flex-direction: column; align-items: stretch; gap: 12px; }
  .nd-filter-button { justify-content: center; }
  .nd-button { width: 100%; }
  .nd-search-form, .nd-feature-grid, .nd-biodata-grid, .nd-post-grid, .nd-details-grid, .nd-summary-grid, .nd-stats-grid { grid-template-columns: 1fr; }
  .nd-section { padding-block: 52px; }
  .nd-qs-tab { font-size: 0.86rem; padding: 0 6px; }
  .nd-qs-filter-form, .nd-qs-number-form { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .nd-header-inner { min-height: 60px; gap: 6px; }
  .nd-brand { font-size: 1rem; gap: 6px; }
  .nd-brand-mark, .nd-avatar { width: 36px; height: 36px; }
  .nd-brand img { max-height: 34px; }
  .nd-menu-toggle { width: 36px; height: 36px; }
  .nd-user-icon { width: 36px; height: 36px; }
  .nd-user-icon svg { width: 18px; height: 18px; }
}

/* Dashboard tabs and frontend forms (biodata submission, profile) */
.nd-dashboard-menu a.is-active { color: var(--nd-primary); border-bottom-color: var(--nd-primary); }
.nd-form-error { color: #b3261e; background: #fdecea; padding: 10px 14px; border-radius: 8px; margin: 0 0 14px; }
.nd-form-success { color: #1e6b4d; background: #e7f5ee; padding: 10px 14px; border-radius: 8px; margin: 0 0 14px; }
.nd-frontend-form { display: grid; gap: 16px; max-width: 720px; }
.nd-frontend-form label { display: grid; gap: 6px; font-weight: 600; }
.nd-frontend-form input, .nd-frontend-form select, .nd-frontend-form textarea {
	padding: 10px 12px; border-radius: 8px; border: 1px solid var(--nd-line); font: inherit;
}
.nd-frontend-form .nd-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.nd-frontend-form .nd-field-full { max-width: 100%; }

/* Biodata creation form — Step 1: basic info (profile-for + type toggle) */
.nd-step1 {
	display: grid;
	gap: 16px;
	padding: 20px;
	margin-bottom: 22px;
	background: var(--nd-soft);
	border: 1px solid var(--nd-line);
	border-radius: 14px;
}
.nd-step1-head h3 { margin: 0; font-size: 1.15rem; color: var(--nd-ink); }
.nd-gender-field { display: grid; gap: 8px; }
.nd-gender-field-label { font-weight: 700; color: #33433f; }
.nd-gender-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nd-gender-option {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 14px;
	border: 2px solid var(--nd-line);
	border-radius: 10px;
	background: #fff;
	font-weight: 800;
	font-size: 0.98rem;
	color: #4c5c58;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.nd-gender-option input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.nd-gender-option:hover { border-color: var(--nd-primary); }
.nd-gender-option.is-active { border-color: var(--nd-primary); background: var(--nd-primary); color: #fff; }
.nd-gender-option input:focus-visible ~ span { outline: 2px solid var(--nd-primary); outline-offset: 3px; border-radius: 4px; }
.nd-step2 { display: grid; gap: 16px; animation: nd-qs-fade .18s ease; }
.nd-step2[hidden] { display: none; }
@media (max-width: 480px) {
	.nd-step1 { padding: 16px; }
	.nd-gender-option { min-height: 48px; font-size: 0.92rem; }
}
.nd-checkbox-field { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.nd-form-note { color: #6b7a75; font-size: 0.92rem; }
.nd-status-note { color: #a86a00; font-weight: 600; }
.nd-autosave-status { display: none; margin: 8px 0 0; font-size: 0.85rem; color: #6b7a75; font-weight: 500; }
.nd-autosave-status.is-active { display: block; }

.nd-dashboard-table { display: grid; gap: 10px; }
.nd-dashboard-row {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 16px; border: 1px solid var(--nd-line); border-radius: 10px; background: #fff;
}
.nd-dashboard-row-actions a { margin-left: 14px; font-weight: 700; color: var(--nd-primary); }
/* বাগ ফিক্স: খসড়া (Draft) বায়োডাটার "সম্পাদনা করুন ও জমা দিন" বাটনটি
   .nd-button-primary ক্লাস ব্যবহার করে (সাদা লেখা, সবুজ ব্যাকগ্রাউন্ড),
   কিন্তু উপরের ".nd-dashboard-row-actions a" রুলটি বেশি specificity-র
   কারণে তার লেখার রঙ পাল্টে ব্যাকগ্রাউন্ডের মতোই সবুজ করে দিচ্ছিল —
   ফলে বাটনের লেখা (টেক্সট) অদৃশ্য/খালি দেখাচ্ছিল। এই রুলটি সেই
   কনফ্লিক্ট ঠিক করে লেখা আবার সাদা করে দেয়। */
.nd-dashboard-row-actions .nd-button-primary { color: #fff; }
.nd-status-badge {
	display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px;
	font-size: 0.78rem; font-weight: 700; background: var(--nd-soft); color: var(--nd-primary);
}
.nd-status-draft { background: #eef1f2; color: #4a5a56; }
.nd-status-pending_review { background: #fff3d6; color: #a86a00; }
.nd-status-approved { background: #e7f5ee; color: #1e6b4d; }
.nd-status-rejected { background: #fdecea; color: #b3261e; }
.nd-status-correction { background: #eef0ff; color: #4147c4; }

.nd-row-tag { margin-left: 6px; color: #6b7a75; font-size: 0.9rem; }
.nd-biodata-tab-actions { margin: 0 0 16px; }

.nd-dashboard-row-visitors { flex: 0 0 auto; }
.nd-visitor-count {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 0.85rem; font-weight: 700; color: var(--nd-primary);
}
.nd-visitor-count::before { content: "👁"; font-size: 0.9em; }
.nd-visitor-count-locked {
	color: #8a938f; font-weight: 600; cursor: help;
}
.nd-visitor-count-locked::before { content: "🔒"; font-size: 0.85em; }

.nd-coming-soon {
	padding: 22px; border-radius: 10px; background: var(--nd-soft); color: #31413d;
}

.nd-dashboard-menu a { position: relative; }
.nd-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px;
	border-radius: 999px; background: #b3261e; color: #fff;
	font-size: 0.72rem; font-weight: 800; vertical-align: middle;
}

.nd-notification-list { display: grid; gap: 10px; }
.nd-notification-item {
	padding: 14px 16px; border: 1px solid var(--nd-line); border-radius: 10px;
	background: #fff; border-left: 4px solid var(--nd-primary);
}
.nd-notification-item p { margin: 0 0 6px; font-weight: 600; }
.nd-notification-date { color: #6b7a75; font-size: 0.82rem; }
.nd-notification-correction { border-left-color: #a86a00; }
.nd-notification-payment, .nd-notification-pay50, .nd-notification-pay100 { border-left-color: #b3261e; }
.nd-notification-approved { border-left-color: #1e6b4d; }
.nd-notification-item.is-unread { background: var(--nd-soft); }

@media (max-width: 800px) {
	.nd-frontend-form .nd-meta-grid { grid-template-columns: 1fr; }
	.nd-dashboard-row { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Advanced Filter Drawer (biodata archive) — UI only, no data/logic wired.
   ========================================================================== */

.nd-filter-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(15, 39, 37, 0.42);
	backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .22s ease;
}
.nd-filter-overlay.is-open { opacity: 1; pointer-events: auto; }

.nd-filter-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 91;
	width: min(440px, 100%);
	background: var(--nd-surface);
	box-shadow: -20px 0 50px rgba(22, 33, 31, 0.22);
	transform: translateX(100%);
	transition: transform .28s ease;
	display: flex;
	flex-direction: column;
}
.nd-filter-drawer.is-open { transform: translateX(0); }

.nd-filter-form { display: flex; flex-direction: column; min-height: 100%; }

.nd-filter-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--nd-line);
	background: var(--nd-paper);
}
.nd-filter-drawer-head h2 { margin: 0; font-size: 1.2rem; }
.nd-filter-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	border: 1px solid var(--nd-line);
	background: #fff;
	color: var(--nd-ink);
	cursor: pointer;
	flex: 0 0 auto;
}
.nd-filter-icon-btn:hover { background: var(--nd-soft); color: var(--nd-primary); border-color: #cfe6df; }

.nd-filter-drawer-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 20px 22px 8px;
	display: grid;
	gap: 22px;
}

.nd-filter-section {
	padding: 16px 16px 18px;
	border: 1px solid var(--nd-line);
	border-radius: 10px;
	background: var(--nd-paper);
}
.nd-filter-section-title {
	margin: 0 0 14px;
	font-size: .82rem;
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--nd-primary);
}

.nd-filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nd-filter-grid-1 { grid-template-columns: 1fr; }
.nd-filter-grid .nd-field-full { grid-column: 1 / -1; }

.nd-field { display: grid; gap: 6px; }
.nd-field > span:first-child { font-weight: 800; font-size: .88rem; color: #33433f; }
.nd-field select {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--nd-line);
	border-radius: 8px;
	background: #fff;
	padding: 0 12px;
	color: var(--nd-ink);
}
.nd-field select:invalid,
.nd-field select option[value=""] { color: var(--nd-muted); }

.nd-range-row { display: flex; align-items: center; gap: 10px; }
.nd-range-row input {
	flex: 1 1 0;
	min-width: 0;
	min-height: 44px;
	border: 1px solid var(--nd-line);
	border-radius: 8px;
	background: #fff;
	padding: 0 12px;
}
.nd-range-sep {
	flex: 0 0 auto;
	width: 14px;
	height: 1px;
	background: var(--nd-line);
}

.nd-suffix-row { display: flex; gap: 10px; }
.nd-suffix-input,
.nd-suffix-input-wide {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	border: 1px solid var(--nd-line);
	border-radius: 8px;
	background: #fff;
	padding: 0 12px;
}
.nd-suffix-input input,
.nd-suffix-input-wide input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	border: none;
	background: transparent;
	padding: 0;
}
.nd-suffix-input input:focus,
.nd-suffix-input-wide input:focus { outline: none; }
.nd-suffix-input span:last-child,
.nd-suffix-input-wide span:last-child {
	flex: 0 0 auto;
	font-weight: 800;
	font-size: .82rem;
	color: var(--nd-muted);
}

/* Single address selector (collapses country → division → district →
   upazila → thana → union into one control) */
.nd-address-selector { position: relative; }
.nd-address-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	border: 1px solid var(--nd-line);
	border-radius: 8px;
	background: #fff;
	padding: 0 12px;
	cursor: pointer;
	color: var(--nd-ink);
	text-align: left;
}
.nd-address-trigger:hover { border-color: #cfe6df; }
.nd-address-trigger svg:first-child { flex: 0 0 auto; color: var(--nd-primary); }
.nd-address-trigger-text { flex: 1 1 auto; color: var(--nd-muted); font-weight: 700; }
.nd-address-chevron { flex: 0 0 auto; color: var(--nd-muted); transition: transform .15s ease; }
.nd-address-selector.is-open .nd-address-chevron { transform: rotate(180deg); }

.nd-address-panel {
	position: absolute;
	z-index: 5;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	padding: 14px;
	border: 1px solid var(--nd-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: var(--nd-shadow);
}
.nd-address-levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.nd-address-level {
	min-height: 42px;
	border: 1px solid var(--nd-line);
	border-radius: 8px;
	background: #fff;
	padding: 0 10px;
	color: var(--nd-ink);
}
.nd-address-level:disabled { background: var(--nd-soft); color: var(--nd-muted); cursor: not-allowed; }
.nd-address-done { width: 100%; min-height: 40px; }

/* Multi select dropdown (study medium, religious qualification, profession) */
.nd-multiselect { position: relative; }
.nd-multiselect-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	border: 1px solid var(--nd-line);
	border-radius: 8px;
	background: #fff;
	padding: 0 12px;
	cursor: pointer;
	text-align: left;
}
.nd-multiselect-trigger:hover { border-color: #cfe6df; }
.nd-multiselect-trigger-text { flex: 1 1 auto; color: var(--nd-muted); font-weight: 700; }
.nd-multiselect-count {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--nd-soft);
	color: var(--nd-primary);
	font-size: .76rem;
	font-weight: 900;
}
.nd-multiselect-chevron { flex: 0 0 auto; color: var(--nd-muted); transition: transform .15s ease; }
.nd-multiselect.is-open .nd-multiselect-chevron { transform: rotate(180deg); }

.nd-multiselect-panel {
	position: absolute;
	z-index: 5;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	max-height: 220px;
	overflow-y: auto;
	border: 1px solid var(--nd-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: var(--nd-shadow);
}
.nd-multiselect-options { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; min-height: 44px; }
.nd-multiselect-options label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
}
.nd-multiselect-options label:hover { background: var(--nd-soft); }
.nd-multiselect-options:empty::before {
	content: "অপশনসমূহ শীঘ্রই যুক্ত হবে";
	display: block;
	padding: 14px 10px;
	color: var(--nd-muted);
	font-size: .86rem;
	font-weight: 600;
}

.nd-filter-drawer-foot {
	display: flex;
	gap: 10px;
	padding: 16px 22px;
	border-top: 1px solid var(--nd-line);
	background: var(--nd-surface);
}
.nd-filter-drawer-foot .nd-button { flex: 1 1 0; }

@media (max-width: 640px) {
	.nd-filter-drawer { width: 100%; }
	.nd-filter-grid, .nd-address-levels { grid-template-columns: 1fr; }
	.nd-suffix-row { flex-direction: column; }
}

/* ==========================================================================
   Biodata Builder — Independent Step-by-Step System (new, dynamic-ready)
   এই ব্লকটি সম্পূর্ণ স্বতন্ত্র; পুরনো .nd-step1 / .nd-gender-* সিস্টেমের
   সাথে এর কোনো সংযোগ নেই। ভবিষ্যতের প্রতিটি ধাপ একই প্যাটার্নে
   .nd-builder-step হিসেবে যুক্ত হবে।
   ========================================================================== */

.nd-builder-page {
	padding-block: 32px 60px;
}

.nd-builder {
	max-width: 640px;
	margin-inline: auto;
}

.nd-builder-step {
	display: none;
	background: var(--nd-surface);
	border: 1px solid var(--nd-line);
	border-radius: 18px;
	box-shadow: var(--nd-shadow);
	padding: 22px;
}
.nd-builder-step.is-active {
	display: grid;
	gap: 22px;
}

.nd-builder-section + .nd-builder-section {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--nd-line);
}

.nd-builder-section-head {
	display: grid;
	gap: 6px;
	text-align: center;
}
.nd-builder-section-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 900;
	color: var(--nd-ink);
}

.nd-builder-fields {
	display: grid;
	gap: 18px;
}

.nd-builder-field {
	display: grid;
	gap: 8px;
}
.nd-builder-field-label {
	font-weight: 800;
	font-size: .92rem;
	color: #33433f;
}

.nd-builder-input {
	width: 100%;
	min-height: 50px;
	padding: 10px 14px;
	border: 1px solid var(--nd-line);
	border-radius: 10px;
	background: var(--nd-surface);
	color: var(--nd-ink);
	font: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.nd-builder-input::placeholder {
	color: var(--nd-muted);
}
.nd-builder-input:focus {
	outline: none;
	border-color: var(--nd-primary);
	box-shadow: 0 0 0 3px rgba(14, 112, 105, 0.14);
}

.nd-builder-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.nd-builder-toggle-option {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 14px;
	border: 2px solid var(--nd-line);
	border-radius: 10px;
	background: var(--nd-surface);
	font-weight: 800;
	font-size: .98rem;
	color: #4c5c58;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.nd-builder-toggle-option input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.nd-builder-toggle-option:hover {
	border-color: var(--nd-primary);
}
.nd-builder-toggle-option.is-active {
	border-color: var(--nd-primary);
	background: var(--nd-primary);
	color: #fff;
}
.nd-builder-toggle-option input:focus-visible ~ span {
	outline: 2px solid var(--nd-primary);
	outline-offset: 3px;
	border-radius: 4px;
}

.nd-builder-required {
	color: var(--nd-accent);
	margin-inline-start: 2px;
}

.nd-builder-optional-tag {
	color: var(--nd-muted);
	font-weight: 600;
	font-size: .82rem;
	margin-inline-start: 4px;
}

select.nd-builder-input {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363716d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
	padding-inline-end: 40px;
}
select.nd-builder-input:disabled {
	background-color: var(--nd-soft);
	color: var(--nd-muted);
	cursor: not-allowed;
}

.nd-builder-textarea {
	min-height: 90px;
	padding-block: 12px;
	resize: vertical;
}

.nd-builder-input[readonly] {
	background: var(--nd-soft);
	color: var(--nd-muted);
}

.nd-builder-checkbox-field {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: .92rem;
	color: #33433f;
	margin-bottom: 4px;
	cursor: pointer;
}
.nd-builder-checkbox-field input {
	width: 18px;
	height: 18px;
	accent-color: var(--nd-primary);
	cursor: pointer;
}

.nd-builder-field-box {
	display: grid;
	gap: 14px;
	padding: 16px;
	background: var(--nd-surface);
	border: 1px solid var(--nd-line);
	border-radius: 12px;
}
.nd-builder-field-box-title {
	margin: 0;
	font-size: .95rem;
	font-weight: 800;
	color: var(--nd-ink);
}

/**
 * একাধিক শিক্ষাগত যোগ্যতা (Repeater) — "+ নতুন শিক্ষাগত যোগ্যতা যোগ করুন"।
 */
.nd-builder-education-repeater {
	display: grid;
	gap: 14px;
}
.nd-builder-education-entry {
	position: relative;
}
.nd-builder-education-entry-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.nd-builder-education-entry-number {
	font-weight: 700;
	color: var(--nd-primary);
	font-size: .85rem;
}
.nd-builder-education-add {
	justify-self: start;
}
.nd-builder-education-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border: 1px solid #f1c2c2;
	border-radius: 999px;
	background: #fdf1f1;
	color: #c0392b;
	font-size: .8rem;
	font-weight: 700;
	cursor: pointer;
}
.nd-builder-education-remove:hover {
	background: #fbe2e2;
}

.nd-builder-conditional {
	display: grid;
	gap: 18px;
	padding: 16px;
	margin-top: 4px;
	background: var(--nd-soft);
	border: 1px solid var(--nd-line);
	border-radius: 12px;
}
.nd-builder-conditional[hidden] {
	display: none;
}
.nd-builder-conditional .nd-builder-conditional {
	background: var(--nd-surface);
}

.nd-builder-location-group {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-top: 8px;
}

.nd-builder-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
	padding-top: 22px;
	border-top: 1px solid var(--nd-line);
}
.nd-builder-nav .nd-button {
	min-width: 150px;
}
.nd-builder-nav .nd-button[disabled] {
	opacity: .7;
	cursor: not-allowed;
	box-shadow: none;
}

@media (max-width: 480px) {
	.nd-builder-page { padding-block: 18px 40px; }
	.nd-builder-step { padding: 16px; border-radius: 14px; }
	.nd-builder-section-title { font-size: 1.16rem; }
	.nd-builder-toggle-option { min-height: 46px; font-size: .92rem; }
	.nd-builder-location-group { grid-template-columns: 1fr; }
	.nd-builder-nav { flex-wrap: wrap; }
	.nd-builder-nav .nd-button { flex: 1 1 auto; min-width: 0; }
}

/**
 * ধাপ ১৮ — Tag Input Widget (যেমনঃ "অন্যান্য যোগ্যতা")।
 */
.nd-builder-tags {
	display: grid;
	gap: 10px;
}
.nd-builder-tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.nd-builder-tags-list:empty {
	display: none;
}
.nd-builder-tag-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px 6px 14px;
	border-radius: 999px;
	background: var(--nd-soft);
	border: 1px solid #cfe6df;
	color: var(--nd-primary);
	font-weight: 700;
	font-size: .88rem;
}
.nd-builder-tag-chip-text {
	white-space: nowrap;
}
.nd-builder-tag-chip-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: transparent;
	color: var(--nd-primary);
	font-size: .78rem;
	line-height: 1;
	cursor: pointer;
}
.nd-builder-tag-chip-remove:hover {
	background: rgba(14, 112, 105, 0.18);
}
.nd-builder-tags-input-row {
	display: flex;
	gap: 10px;
}
.nd-builder-tags-input-row .nd-builder-input {
	flex: 1 1 auto;
}
.nd-builder-tags-add {
	flex: 0 0 auto;
	white-space: nowrap;
}
@media (max-width: 480px) {
	.nd-builder-tags-input-row { flex-wrap: wrap; }
	.nd-builder-tags-add { flex: 1 1 auto; }
}

/* ==========================================================================
   ধাপ ৬ — Dashboard Responsive UI/UX Fix (Mobile Two-Column Layout)

   লক্ষ্য: মোবাইলেও ডেস্কটপের মতোই Sidebar (বাম) ও Content (ডান) সবসময়
   পাশাপাশি (Side-by-Side) থাকবে — মেনু কখনো Content-এর উপরে বসে তাকে
   নিচে ঠেলে দেবে না, ফলে ট্যাব বদলালে ইউজারকে স্ক্রল করে নামতে হবে না।
   বাম কলাম সরু ও কমপ্যাক্ট রাখা হয়েছে (Left-aligned, ছোট ফন্ট, Touch-friendly
   প্যাডিং) আর ডান কলামে বাকি সব জায়গা Active Tab-এর কনটেন্টের জন্য।
   ========================================================================== */
@media (max-width: 640px) {
	/* সাইডবার আগের চেয়ে সরু ও কম্প্যাক্ট (108px → 84px) যাতে ডান পাশের
	   কনটেন্ট এরিয়া বেশি জায়গা পায় এবং দুই কলাম একে অপরের সাথে
	   ভিজ্যুয়ালি ব্যালেন্সড দেখায়, চোখে অসামঞ্জস্যপূর্ণ না লাগে। */
	.nd-dashboard {
		grid-template-columns: 84px minmax(0, 1fr);
		align-items: start;
		gap: 10px;
	}

	.nd-dashboard-menu,
	.nd-dashboard-content {
		padding: 12px 10px;
		border-radius: 10px;
		max-width: 100%;
		overflow-x: hidden;
	}

	/* Content কলাম যেন সাইডবারের সমান উচ্চতা থেকেই শুরু হয় এবং নিজের
	   ভেতরে প্রয়োজনে স্ক্রল করে — পুরো পেজ নিচে নামাতে হয় না। */
	.nd-dashboard-content {
		min-width: 0;
	}

	/* কনটেন্ট এরিয়ার হেডিং ও উপাদানগুলো ব্রাউজারের ডিফল্ট বড় সাইজের বদলে
	   ছোট বাম মেনুর সাথে সামঞ্জস্যপূর্ণ, প্রিমিয়াম-অ্যাপ-সুলভ আকারে
	   রাখা হয়েছে — কোনো এলিমেন্টই প্রয়োজনের চেয়ে বড় দেখাবে না। */
	.nd-dashboard-content h2 {
		font-size: 1.02rem;
		line-height: 1.35;
		margin: 0 0 10px;
	}
	.nd-dashboard-content h3 {
		font-size: 0.88rem;
		line-height: 1.3;
		margin: 14px 0 8px;
	}
	.nd-dashboard-content p {
		font-size: 0.84rem;
	}
	.nd-summary-grid {
		gap: 8px;
		margin: 14px 0;
	}
	.nd-summary-grid div {
		padding: 12px 10px;
	}
	.nd-summary-grid strong {
		font-size: 1.15rem;
	}
	.nd-summary-grid span {
		font-size: 0.76rem;
	}
	.nd-dashboard-row {
		padding: 10px 12px;
		font-size: 0.84rem;
	}
	.nd-coming-soon {
		padding: 14px;
		font-size: 0.84rem;
	}
	.nd-wizard-box {
		padding: 16px;
		box-sizing: border-box;
		max-width: 100%;
		overflow-wrap: break-word;
	}
	.nd-wizard-box h3,
	.nd-wizard-box p {
		overflow-wrap: break-word;
	}
	.nd-wizard-box .nd-button {
		width: 100%;
		box-sizing: border-box;
		white-space: normal;
		text-align: center;
	}

	.nd-dashboard-menu h1 {
		font-size: 0.68rem;
		line-height: 1.2;
		margin: 0 0 8px;
		white-space: normal;
		overflow-wrap: break-word;
	}

	/* Mini Menu: সরু বাম কলামে প্রতিটি ট্যাব একটি কম্প্যাক্ট, বাম-সারিবদ্ধ
	   "চিপ" — যথেষ্ট প্যাডিং (Touch Target) রাখা হয়েছে, তবে প্রস্থ কম
	   বলে লেখা প্রয়োজনে দুই লাইনে ভাঙবে, কিন্তু কখনো কেটে যাবে না বা
	   একে অপরের উপর বসবে না। */
	.nd-dashboard-menu {
		display: flex;
		flex-direction: column;
		gap: 4px;
		position: sticky;
		top: 8px;
	}
	.nd-dashboard-menu a {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 2px;
		width: 100%;
		box-sizing: border-box;
		min-height: 38px;
		padding: 7px 7px;
		border: none;
		border-radius: 8px;
		text-align: left;
		font-size: 0.68rem;
		line-height: 1.25;
		white-space: normal;
		overflow-wrap: break-word;
		word-break: keep-all;
		hyphens: none;
		color: #31413d;
		transition: background-color .15s ease, color .15s ease;
	}
	.nd-dashboard-menu a:hover,
	.nd-dashboard-menu a:active {
		background: var(--nd-soft);
	}
	.nd-dashboard-menu a.is-active {
		background: var(--nd-soft);
		color: var(--nd-primary);
		font-weight: 800;
		border-bottom-color: transparent; /* পুরনো underline-স্টাইল ওভাররাইড */
	}
	/* বিজ্ঞপ্তি বাটনের আনরিড কাউন্ট ব্যাজ সরু কলামে লেখার নিচে আলাদা
	   জায়গায় বসে, যাতে গুঁতোগুঁতি না হয়। */
	.nd-dashboard-menu a .nd-badge {
		margin-left: 0;
		margin-top: 1px;
		flex: 0 0 auto;
	}

	/* ধাপ ৭ — "প্রোফাইল সম্পাদনা" ট্যাব: বাকি ড্যাশবোর্ড ট্যাবগুলোর মতোই
	   ডান পাশের কনটেন্ট এরিয়ায় পাশাপাশি বসে (এই ফর্ম dashboard-content.php
	   এর ভেতরেই রেন্ডার হয়, আলাদা কোনো পেজে নয়, তাই লেআউট কখনো ভেঙে নিচে
	   নামে না)। এখানে শুধু ফর্মের ইনপুট/বাটন/চেকবক্সের সাইজ বাকি কনটেন্টের
	   (h2/h3/p) কমপ্যাক্ট স্কেলের সাথে মিলিয়ে দেওয়া হলো, যাতে প্রোফাইল
	   ট্যাবটিও অন্য ট্যাবগুলোর মতোই ব্যালেন্সড ও প্রিমিয়াম দেখায় — ব্রাউজারের
	   ডিফল্ট বড় ফন্টের কারণে বেমানান/বড় দেখাবে না। */
	.nd-dashboard-content .nd-frontend-form {
		gap: 12px;
		max-width: 100%;
	}
	.nd-dashboard-content .nd-frontend-form label {
		gap: 4px;
	}
	.nd-dashboard-content .nd-frontend-form label span {
		font-size: 0.78rem;
	}
	.nd-dashboard-content .nd-frontend-form input,
	.nd-dashboard-content .nd-frontend-form select,
	.nd-dashboard-content .nd-frontend-form textarea {
		padding: 8px 10px;
		font-size: 0.84rem;
		border-radius: 6px;
		width: 100%;
		max-width: 100%;
	}
	.nd-dashboard-content .nd-checkbox-field {
		font-size: 0.78rem;
		align-items: flex-start;
		gap: 8px;
		flex-wrap: wrap;
	}
	.nd-dashboard-content .nd-checkbox-field input[type="checkbox"] {
		flex: 0 0 auto;
		margin-top: 2px;
	}
	.nd-dashboard-content .nd-frontend-form .nd-button {
		font-size: 0.84rem;
		padding: 10px 14px;
	}
}

/* ছোট স্ক্রিন (৩৬০px–৪৮০px রেঞ্জ) — কলাম আরেকটু সরু, তবুও পড়ার-যোগ্য।
   মেনু ও কনটেন্ট দুটোরই ফন্ট-সাইজ একই অনুপাতে আরেকটু ছোট করা হলো
   যাতে ভিজ্যুয়াল ব্যালেন্স ছোট স্ক্রিনেও বজায় থাকে। */
@media (max-width: 480px) {
	.nd-dashboard { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
	.nd-dashboard-menu, .nd-dashboard-content { padding: 10px 8px; }
	.nd-dashboard-menu h1 { font-size: 0.6rem; margin-bottom: 6px; }
	.nd-dashboard-menu a { font-size: 0.6rem; padding: 6px 5px; min-height: 34px; }

	.nd-dashboard-content h2 { font-size: 0.92rem; margin-bottom: 8px; }
	.nd-dashboard-content h3 { font-size: 0.8rem; margin: 12px 0 6px; }
	.nd-dashboard-content p { font-size: 0.78rem; }
	.nd-summary-grid { gap: 6px; margin: 12px 0; }
	.nd-summary-grid div { padding: 10px 8px; }
	.nd-summary-grid strong { font-size: 1rem; }
	.nd-summary-grid span { font-size: 0.68rem; }
	.nd-dashboard-row { padding: 8px 10px; font-size: 0.78rem; }
	.nd-coming-soon { padding: 12px; font-size: 0.78rem; }
	.nd-wizard-box { padding: 12px; }

	/* ৩৬০–৪৮০px রেঞ্জে প্রোফাইল ফর্মও বাকি কনটেন্টের সাথে একই অনুপাতে
	   আরেকটু কমপ্যাক্ট, যাতে ছোট স্ক্রিনেও কোনো ইনপুট/বাটন অসামঞ্জস্যপূর্ণ
	   বড় না লাগে। */
	.nd-dashboard-content .nd-frontend-form { gap: 10px; }
	.nd-dashboard-content .nd-frontend-form label span { font-size: 0.72rem; }
	.nd-dashboard-content .nd-frontend-form input,
	.nd-dashboard-content .nd-frontend-form select,
	.nd-dashboard-content .nd-frontend-form textarea {
		padding: 7px 9px;
		font-size: 0.78rem;
	}
	.nd-dashboard-content .nd-checkbox-field { font-size: 0.72rem; }
	.nd-dashboard-content .nd-frontend-form .nd-button {
		font-size: 0.78rem;
		padding: 9px 12px;
	}
}

/* ট্যাব বদলানোর সময় Content Area-তে একটি হালকা Fade/Slide — SPA না হয়েও
   একটা মসৃণ (Smooth) অনুভূতি দেয়। Reduced-motion পছন্দ করা ইউজারদের জন্য
   বন্ধ থাকে। */
/* ==========================================================================
   মোবাইল ফিক্স — "আমার এরিয়া" ট্যাবের "এখনো বায়োডাটা তৈরি করেননি?" বক্স
   (nd-wizard-box) এবং তার ভিতরের "বায়োডাটা তৈরি করুন" বাটন ডেস্কটপে ঠিকঠাক
   দেখা গেলেও কোনো কোনো মোবাইল/হোস্টিং ক্যাশ বা থার্ড-পার্টি স্টাইলের কারণে
   হাইড হয়ে যাচ্ছিল। উপরের সাধারণ .nd-wizard-box রুলগুলো ঠিকই আছে, কিন্তু
   এই সেফটি-নেট রুলটি সবচেয়ে নিচে (তাই সর্বোচ্চ Cascade Priority-তে) রাখা
   হলো, যাতে অন্য কোনো স্টাইল একে display:none বা height:0 করে দিলেও এটি
   জোর করে দৃশ্যমান থাকে। */
@media (max-width: 640px) {
	.nd-dashboard-content .nd-wizard-box {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}
	.nd-dashboard-content .nd-wizard-box .nd-button {
		display: inline-flex !important;
	}
}

.nd-dashboard-content { animation: nd-dashboard-fade .22s ease; }
@keyframes nd-dashboard-fade {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.nd-dashboard-content { animation: none; }
}
