/* Dark theme overrides (class-based). Applies when <html class="dark"> */
html.dark body{background-color:#0b1220 !important;color:#e5e7eb !important}
html.dark .bg-white{background-color:#0b1220 !important}
html.dark .bg-gray-50{background-color:#0b1220 !important}
html.dark .bg-gray-100{background-color:#0f172a !important}
html.dark .bg-white\/80{background-color:rgba(11,18,32,0.80) !important}
html.dark .text-black,
html.dark .text-gray-800,
html.dark .text-gray-700,
html.dark .text-gray-600{color:#e5e7eb !important}
html.dark .text-gray-500{color:#cbd5e1 !important}
html.dark .border-gray-100{border-color:#334155 !important}
html.dark .border-gray-200{border-color:#334155 !important}
html.dark .border-gray-300{border-color:#475569 !important}
html.dark .hover\:bg-gray-50:hover{background-color:#0f172a !important}
html.dark a{color:#93c5fd}
html.dark .prose, html.dark .content{color:#e5e7eb}
html.dark input, html.dark textarea, html.dark select{background-color:#111827 !important;color:#e5e7eb !important;border-color:#374151 !important}
html.dark .shadow, html.dark .shadow-sm, html.dark .shadow-md{box-shadow:0 1px 2px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.35) !important}
html.dark .ring-1{--tw-ring-color:#334155}
html.dark .divide-gray-200 > :not([hidden]) ~ :not([hidden]){border-color:#334155}
/* Gradient helpers */
html.dark .bg-gradient-to-b{background-image:linear-gradient(to bottom,#0b1220,#0b1220) !important}
/* Tables */
html.dark table{color:#e5e7eb}
html.dark thead{background-color:#0f172a}
html.dark tbody tr{border-color:#334155}
/* Cards */
html.dark .card{background-color:#0f172a !important;border-color:#1f2937 !important}
/* Code blocks */
html.dark pre, html.dark code{background-color:#0f172a !important;color:#e5e7eb !important}

/* === Comprehensive Dark Mode Overrides (all with !important) === */

/* Base */
html.dark body{background-color:#0b1220 !important;color:#e5e7eb !important}
html.dark :where(h1,h2,h3,h4,h5,h6,p,span,small,li,dt,dd,blockquote,strong,em){color:#e5e7eb !important}

/* Links */
html.dark a{color:#93c5fd !important}
html.dark a:hover{color:#bfdbfe !important;text-decoration:undeline !important}

/* Generic Tailwind-ish utilities */
html.dark .bg-white{background-color:#0f172a !important}
html.dark .bg-white\/80{background-color:rgba(15,23,42,0.80) !important}
html.dark .bg-gray-50{background-color:#0b1220 !important}
html.dark .bg-gray-100{background-color:#0f172a !important}
html.dark .bg-gray-200{background-color:#111827 !important}
html.dark .from-gray-50{--tw-gradient-from:#0b1220 !important}
html.dark .to-white{--tw-gradient-to:#0b1220 !important}
html.dark .text-black,
html.dark .text-gray-900,
html.dark .text-gray-800,
html.dark .text-gray-700,
html.dark .text-gray-600{color:#e5e7eb !important}
html.dark .text-gray-500{color:#cbd5e1 !important}
html.dark .text-gray-400{color:#94a3b8 !important}
html.dark .border-gray-100{border-color:#334155 !important}
html.dark .border-gray-200{border-color:#334155 !important}
html.dark .border-gray-300{border-color:#475569 !important}
html.dark .border{border-color:#334155 !important}
html.dark .divide-gray-200 > :not([hidden]) ~ :not([hidden]){border-color:#334155 !important}

/* Hover text utilities often used in templates */
html.dark .hover\:text-gray-700:hover,
html.dark .hover\:text-gray-800:hover,
html.dark .hover\:text-gray-600:hover,
html.dark .hover\:text-black:hover{color:#e5e7eb !important}
html.dark .hover\:bg-gray-50:hover{background-color:#111827 !important}
html.dark .hover\:bg-white:hover{background-color:#111827 !important}

/* Inputs & code */
html.dark input, html.dark textarea, html.dark select{background-color:#111827 !important;color:#e5e7eb !important;border-color:#374151 !important}
html.dark pre, html.dark code{background-color:#0f172a !important;color:#e5e7eb !important}
html.dark .shadow, html.dark .shadow-sm, html.dark .shadow-md{box-shadow:0 1px 2px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.35) !important}

/* Gradients */
html.dark .bg-gradient-to-b{background-image:linear-gradient(to bottom,#0b1220,#0b1220) !important}

/* Cards & generic containers */
html.dark .card{background-color:#0f172a !important;border-color:#1f2937 !important}

/* Tables (component + global) */
html.dark table{color:#e5e7eb !important}
html.dark thead, html.dark thead tr{background-color:#0f172a !important;color:#e5e7eb !important}
html.dark tbody tr{border-color:#334155 !important}
html.dark tbody tr:hover{background-color:#0f172a !important}
/* Names table specific */
html.dark #namesTable{background-color:transparent !important;color:#e5e7eb !important;border-color:#334155 !important}
html.dark #namesTable thead th,
html.dark #namesTable tbody tr th,
html.dark #namesTable tbody tr td{color:#e5e7eb !important;border-color:#334155 !important;background-color:transparent !important}
html.dark #namesTable tbody tr{background-color:#0b1220 !important}
html.dark #namesTable tbody tr:hover{background-color:#111827 !important}
html.dark #namesTable .name-mean::before{color:#e5e7eb !important}

/* Footer */
html.dark footer{background-color:#0b1220 !important;color:#e5e7eb !important;border-top-color:#334155 !important}
html.dark footer *{color:#e5e7eb !important}
html.dark footer a{color:#93c5fd !important}
html.dark footer a:hover{color:#bfdbfe !important;text-decoration:underline !important}
html.dark footer .text-gray-600{color:#cbd5e1 !important}

/* Components referenced in inline styles */
html.dark .name-mean{color:#e5e7eb !important}
html.dark .name-mean::before{color:#e5e7eb !important}
html.dark tr.clickable-row:hover{background:#111827 !important}

/* Override common inline color/background styles that were hard-coded for light mode */
html.dark [style*="color:#000"],
html.dark [style*="color:#111"],
html.dark [style*="color:#222"],
html.dark [style*="color:#333"],
html.dark [style*="color:#444"],
html.dark [style*="color:#555"],
html.dark [style*="color:black"],
html.dark [style*="color: rgb(0,0,0)"],
html.dark [style*="color:rgb(0, 0, 0)"]{color:#e5e7eb !important}

html.dark [style*="background:#fff"],
html.dark [style*="background:#fefefe"],
html.dark [style*="background:#f9fafb"],
html.dark [style*="background:#f3f4f6"],
html.dark [style*="background-color:#fff"],
html.dark [style*="background-color:#fefefe"],
html.dark [style*="background-color:#f9fafb"],
html.dark [style*="background-color:#f3f4f6"]{background-color:#0f172a !important}

html.dark [style*="border:#e5e7eb"],
html.dark [style*="border-color:#e5e7eb"],
html.dark [style*="border: 1px solid #e5e7eb"],
html.dark [style*="border:1px solid #e5e7eb"]{border-color:#334155 !important}

/* Hover link color that may be forced in inline <style> */
html.dark [style*=":hover"] a:hover,
html.dark a[style*="color:"]:hover{color:#bfdbfe !important}

/* Badges, pills & misc */
html.dark .badge, html.dark .tag{background-color:#0f172a !important;border-color:#334155 !important;color:#e5e7eb !important}

html.dark .hover\:text-accent-700:hover{color:#bfdbfe !important}


/* SVG icon fixes for hard-coded black strokes/fills */
html.dark svg[stroke="#000"], html.dark svg[stroke="#111"], html.dark svg[stroke="#222"], html.dark svg[stroke="#333"]{stroke:#e5e7eb !important}
html.dark svg[fill="#000"], html.dark svg[fill="#111"], html.dark svg[fill="#222"], html.dark svg[fill="#333"]{fill:#e5e7eb !important}



/* ===== Forms: inputs, labels, placeholders, focus, selects (ALL !important) ===== */
html.dark .hero{background-color:#0f172a !important;border-color:#334155 !important}

html.dark label,
html.dark legend{color:#e5e7eb !important}

html.dark input,
html.dark textarea,
html.dark select{background-color:#111827 !important;color:#e5e7eb !important;border-color:#374151 !important}

html.dark input::placeholder,
html.dark textarea::placeholder{-webkit-text-fill-color:#cbd5e1 !important;color:#cbd5e1 !important;opacity:1 !important}

html.dark input::-webkit-input-placeholder,
html.dark textarea::-webkit-input-placeholder{color:#cbd5e1 !important;opacity:1 !important}

html.dark input:-ms-input-placeholder,
html.dark textarea:-ms-input-placeholder{color:#cbd5e1 !important}

html.dark select option{background-color:#111827 !important;color:#e5e7eb !important}

html.dark input:focus,
html.dark textarea:focus,
html.dark select:focus{outline:none !important;border-color:#60a5fa !important;box-shadow:0 0 0 3px rgba(59,130,246,.35) !important}

/* Autofill fixes (Chrome) */
html.dark input:-webkit-autofill,
html.dark textarea:-webkit-autofill,
html.dark select:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #111827 inset !important;-webkit-text-fill-color:#e5e7eb !important;caret-color:#e5e7eb !important}

/* Disabled/readonly */
html.dark input[disabled], html.dark textarea[disabled], html.dark select[disabled]{background-color:#0f172a !important;color:#94a3b8 !important;border-color:#334155 !important}
html.dark input[readonly], html.dark textarea[readonly], html.dark select[readonly]{background-color:#0f172a !important;color:#cbd5e1 !important;border-color:#334155 !important}

/* Buttons in forms */
html.dark button,
html.dark .btn{color:inherit !important}
html.dark .btn-grad{background:linear-gradient(135deg,#2563eb,#7c3aed) !important;color:#fff !important}



/* === Hero sections (outside forms) === */
html.dark .hero{background-color:#0f172a !important;border-color:#334155 !important}
html.dark .hero h1,
html.dark .hero h2,
html.dark .hero h3,
html.dark .hero p,
html.dark .hero span{color:#e5e7eb !important}
html.dark .hero .text-gray-600{color:#cbd5e1 !important}

/* Footer pseudo-elements */
html.dark footer a::before{color:#e5e7eb !important}



/* Strong override for .hero with gradient background defined in app_top.php */
html.dark .hero{background:#0f172a !important;background-image:none !important}

/* Strong override for .card when background is set via 'background' */
html.dark .card{background:#0f172a !important;background-image:none !important;border-color:#334155 !important}






/* ===== Letter Chips (ডার্ক মোড) ===== */

/* বেস চিপ স্টেট */
html.dark .chip{
  background-color:#0f172a !important;   /* ডার্ক ব্যাকগ্রাউন্ড */
  color:#e5e7eb !important;              /* লাইট টেক্সট */
  border-color:#334155 !important;       /* ডার্ক বর্ডার */
}

/* হোভার হলে */
html.dark .chip:hover{
  background-color:#111827 !important;
  border-color:#60a5fa !important;       /* অ্যাকসেন্ট-লাইট বর্ডার */
}

/* সিলেক্টেড স্টেট (তোমার PHP তে শর্তসাপেক্ষে যোগ হয়: bg-blue-100, text-accent-700, border-accent-600) */
html.dark .chip.bg-blue-100{
  background-color:#1e293b !important;   /* ডার্কার ব্লু-টোন */
  color:#bfdbfe !important;              /* লাইট-স্কাই টেক্সট */
  border-color:#60a5fa !important;       /* চোখে পড়া বর্ডার */
}

/* যদি ক্লাসে সরাসরি border-accent-600 থাকে (হোভার ছাড়াও) */
html.dark .chip.border-accent-600{
  border-color:#60a5fa !important;
}

/* যদি টেক্সটে text-accent-700 থাকে */
html.dark .chip.text-accent-700{
  color:#93c5fd !important;
}

/* Tailwind-এর hover:border-accent-600 ক্লাসটা যাতে !important বর্ডারের উপরেও কাজ করে */
html.dark .hover\:border-accent-600:hover{
  border-color:#60a5fa !important;
}




/* Author box (bg-white/70) — Dark mode */
html.dark .bg-white\/70{
  background-color: rgba(15,23,42,.70) !important;  /* ডার্ক ব্যাকগ্রাউন্ড */
}

/* (ঐচ্ছিক) অন্য translucent সাদা ব্যাকগ্রাউন্ডগুলোও কভার করতে চান? */
html.dark .bg-white\/80{ background-color: rgba(15,23,42,.80) !important; }
html.dark .bg-white\/60{ background-color: rgba(15,23,42,.60) !important; }
html.dark .bg-white\/50{ background-color: rgba(15,23,42,.50) !important; }

/* Author bio টেক্সট যেন ডার্কে হালকা-লাইট থাকে */
html.dark .text-gray-600{ color:#cbd5e1 !important; }

/* বর্ডার ডার্কে স্পষ্ট */
html.dark .border{ border-color:#334155 !important; }

/* (ঐচ্ছিক) একলাইনে সব ‘bg-white/…’ ক্লাস ফোর্স করতে চান? তাহলে এটাও দিন: */
/* html.dark [class*="bg-white/"]{ background-color: rgba(15,23,42,.72) !important; } */


/* ===== TOC Dark Mode (works with dynamic IDs like #nb-toc-xxxx) ===== */
html.dark [id^="nb-toc-"],
html.dark .nb-toc{
  /* override CSS variables (win over component) */
  --nb-toc-bg:#0f172a !important;        /* surface */
  --nb-toc-border:#334155 !important;    /* border */
  --nb-toc-text:#e5e7eb !important;      /* text */
  --nb-toc-subtext:#cbd5e1 !important;   /* muted text */
  --nb-toc-accent:#0EA5E9 !important;    /* keep same accent */

  /* base box visuals */
  background: var(--nb-toc-bg) !important;
  border-color: var(--nb-toc-border) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.45) !important;
}

/* Header strip */
html.dark [id^="nb-toc-"] .nb-toc-header{
  background: linear-gradient(0deg, #0f172a, #0f172a) !important;
  border-bottom-color: var(--nb-toc-border) !important;
}

/* Links */
html.dark [id^="nb-toc-"] .nb-toc-link{ color: var(--nb-toc-text) !important; }
html.dark [id^="nb-toc-"] .nb-toc-link:hover{ background: #111827 !important; }
html.dark [id^="nb-toc-"] .nb-toc-link.nb-active{
  color: var(--nb-toc-accent) !important;
  background: rgba(14,165,233,.10) !important;
  box-shadow: inset 0 0 0 1px rgba(14,165,233,.25) !important;
}

/* Sublist guideline */
html.dark [id^="nb-toc-"] .nb-toc-sublist{ border-left-color: var(--nb-toc-border) !important; }

/* Footer buttons */
html.dark [id^="nb-toc-"] .nb-toc-btn{
  background:#111827 !important;
  border-color:var(--nb-toc-border) !important;
  color:var(--nb-toc-text) !important;
}
html.dark [id^="nb-toc-"] .nb-toc-btn:hover{ background:#0f172a !important; }

/* Icons (bullet + title icon + tiny # anchor) */
html.dark [id^="nb-toc-"] .nb-toc-title i,
html.dark [id^="nb-toc-"] .toc-icon,
html.dark [id^="nb-toc-"] .nb-toc-anchor{ color:#0EA5E9 !important; }














/* === Post page specific dark overrides === */

/* Background utilities */
html.dark .bg-white\/95{
  background-color: rgba(15,23,42,0.95) !important; /* #0f172a */
}
html.dark .bg-slate-50{
  background-color:#020617 !important; /* খুব ডার্ক ব্যাকগ্রাউন্ড */
}
html.dark .bg-slate-50\/60{
  background-color: rgba(15,23,42,0.60) !important;
}
html.dark .bg-slate-900\/5{
  background-color: rgba(15,23,42,0.40) !important;
}

/* Borders */
html.dark .border-slate-100,
html.dark .border-slate-200{
  border-color:#334155 !important;
}

/* Text colors */
html.dark .text-slate-900,
html.dark .text-slate-800,
html.dark .text-slate-700,
html.dark .text-slate-600{
  color:#e5e7eb !important;
}
html.dark .text-slate-500{
  color:#cbd5e1 !important;
}
html.dark .text-slate-400{
  color:#94a3b8 !important;
}

/* Gradient header (bg-gradient-to-r from-sky-50 to-blue-50/40) */
html.dark .bg-gradient-to-r{
  background-image:linear-gradient(to right,#020617,#020617) !important;
}
html.dark .from-sky-50{
  --tw-gradient-from:#020617 !important;
}
html.dark .to-blue-50\/40{
  --tw-gradient-to:#020617 !important;
}

/* Chips / ছোট পিলগুলো (bg-slate-900/5 ইত্যাদি) */
html.dark .bg-slate-900\/5{
  background-color:#0f172a !important;
}


/* ==== Category Page Dark Mode (html.class="dark") ==== */

/* কার্ড ও খালি-স্টেট বক্সের ব্যাকগ্রাউন্ড (bg-white/90) */
html.dark .bg-white\/90{
  background-color: rgba(15,23,42,0.96) !important; /* #0f172a টোন */
}

/* থাম্বনেইল ব্যাকগ্রাউন্ড (bg-slate-100) */
html.dark .bg-slate-100{
  background-color:#020617 !important;
}

/* বর্ডার (border-slate-100, border-slate-200) */
html.dark .border-slate-100,
html.dark .border-slate-200{
  border-color:#334155 !important;
}

/* টাইটেল, টেক্সট, সাবটেক্সট সব slate টোন */
html.dark .text-slate-900,
html.dark .text-slate-800,
html.dark .text-slate-700,
html.dark .text-slate-600{
  color:#e5e7eb !important;
}

html.dark .text-slate-500{
  color:#cbd5e1 !important;
}

html.dark .text-slate-400{
  color:#94a3b8 !important;
}

/* কার্ডের ভিতরের h2 টাইটেল hover টেক্সট (group-hover:text-sky-600) */
html.dark .group:hover .text-sky-600{
  color:#38bdf8 !important; /* sky-400 টোন, ডার্কে সুন্দর দেখায় */
}

/* কার্ড hover বর্ডার (hover:border-sky-200) + পেইজিনেশন (hover:border-sky-300) */
html.dark .hover\:border-sky-200:hover,
html.dark .hover\:border-sky-300:hover{
  border-color:#38bdf8 !important;
}

/* পেইজিনেশন বাটন ব্যাকগ্রাউন্ড (bg-white) */
html.dark .bg-white{
  background-color:#0f172a !important;
}

/* পেইজিনেশন বাটন টেক্সট (text-slate-700) dark এ হালকা */
html.dark .text-slate-700{
  color:#e5e7eb !important;
}

/* “আরও পড়ুন / বিস্তারিত” অংশের faint টেক্সট */
html.dark .text-slate-400{
  color:#94a3b8 !important;
}

/* কার্ড শ্যাডো একটু ডার্ক করা (shadow-sm, hover:shadow-lg) */
html.dark .shadow-sm,
html.dark .shadow,
html.dark .shadow-lg{
  box-shadow: 0 2px 4px rgba(0,0,0,.6),
              0 4px 10px rgba(0,0,0,.45) !important;
}













/* ===== Friend Status Homepage – Dark Mode Fixes (search + status) ===== */

/* পুরো পেইজ ব্যাকগ্রাউন্ড */
html.dark .page-shell{
  background-color:#020617 !important; /* খুব ডার্ক নীলচে ব্যাকগ্রাউন্ড */
}

/* HERO + সার্চ কার্ড অংশ */
html.dark .hero{
  background-color:#020617 !important;
  border-color:#1e293b !important;
}

/* উপরের ইয়ার ব্যাজ */
html.dark .badge-year{
  background-color:#082f49 !important;   /* গাঢ় নীলচে */
  color:#e0f2fe !important;
}
html.dark .badge-dot{
  background-color:#38bdf8 !important;
}

/* টপিক চিপস (যদি থাকে) */
html.dark .topic-chip{
  background-color:#020617 !important;
  border-color:#1e293b !important;
  color:#e5e7eb !important;
}
html.dark .topic-chip:hover{
  background-color:#0b1120 !important;
  border-color:#38bdf8 !important;
}

/* সার্চ কার্ড */
html.dark .search-card{
  background-color:#020617 !important;
  border-color:#1e293b !important;
}

html.dark .search-label{
  color:#e5e7eb !important;
}
html.dark .search-hint{
  color:#9ca3af !important;
}

/* সার্চ ইনপুট + আইকন */
html.dark .search-input-wrap{
  color:#e5e7eb !important;
}
html.dark .search-icon{
  color:#64748b !important;
}
html.dark .search-input{
  background-color:#020617 !important;
  border-color:#1e293b !important;
  color:#e5e7eb !important;
}
html.dark .search-input::placeholder{
  color:#64748b !important;
}

/* “উদাহরণ” ছোট পিলগুলো */
html.dark .search-examples{
  color:#9ca3af !important;
}
html.dark .search-examples span{
  background-color:#020617 !important;
  border:1px solid #1e293b !important;
}

/* কনটেন্ট বক্স (স্ট্যাটাসের বড় সেকশন) */
html.dark .content-section{
  background-color:#020617 !important;
  border-color:#1e293b !important;
}

/* সেকশন ট্যাব/TOC বাটন */
html.dark .content-toc a{
  background-color:rgba(15,23,42,0.9) !important;
  border-color:#1e293b !important;
  color:#e5e7eb !important;
}
html.dark .content-toc a:hover{
  background-color:#0f172a !important;
  border-color:#38bdf8 !important;
}

/* স্ট্যাটাস লিস্টের প্রতিটি কার্ড */
html.dark .status-item{
  background-color:#020617 !important;
  border-color:#1e293b !important;
}

/* কোটেশন মার্ক সামান্য উজ্জ্বল */
html.dark .status-item::before{
  color:rgba(148,163,184,0.5) !important;
}

/* স্ট্যাটাস টেক্সট – এখানে আগে color:#000 ছিল, তাই আলাদা করে ওভাররাইড */
html.dark .status-text{
  color:#e5e7eb !important;
}

/* কপি/শেয়ার বাটন */
html.dark .status-btn{
  background-color:#020617 !important;
  border-color:#1e293b !important;
  color:#cbd5e1 !important;
}
html.dark .status-btn:hover{
  background-color:#0f172a !important;
  border-color:#38bdf8 !important;
}
html.dark .status-btn .icon-svg{
  color:inherit !important;
}

/* FAQ সেকশন বিভাজক লাইন */
html.dark .faq-section{
  border-top-color:#1e293b !important;
}

/* ভেতরের লিংকগুলো */
html.dark .internal-links a{
  color:#93c5fd !important;
}
html.dark .internal-links a:hover{
  color:#bfdbfe !important;
}

/* কপি টোস্ট – বডির সাথে ম্যাচ করে */
html.dark .status-toast{
  background-color:#020617 !important;
  color:#e5e7eb !important;
}

/* সার্চ বাটন গ্রেডিয়েন্ট – শুধু টেক্সট ফোর্স করে সাদা রাখছি */
html.dark .btnn-accent{
  color:#f9fafb !important;
  box-shadow:0 0 0 1px rgba(15,23,42,0.5) !important;
}



/* ===== Blockquote (content-body) – Dark Mode ===== */

html.dark .content-body blockquote{
  border-color:#1e293b !important;
  background:
    radial-gradient(circle at top left, #0b1120 0, #020617 55%, #020617 100%) !important;
  box-shadow:0 10px 28px rgba(0,0,0,0.6) !important;
}

/* ভেতরের লেখা যেন হালকা দেখায় */
html.dark .content-body blockquote,
html.dark .content-body blockquote p,
html.dark .content-body blockquote li,
html.dark .content-body blockquote span{
  color:#e5e7eb !important;
}

/* উপরের কোট মার্কটা একটু বেশি উজ্জ্বল কিন্তু ডার্ক ফিল */
html.dark .content-body blockquote::before{
  color:rgba(56,189,248,0.35) !important; /* sky-400 টোন */
}

/* ===== Quote toolbar (শেয়ার / কপি) – Dark Mode ===== */

html.dark .quote-toolbar-pill{
  background:rgba(15,23,42,0.9) !important;
  border-color:#1e293b !important;
}

html.dark .quote-toolbar-text{
  color:#cbd5e1 !important;
}

/* গোল আইকন বাটনগুলো */
html.dark .quote-icon-btn{
  box-shadow:0 3px 10px rgba(0,0,0,0.6) !important;
}

/* কপি/শেয়ার আইকন সাদা রাখা */
html.dark .quote-icon-btn svg{
  color:#f9fafb !important;
  fill:currentColor !important;
}

/* যদি blockquote-এর চারপাশে Tailwind-এর .prose থাকে, তবে এটাও কাজে আসবে */
html.dark .prose blockquote{
  background:transparent !important;
  border-color:#1e293b !important;
}
/* ===== AI Bulk Generator – Status কলামের ডার্ক থিম ===== */

/* স্ট্যাটাস কলামের পিল (Waiting / Generating / Done / Error) */
html.dark .status-pill{
  border:1px solid #1e293b !important;
}

/* Waiting */
html.dark .status-pill.waiting{
  background:#020617 !important;     /* গাঢ় ব্যাকগ্রাউন্ড */
  color:#e5e7eb !important;          /* লাইট টেক্সট */
}

/* Generating */
html.dark .status-pill.generating{
  background:rgba(37,99,235,0.20) !important;  /* নীলচে শেড */
  color:#bfdbfe !important;
}

/* Done / Success */
html.dark .status-pill.success{
  background:rgba(22,163,74,0.22) !important;  /* সবুজ শেড */
  color:#bbf7d0 !important;
}

/* Error */
html.dark .status-pill.error{
  background:rgba(220,38,38,0.22) !important;  /* রেড শেড */
  color:#fecaca !important;
}

/* টেবিলটাও ডার্কে একটু সুন্দর দেখানোর জন্য */
html.dark #generation-container{
  background-color:#020617 !important;
  border-color:#1e293b !important;
}

html.dark #topics-table{
  border-color:#1e293b !important;
}

html.dark #topics-table thead tr{
  background-color:#0b1120 !important;
}

html.dark #topics-table th,
html.dark #topics-table td{
  border-color:#1e293b !important;
  color:#e5e7eb !important;
}

/* আল্টারনেট রো শেড ঠিক করা (bg-white / bg-gray-50 কে ডার্ক করা) */
html.dark #topics-table tr.bg-white{
  background-color:#020617 !important;
}
html.dark #topics-table tr.bg-gray-50{
  background-color:#020617 !important;
}

/* ===== AI Bulk Generator – Status কলামের ডার্ক থিম ===== */

/* স্ট্যাটাস কলামের পিল (Waiting / Generating / Done / Error) */
html.dark .status-pill{
  border:1px solid #1e293b !important;
}

/* Waiting */
html.dark .status-pill.waiting{
  background:#020617 !important;     /* গাঢ় ব্যাকগ্রাউন্ড */
  color:#e5e7eb !important;          /* লাইট টেক্সট */
}

/* Generating */
html.dark .status-pill.generating{
  background:rgba(37,99,235,0.20) !important;  /* নীলচে শেড */
  color:#bfdbfe !important;
}

/* Done / Success */
html.dark .status-pill.success{
  background:rgba(22,163,74,0.22) !important;  /* সবুজ শেড */
  color:#bbf7d0 !important;
}

/* Error */
html.dark .status-pill.error{
  background:rgba(220,38,38,0.22) !important;  /* রেড শেড */
  color:#fecaca !important;
}

/* টেবিলটাও ডার্কে একটু সুন্দর দেখানোর জন্য */
html.dark #generation-container{
  background-color:#020617 !important;
  border-color:#1e293b !important;
}

html.dark #topics-table{
  border-color:#1e293b !important;
}

html.dark #topics-table thead tr{
  background-color:#0b1120 !important;
}

html.dark #topics-table th,
html.dark #topics-table td{
  border-color:#1e293b !important;
  color:#e5e7eb !important;
}

/* আল্টারনেট রো শেড ঠিক করা (bg-white / bg-gray-50 কে ডার্ক করা) */
html.dark #topics-table tr.bg-white{
  background-color:#020617 !important;
}
html.dark #topics-table tr.bg-gray-50{
  background-color:#020617 !important;
}
/* ===== Admin Post List – Status pill dark mode ===== */

/* Published / Draft ব্যাকগ্রাউন্ডগুলো ডার্ক টোনে নেবো */
html.dark .bg-green-100{
  background-color: rgba(22,163,74,0.22) !important;  /* সবুজ ঘেঁষা ডার্ক */
}

html.dark .bg-yellow-100{
  background-color: rgba(250,204,21,0.18) !important; /* হলুদ ঘেঁষা ডার্ক */
}

/* টেক্সট কালার লাইট করতে হবে, না হলে ডার্ক ব্যাকগ্রাউন্ডে হারিয়ে যায় */
html.dark .text-green-600,
html.dark .text-green-700{
  color:#bbf7d0 !important;   /* tailwind এর green-200/300 টোনের মতো */
}

html.dark .text-yellow-600,
html.dark .text-yellow-700{
  color:#fef9c3 !important;   /* yellow-100 টোনের মতো */
}


