/* RKCMS THEME - Brand (Navy + Gold). Vibrant = default, is file ke bina wali styling. */
/* ===== 1) style.css / index.html ke class wale rang (auto) ===== */
html[data-theme="brand"] .btn-refresh{ background: #1B2A4A !important; }
html[data-theme="brand"] .btn-refresh:hover{ background: #1B2A4A !important; }
html[data-theme="brand"] .estimate-entry-table th{ background-color: #1B2A4A !important; }
html[data-theme="brand"] .estimate-entry-table input:focus{ border-color: #1B2A4A !important; box-shadow: 0 0 0 2px rgba(27, 42, 74, 0.1) !important; }
html[data-theme="brand"] .summary-item.grand-total{ color: #1B2A4A !important; }
html[data-theme="brand"] #save-lead-btn{ background-color: #1B2A4A !important; }
html[data-theme="brand"] #save-lead-btn:hover{ background-color: #1B2A4A !important; }
html[data-theme="brand"] .form-group input:focus{ border-color: #1B2A4A !important; box-shadow: 0 0 0 4px rgba(27, 42, 74, 0.1) !important; }
html[data-theme="brand"] #update-dashboard-btn{ background-color: #1B2A4A !important; }
html[data-theme="brand"] #update-dashboard-btn:hover{ background-color: #1B2A4A !important; }
html[data-theme="brand"] .btn-primary{ background: linear-gradient(135deg, #1B2A4A 0%, #1B2A4A 100%) !important; box-shadow: 0 4px 12px rgba(27, 42, 74, 0.2) !important; border-bottom: 3px solid #1B2A4A !important; }
html[data-theme="brand"] .btn-primary:hover{ background: linear-gradient(135deg, #1B2A4A 0%, #1B2A4A 100%) !important; box-shadow: 0 6px 18px rgba(27, 42, 74, 0.4) !important; }
html[data-theme="brand"] .btn-primary:active{ box-shadow: 0 2px 6px rgba(27, 42, 74, 0.2) !important; }
html[data-theme="brand"] .gst-table-input:focus{ border-color: #1B2A4A !important; box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.15) !important; }
html[data-theme="brand"] .menu-item.active{ background: #1B2A4A !important; box-shadow: 0 4px 12px rgba(27, 42, 74, 0.35) !important; }
html[data-theme="brand"] .menu-item[data-color="purple"]{ background-color: #F4EEDC !important; }
html[data-theme="brand"] #purchase-ledger-table-body input:focus{ border-color: #1B2A4A !important; }

/* ---- index.html <style> blocks ---- */
html[data-theme="brand"] #dailyCash-section .dc-seg button.on-upi{ background:#1B2A4A !important; }
html[data-theme="brand"] .pf-tab-btn.active{ background:#1B2A4A !important; border-color:#1B2A4A !important; box-shadow:0 4px 10px rgba(27,42,74,0.3) !important; }
html[data-theme="brand"] .pf-badge{ background:#F4EEDC !important; color:#1B2A4A !important; }
html[data-theme="brand"] .pf-btn-primary{ background:#1B2A4A !important; }

/* ---- inline style (style="...") wale rang ---- */
html[data-theme="brand"] [style*="gradient" i][style*="#eff6ff" i],
html[data-theme="brand"] [style*="gradient" i][style*="#ede9fe" i],
html[data-theme="brand"] [style*="gradient" i][style*="#dbeafe" i],
html[data-theme="brand"] [style*="gradient" i][style*="#bfdbfe" i],
html[data-theme="brand"] [style*="gradient" i][style*="#ddd6fe" i],
html[data-theme="brand"] [style*="gradient" i][style*="#eef2ff" i],
html[data-theme="brand"] [style*="gradient" i][style*="#c7d2fe" i],
html[data-theme="brand"] [style*="gradient" i][style*="#e0f2fe" i],
html[data-theme="brand"] [style*="gradient" i][style*="#e0e7ff" i],
html[data-theme="brand"] [style*="gradient" i][style*="#bae6fd" i],
html[data-theme="brand"] [style*="gradient" i][style*="#f3e8ff" i] { background: linear-gradient(135deg,#F4EEDC,#FBF8EE) !important; }
html[data-theme="brand"] [style*="gradient" i][style*="#2563eb" i],
html[data-theme="brand"] [style*="gradient" i][style*="#3b82f6" i],
html[data-theme="brand"] [style*="gradient" i][style*="#8b5cf6" i],
html[data-theme="brand"] [style*="gradient" i][style*="#7c3aed" i],
html[data-theme="brand"] [style*="gradient" i][style*="#6366f1" i],
html[data-theme="brand"] [style*="gradient" i][style*="#0ea5e9" i],
html[data-theme="brand"] [style*="gradient" i][style*="#6d28d9" i],
html[data-theme="brand"] [style*="gradient" i][style*="#4f46e5" i],
html[data-theme="brand"] [style*="gradient" i][style*="#1d4ed8" i],
html[data-theme="brand"] [style*="gradient" i][style*="#1e40af" i],
html[data-theme="brand"] [style*="gradient" i][style*="#312e81" i],
html[data-theme="brand"] [style*="gradient" i][style*="#0369a1" i],
html[data-theme="brand"] [style*="gradient" i][style*="#0284c7" i],
html[data-theme="brand"] [style*="gradient" i][style*="#5b21b6" i],
html[data-theme="brand"] [style*="gradient" i][style*="#3730a3" i],
html[data-theme="brand"] [style*="gradient" i][style*="#1e3a8a" i] { background: linear-gradient(135deg,#1B2A4A,#2E4270) !important; }
html[data-theme="brand"] [style*="background:#2563eb" i],
html[data-theme="brand"] [style*="background: #2563eb" i],
html[data-theme="brand"] [style*="background-color:#2563eb" i],
html[data-theme="brand"] [style*="background-color: #2563eb" i],
html[data-theme="brand"] [style*="background:#3b82f6" i],
html[data-theme="brand"] [style*="background: #3b82f6" i],
html[data-theme="brand"] [style*="background-color:#3b82f6" i],
html[data-theme="brand"] [style*="background-color: #3b82f6" i],
html[data-theme="brand"] [style*="background:#8b5cf6" i],
html[data-theme="brand"] [style*="background: #8b5cf6" i],
html[data-theme="brand"] [style*="background-color:#8b5cf6" i],
html[data-theme="brand"] [style*="background-color: #8b5cf6" i],
html[data-theme="brand"] [style*="background:#7c3aed" i],
html[data-theme="brand"] [style*="background: #7c3aed" i],
html[data-theme="brand"] [style*="background-color:#7c3aed" i],
html[data-theme="brand"] [style*="background-color: #7c3aed" i],
html[data-theme="brand"] [style*="background:#6366f1" i],
html[data-theme="brand"] [style*="background: #6366f1" i],
html[data-theme="brand"] [style*="background-color:#6366f1" i],
html[data-theme="brand"] [style*="background-color: #6366f1" i],
html[data-theme="brand"] [style*="background:#0ea5e9" i],
html[data-theme="brand"] [style*="background: #0ea5e9" i],
html[data-theme="brand"] [style*="background-color:#0ea5e9" i],
html[data-theme="brand"] [style*="background-color: #0ea5e9" i],
html[data-theme="brand"] [style*="background:#6d28d9" i],
html[data-theme="brand"] [style*="background: #6d28d9" i],
html[data-theme="brand"] [style*="background-color:#6d28d9" i],
html[data-theme="brand"] [style*="background-color: #6d28d9" i],
html[data-theme="brand"] [style*="background:#4f46e5" i],
html[data-theme="brand"] [style*="background: #4f46e5" i],
html[data-theme="brand"] [style*="background-color:#4f46e5" i],
html[data-theme="brand"] [style*="background-color: #4f46e5" i],
html[data-theme="brand"] [style*="background:#1d4ed8" i],
html[data-theme="brand"] [style*="background: #1d4ed8" i],
html[data-theme="brand"] [style*="background-color:#1d4ed8" i],
html[data-theme="brand"] [style*="background-color: #1d4ed8" i],
html[data-theme="brand"] [style*="background:#1e40af" i],
html[data-theme="brand"] [style*="background: #1e40af" i],
html[data-theme="brand"] [style*="background-color:#1e40af" i],
html[data-theme="brand"] [style*="background-color: #1e40af" i],
html[data-theme="brand"] [style*="background:#312e81" i],
html[data-theme="brand"] [style*="background: #312e81" i],
html[data-theme="brand"] [style*="background-color:#312e81" i],
html[data-theme="brand"] [style*="background-color: #312e81" i],
html[data-theme="brand"] [style*="background:#0369a1" i],
html[data-theme="brand"] [style*="background: #0369a1" i],
html[data-theme="brand"] [style*="background-color:#0369a1" i],
html[data-theme="brand"] [style*="background-color: #0369a1" i],
html[data-theme="brand"] [style*="background:#0284c7" i],
html[data-theme="brand"] [style*="background: #0284c7" i],
html[data-theme="brand"] [style*="background-color:#0284c7" i],
html[data-theme="brand"] [style*="background-color: #0284c7" i],
html[data-theme="brand"] [style*="background:#5b21b6" i],
html[data-theme="brand"] [style*="background: #5b21b6" i],
html[data-theme="brand"] [style*="background-color:#5b21b6" i],
html[data-theme="brand"] [style*="background-color: #5b21b6" i],
html[data-theme="brand"] [style*="background:#3730a3" i],
html[data-theme="brand"] [style*="background: #3730a3" i],
html[data-theme="brand"] [style*="background-color:#3730a3" i],
html[data-theme="brand"] [style*="background-color: #3730a3" i],
html[data-theme="brand"] [style*="background:#1e3a8a" i],
html[data-theme="brand"] [style*="background: #1e3a8a" i],
html[data-theme="brand"] [style*="background-color:#1e3a8a" i],
html[data-theme="brand"] [style*="background-color: #1e3a8a" i] { background: #1B2A4A !important; }
html[data-theme="brand"] [style*="background:#eff6ff" i],
html[data-theme="brand"] [style*="background: #eff6ff" i],
html[data-theme="brand"] [style*="background-color:#eff6ff" i],
html[data-theme="brand"] [style*="background-color: #eff6ff" i],
html[data-theme="brand"] [style*="background:#ede9fe" i],
html[data-theme="brand"] [style*="background: #ede9fe" i],
html[data-theme="brand"] [style*="background-color:#ede9fe" i],
html[data-theme="brand"] [style*="background-color: #ede9fe" i],
html[data-theme="brand"] [style*="background:#dbeafe" i],
html[data-theme="brand"] [style*="background: #dbeafe" i],
html[data-theme="brand"] [style*="background-color:#dbeafe" i],
html[data-theme="brand"] [style*="background-color: #dbeafe" i],
html[data-theme="brand"] [style*="background:#bfdbfe" i],
html[data-theme="brand"] [style*="background: #bfdbfe" i],
html[data-theme="brand"] [style*="background-color:#bfdbfe" i],
html[data-theme="brand"] [style*="background-color: #bfdbfe" i],
html[data-theme="brand"] [style*="background:#ddd6fe" i],
html[data-theme="brand"] [style*="background: #ddd6fe" i],
html[data-theme="brand"] [style*="background-color:#ddd6fe" i],
html[data-theme="brand"] [style*="background-color: #ddd6fe" i],
html[data-theme="brand"] [style*="background:#eef2ff" i],
html[data-theme="brand"] [style*="background: #eef2ff" i],
html[data-theme="brand"] [style*="background-color:#eef2ff" i],
html[data-theme="brand"] [style*="background-color: #eef2ff" i],
html[data-theme="brand"] [style*="background:#c7d2fe" i],
html[data-theme="brand"] [style*="background: #c7d2fe" i],
html[data-theme="brand"] [style*="background-color:#c7d2fe" i],
html[data-theme="brand"] [style*="background-color: #c7d2fe" i],
html[data-theme="brand"] [style*="background:#e0f2fe" i],
html[data-theme="brand"] [style*="background: #e0f2fe" i],
html[data-theme="brand"] [style*="background-color:#e0f2fe" i],
html[data-theme="brand"] [style*="background-color: #e0f2fe" i],
html[data-theme="brand"] [style*="background:#e0e7ff" i],
html[data-theme="brand"] [style*="background: #e0e7ff" i],
html[data-theme="brand"] [style*="background-color:#e0e7ff" i],
html[data-theme="brand"] [style*="background-color: #e0e7ff" i],
html[data-theme="brand"] [style*="background:#bae6fd" i],
html[data-theme="brand"] [style*="background: #bae6fd" i],
html[data-theme="brand"] [style*="background-color:#bae6fd" i],
html[data-theme="brand"] [style*="background-color: #bae6fd" i],
html[data-theme="brand"] [style*="background:#f3e8ff" i],
html[data-theme="brand"] [style*="background: #f3e8ff" i],
html[data-theme="brand"] [style*="background-color:#f3e8ff" i],
html[data-theme="brand"] [style*="background-color: #f3e8ff" i] { background: #F4EEDC !important; }
html[data-theme="brand"] [style^="color:#2563eb" i],
html[data-theme="brand"] [style^="color: #2563eb" i],
html[data-theme="brand"] [style*=" color:#2563eb" i],
html[data-theme="brand"] [style*=" color: #2563eb" i],
html[data-theme="brand"] [style*=";color:#2563eb" i],
html[data-theme="brand"] [style*=";color: #2563eb" i],
html[data-theme="brand"] [style^="color:#3b82f6" i],
html[data-theme="brand"] [style^="color: #3b82f6" i],
html[data-theme="brand"] [style*=" color:#3b82f6" i],
html[data-theme="brand"] [style*=" color: #3b82f6" i],
html[data-theme="brand"] [style*=";color:#3b82f6" i],
html[data-theme="brand"] [style*=";color: #3b82f6" i],
html[data-theme="brand"] [style^="color:#8b5cf6" i],
html[data-theme="brand"] [style^="color: #8b5cf6" i],
html[data-theme="brand"] [style*=" color:#8b5cf6" i],
html[data-theme="brand"] [style*=" color: #8b5cf6" i],
html[data-theme="brand"] [style*=";color:#8b5cf6" i],
html[data-theme="brand"] [style*=";color: #8b5cf6" i],
html[data-theme="brand"] [style^="color:#7c3aed" i],
html[data-theme="brand"] [style^="color: #7c3aed" i],
html[data-theme="brand"] [style*=" color:#7c3aed" i],
html[data-theme="brand"] [style*=" color: #7c3aed" i],
html[data-theme="brand"] [style*=";color:#7c3aed" i],
html[data-theme="brand"] [style*=";color: #7c3aed" i],
html[data-theme="brand"] [style^="color:#6366f1" i],
html[data-theme="brand"] [style^="color: #6366f1" i],
html[data-theme="brand"] [style*=" color:#6366f1" i],
html[data-theme="brand"] [style*=" color: #6366f1" i],
html[data-theme="brand"] [style*=";color:#6366f1" i],
html[data-theme="brand"] [style*=";color: #6366f1" i],
html[data-theme="brand"] [style^="color:#0ea5e9" i],
html[data-theme="brand"] [style^="color: #0ea5e9" i],
html[data-theme="brand"] [style*=" color:#0ea5e9" i],
html[data-theme="brand"] [style*=" color: #0ea5e9" i],
html[data-theme="brand"] [style*=";color:#0ea5e9" i],
html[data-theme="brand"] [style*=";color: #0ea5e9" i],
html[data-theme="brand"] [style^="color:#6d28d9" i],
html[data-theme="brand"] [style^="color: #6d28d9" i],
html[data-theme="brand"] [style*=" color:#6d28d9" i],
html[data-theme="brand"] [style*=" color: #6d28d9" i],
html[data-theme="brand"] [style*=";color:#6d28d9" i],
html[data-theme="brand"] [style*=";color: #6d28d9" i],
html[data-theme="brand"] [style^="color:#4f46e5" i],
html[data-theme="brand"] [style^="color: #4f46e5" i],
html[data-theme="brand"] [style*=" color:#4f46e5" i],
html[data-theme="brand"] [style*=" color: #4f46e5" i],
html[data-theme="brand"] [style*=";color:#4f46e5" i],
html[data-theme="brand"] [style*=";color: #4f46e5" i],
html[data-theme="brand"] [style^="color:#1d4ed8" i],
html[data-theme="brand"] [style^="color: #1d4ed8" i],
html[data-theme="brand"] [style*=" color:#1d4ed8" i],
html[data-theme="brand"] [style*=" color: #1d4ed8" i],
html[data-theme="brand"] [style*=";color:#1d4ed8" i],
html[data-theme="brand"] [style*=";color: #1d4ed8" i],
html[data-theme="brand"] [style^="color:#1e40af" i],
html[data-theme="brand"] [style^="color: #1e40af" i],
html[data-theme="brand"] [style*=" color:#1e40af" i],
html[data-theme="brand"] [style*=" color: #1e40af" i],
html[data-theme="brand"] [style*=";color:#1e40af" i],
html[data-theme="brand"] [style*=";color: #1e40af" i],
html[data-theme="brand"] [style^="color:#312e81" i],
html[data-theme="brand"] [style^="color: #312e81" i],
html[data-theme="brand"] [style*=" color:#312e81" i],
html[data-theme="brand"] [style*=" color: #312e81" i],
html[data-theme="brand"] [style*=";color:#312e81" i],
html[data-theme="brand"] [style*=";color: #312e81" i],
html[data-theme="brand"] [style^="color:#0369a1" i],
html[data-theme="brand"] [style^="color: #0369a1" i],
html[data-theme="brand"] [style*=" color:#0369a1" i],
html[data-theme="brand"] [style*=" color: #0369a1" i],
html[data-theme="brand"] [style*=";color:#0369a1" i],
html[data-theme="brand"] [style*=";color: #0369a1" i],
html[data-theme="brand"] [style^="color:#0284c7" i],
html[data-theme="brand"] [style^="color: #0284c7" i],
html[data-theme="brand"] [style*=" color:#0284c7" i],
html[data-theme="brand"] [style*=" color: #0284c7" i],
html[data-theme="brand"] [style*=";color:#0284c7" i],
html[data-theme="brand"] [style*=";color: #0284c7" i],
html[data-theme="brand"] [style^="color:#5b21b6" i],
html[data-theme="brand"] [style^="color: #5b21b6" i],
html[data-theme="brand"] [style*=" color:#5b21b6" i],
html[data-theme="brand"] [style*=" color: #5b21b6" i],
html[data-theme="brand"] [style*=";color:#5b21b6" i],
html[data-theme="brand"] [style*=";color: #5b21b6" i],
html[data-theme="brand"] [style^="color:#3730a3" i],
html[data-theme="brand"] [style^="color: #3730a3" i],
html[data-theme="brand"] [style*=" color:#3730a3" i],
html[data-theme="brand"] [style*=" color: #3730a3" i],
html[data-theme="brand"] [style*=";color:#3730a3" i],
html[data-theme="brand"] [style*=";color: #3730a3" i],
html[data-theme="brand"] [style^="color:#1e3a8a" i],
html[data-theme="brand"] [style^="color: #1e3a8a" i],
html[data-theme="brand"] [style*=" color:#1e3a8a" i],
html[data-theme="brand"] [style*=" color: #1e3a8a" i],
html[data-theme="brand"] [style*=";color:#1e3a8a" i],
html[data-theme="brand"] [style*=";color: #1e3a8a" i] { color: #1B2A4A !important; }
html[data-theme="brand"] [style^="color:#eff6ff" i],
html[data-theme="brand"] [style^="color: #eff6ff" i],
html[data-theme="brand"] [style*=" color:#eff6ff" i],
html[data-theme="brand"] [style*=" color: #eff6ff" i],
html[data-theme="brand"] [style*=";color:#eff6ff" i],
html[data-theme="brand"] [style*=";color: #eff6ff" i],
html[data-theme="brand"] [style^="color:#ede9fe" i],
html[data-theme="brand"] [style^="color: #ede9fe" i],
html[data-theme="brand"] [style*=" color:#ede9fe" i],
html[data-theme="brand"] [style*=" color: #ede9fe" i],
html[data-theme="brand"] [style*=";color:#ede9fe" i],
html[data-theme="brand"] [style*=";color: #ede9fe" i],
html[data-theme="brand"] [style^="color:#dbeafe" i],
html[data-theme="brand"] [style^="color: #dbeafe" i],
html[data-theme="brand"] [style*=" color:#dbeafe" i],
html[data-theme="brand"] [style*=" color: #dbeafe" i],
html[data-theme="brand"] [style*=";color:#dbeafe" i],
html[data-theme="brand"] [style*=";color: #dbeafe" i],
html[data-theme="brand"] [style^="color:#bfdbfe" i],
html[data-theme="brand"] [style^="color: #bfdbfe" i],
html[data-theme="brand"] [style*=" color:#bfdbfe" i],
html[data-theme="brand"] [style*=" color: #bfdbfe" i],
html[data-theme="brand"] [style*=";color:#bfdbfe" i],
html[data-theme="brand"] [style*=";color: #bfdbfe" i],
html[data-theme="brand"] [style^="color:#ddd6fe" i],
html[data-theme="brand"] [style^="color: #ddd6fe" i],
html[data-theme="brand"] [style*=" color:#ddd6fe" i],
html[data-theme="brand"] [style*=" color: #ddd6fe" i],
html[data-theme="brand"] [style*=";color:#ddd6fe" i],
html[data-theme="brand"] [style*=";color: #ddd6fe" i],
html[data-theme="brand"] [style^="color:#eef2ff" i],
html[data-theme="brand"] [style^="color: #eef2ff" i],
html[data-theme="brand"] [style*=" color:#eef2ff" i],
html[data-theme="brand"] [style*=" color: #eef2ff" i],
html[data-theme="brand"] [style*=";color:#eef2ff" i],
html[data-theme="brand"] [style*=";color: #eef2ff" i],
html[data-theme="brand"] [style^="color:#c7d2fe" i],
html[data-theme="brand"] [style^="color: #c7d2fe" i],
html[data-theme="brand"] [style*=" color:#c7d2fe" i],
html[data-theme="brand"] [style*=" color: #c7d2fe" i],
html[data-theme="brand"] [style*=";color:#c7d2fe" i],
html[data-theme="brand"] [style*=";color: #c7d2fe" i],
html[data-theme="brand"] [style^="color:#e0f2fe" i],
html[data-theme="brand"] [style^="color: #e0f2fe" i],
html[data-theme="brand"] [style*=" color:#e0f2fe" i],
html[data-theme="brand"] [style*=" color: #e0f2fe" i],
html[data-theme="brand"] [style*=";color:#e0f2fe" i],
html[data-theme="brand"] [style*=";color: #e0f2fe" i],
html[data-theme="brand"] [style^="color:#e0e7ff" i],
html[data-theme="brand"] [style^="color: #e0e7ff" i],
html[data-theme="brand"] [style*=" color:#e0e7ff" i],
html[data-theme="brand"] [style*=" color: #e0e7ff" i],
html[data-theme="brand"] [style*=";color:#e0e7ff" i],
html[data-theme="brand"] [style*=";color: #e0e7ff" i],
html[data-theme="brand"] [style^="color:#bae6fd" i],
html[data-theme="brand"] [style^="color: #bae6fd" i],
html[data-theme="brand"] [style*=" color:#bae6fd" i],
html[data-theme="brand"] [style*=" color: #bae6fd" i],
html[data-theme="brand"] [style*=";color:#bae6fd" i],
html[data-theme="brand"] [style*=";color: #bae6fd" i],
html[data-theme="brand"] [style^="color:#f3e8ff" i],
html[data-theme="brand"] [style^="color: #f3e8ff" i],
html[data-theme="brand"] [style*=" color:#f3e8ff" i],
html[data-theme="brand"] [style*=" color: #f3e8ff" i],
html[data-theme="brand"] [style*=";color:#f3e8ff" i],
html[data-theme="brand"] [style*=";color: #f3e8ff" i] { color: #F4EEDC !important; }
html[data-theme="brand"] [style*="solid #2563eb" i],
html[data-theme="brand"] [style*="solid#2563eb" i],
html[data-theme="brand"] [style*="border-color:#2563eb" i],
html[data-theme="brand"] [style*="border-color: #2563eb" i],
html[data-theme="brand"] [style*="solid #3b82f6" i],
html[data-theme="brand"] [style*="solid#3b82f6" i],
html[data-theme="brand"] [style*="border-color:#3b82f6" i],
html[data-theme="brand"] [style*="border-color: #3b82f6" i],
html[data-theme="brand"] [style*="solid #8b5cf6" i],
html[data-theme="brand"] [style*="solid#8b5cf6" i],
html[data-theme="brand"] [style*="border-color:#8b5cf6" i],
html[data-theme="brand"] [style*="border-color: #8b5cf6" i],
html[data-theme="brand"] [style*="solid #7c3aed" i],
html[data-theme="brand"] [style*="solid#7c3aed" i],
html[data-theme="brand"] [style*="border-color:#7c3aed" i],
html[data-theme="brand"] [style*="border-color: #7c3aed" i],
html[data-theme="brand"] [style*="solid #6366f1" i],
html[data-theme="brand"] [style*="solid#6366f1" i],
html[data-theme="brand"] [style*="border-color:#6366f1" i],
html[data-theme="brand"] [style*="border-color: #6366f1" i],
html[data-theme="brand"] [style*="solid #0ea5e9" i],
html[data-theme="brand"] [style*="solid#0ea5e9" i],
html[data-theme="brand"] [style*="border-color:#0ea5e9" i],
html[data-theme="brand"] [style*="border-color: #0ea5e9" i],
html[data-theme="brand"] [style*="solid #6d28d9" i],
html[data-theme="brand"] [style*="solid#6d28d9" i],
html[data-theme="brand"] [style*="border-color:#6d28d9" i],
html[data-theme="brand"] [style*="border-color: #6d28d9" i],
html[data-theme="brand"] [style*="solid #4f46e5" i],
html[data-theme="brand"] [style*="solid#4f46e5" i],
html[data-theme="brand"] [style*="border-color:#4f46e5" i],
html[data-theme="brand"] [style*="border-color: #4f46e5" i],
html[data-theme="brand"] [style*="solid #1d4ed8" i],
html[data-theme="brand"] [style*="solid#1d4ed8" i],
html[data-theme="brand"] [style*="border-color:#1d4ed8" i],
html[data-theme="brand"] [style*="border-color: #1d4ed8" i],
html[data-theme="brand"] [style*="solid #1e40af" i],
html[data-theme="brand"] [style*="solid#1e40af" i],
html[data-theme="brand"] [style*="border-color:#1e40af" i],
html[data-theme="brand"] [style*="border-color: #1e40af" i],
html[data-theme="brand"] [style*="solid #312e81" i],
html[data-theme="brand"] [style*="solid#312e81" i],
html[data-theme="brand"] [style*="border-color:#312e81" i],
html[data-theme="brand"] [style*="border-color: #312e81" i],
html[data-theme="brand"] [style*="solid #0369a1" i],
html[data-theme="brand"] [style*="solid#0369a1" i],
html[data-theme="brand"] [style*="border-color:#0369a1" i],
html[data-theme="brand"] [style*="border-color: #0369a1" i],
html[data-theme="brand"] [style*="solid #0284c7" i],
html[data-theme="brand"] [style*="solid#0284c7" i],
html[data-theme="brand"] [style*="border-color:#0284c7" i],
html[data-theme="brand"] [style*="border-color: #0284c7" i],
html[data-theme="brand"] [style*="solid #5b21b6" i],
html[data-theme="brand"] [style*="solid#5b21b6" i],
html[data-theme="brand"] [style*="border-color:#5b21b6" i],
html[data-theme="brand"] [style*="border-color: #5b21b6" i],
html[data-theme="brand"] [style*="solid #3730a3" i],
html[data-theme="brand"] [style*="solid#3730a3" i],
html[data-theme="brand"] [style*="border-color:#3730a3" i],
html[data-theme="brand"] [style*="border-color: #3730a3" i],
html[data-theme="brand"] [style*="solid #1e3a8a" i],
html[data-theme="brand"] [style*="solid#1e3a8a" i],
html[data-theme="brand"] [style*="border-color:#1e3a8a" i],
html[data-theme="brand"] [style*="border-color: #1e3a8a" i] { border-color: #C9972A !important; }
html[data-theme="brand"] i[style*="color:#2563eb" i],
html[data-theme="brand"] i[style*="color: #2563eb" i],
html[data-theme="brand"] i[style*="color:#3b82f6" i],
html[data-theme="brand"] i[style*="color: #3b82f6" i],
html[data-theme="brand"] i[style*="color:#8b5cf6" i],
html[data-theme="brand"] i[style*="color: #8b5cf6" i],
html[data-theme="brand"] i[style*="color:#7c3aed" i],
html[data-theme="brand"] i[style*="color: #7c3aed" i],
html[data-theme="brand"] i[style*="color:#6366f1" i],
html[data-theme="brand"] i[style*="color: #6366f1" i],
html[data-theme="brand"] i[style*="color:#0ea5e9" i],
html[data-theme="brand"] i[style*="color: #0ea5e9" i],
html[data-theme="brand"] i[style*="color:#6d28d9" i],
html[data-theme="brand"] i[style*="color: #6d28d9" i],
html[data-theme="brand"] i[style*="color:#4f46e5" i],
html[data-theme="brand"] i[style*="color: #4f46e5" i],
html[data-theme="brand"] i[style*="color:#1d4ed8" i],
html[data-theme="brand"] i[style*="color: #1d4ed8" i],
html[data-theme="brand"] i[style*="color:#1e40af" i],
html[data-theme="brand"] i[style*="color: #1e40af" i],
html[data-theme="brand"] i[style*="color:#312e81" i],
html[data-theme="brand"] i[style*="color: #312e81" i],
html[data-theme="brand"] i[style*="color:#0369a1" i],
html[data-theme="brand"] i[style*="color: #0369a1" i],
html[data-theme="brand"] i[style*="color:#0284c7" i],
html[data-theme="brand"] i[style*="color: #0284c7" i],
html[data-theme="brand"] i[style*="color:#5b21b6" i],
html[data-theme="brand"] i[style*="color: #5b21b6" i],
html[data-theme="brand"] i[style*="color:#3730a3" i],
html[data-theme="brand"] i[style*="color: #3730a3" i],
html[data-theme="brand"] i[style*="color:#1e3a8a" i],
html[data-theme="brand"] i[style*="color: #1e3a8a" i] { color: #C9972A !important; }

/* ===== 2) Brand ke khaas rules (sidebar, topbar, buttons) ===== */
/* =========================================================================
   RKCMS Studios CRM - THEME
   Default: "Vibrant" (rang-birangi, style.css jaisa). Setting -> Theme se "Brand" chuno:
   Brand = Navy #1B2A4A + Gold #C9972A + Gray #5A5A5A + White (company ke official rang).
   Brand tab html[data-theme="brand"] par laagu hota hai; pehle wali sab styling waisi ki waisi rehti hai.
   ========================================================================= */
html[data-theme="brand"] {
    --primary-color: #1B2A4A;
    --bg-light: #F4F2EC;
    --text-dark: #1B2A4A;
    --brand-navy: #1B2A4A;
    --brand-navy-2: #2E4270;
    --brand-gold: #C9972A;
    --brand-gray: #5A5A5A;
}
html[data-theme="brand"] body { background-color: #F4F2EC; }

/* ---- Sidebar ---- */
html[data-theme="brand"] .sidebar { background-color: #1B2A4A; color: #fff; }
html[data-theme="brand"] .sidebar::-webkit-scrollbar-thumb { background: #C9972A; }
html[data-theme="brand"] .brand-name { color: #C9972A; border-bottom: 1px solid rgba(201,151,42,0.45); }
html[data-theme="brand"] .menu-item { color: #E6DFC9; }
html[data-theme="brand"] .menu-item:hover { background: rgba(201,151,42,0.22); color: #fff; }
html[data-theme="brand"] .menu-item[data-color] { background-color: rgba(255,255,255,0.07) !important; color: #E6DFC9 !important; }
html[data-theme="brand"] .menu-item[data-color] i { color: #C9972A !important; }
html[data-theme="brand"] .menu-item[data-color]:hover { background-color: rgba(201,151,42,0.25) !important; color: #fff !important; }
html[data-theme="brand"] .menu-item[data-color].active,
html[data-theme="brand"] .menu-item.active { background-color: #C9972A !important; color: #1B2A4A !important; font-weight: 700; }
html[data-theme="brand"] .menu-item[data-color].active i,
html[data-theme="brand"] .menu-item.active i { color: #1B2A4A !important; }

/* ---- Topbar ---- */
html[data-theme="brand"] .topbar { background: #FFFFFF; border-bottom: 3px solid #C9972A; }

/* ---- Login screen ---- */
html[data-theme="brand"] #login-overlay { background: linear-gradient(135deg,#101A31 0%,#1B2A4A 55%,#2E4270 100%) !important; }

/* ---- Buttons / focus ---- */
html[data-theme="brand"] .btn-primary { background: linear-gradient(135deg,#1B2A4A 0%,#2E4270 100%) !important; color: #fff !important; }
html[data-theme="brand"] .btn-primary:hover { background: linear-gradient(135deg,#C9972A 0%,#B4821F 100%) !important; color: #1B2A4A !important; box-shadow: 0 6px 18px rgba(201,151,42,0.4); }
html[data-theme="brand"] input:focus, html[data-theme="brand"] select:focus, html[data-theme="brand"] textarea:focus { border-color: #C9972A !important; box-shadow: 0 0 0 3px rgba(201,151,42,0.18) !important; outline: none; }
html[data-theme="brand"] ::selection { background: rgba(201,151,42,0.35); }

/* ---- Tables ---- */
html[data-theme="brand"] .data-table thead th { background: #1B2A4A !important; color: #fff !important; border-bottom: 3px solid #C9972A; }

/* ---- Theme chooser (Setting) ---- */
.theme-choice { display:flex; gap:12px; flex-wrap:wrap; }
.theme-card { flex:1 1 200px; border:2px solid #e2e8f0; border-radius:12px; padding:12px; cursor:pointer; background:#fff; text-align:left; transition:.2s; }
.theme-card:hover { border-color:#94a3b8; }
.theme-card .sw { display:flex; gap:6px; margin-bottom:8px; }
.theme-card .sw i { display:block; width:34px; height:22px; border-radius:6px; border:1px solid rgba(0,0,0,.08); }
.theme-card b { display:block; font-size:14px; color:#1e293b; }
.theme-card small { display:block; font-size:12px; color:#64748b; margin-top:2px; }
.theme-card .tag { display:none; margin-top:8px; font-size:11px; font-weight:700; color:#16a34a; }
.theme-card.is-on { border-color:#16a34a; background:#f0fdf4; }
.theme-card.is-on .tag { display:block; }

/* hover: gold */
html[data-theme="brand"] .btn-refresh:hover,
html[data-theme="brand"] #save-lead-btn:hover,
html[data-theme="brand"] #update-dashboard-btn:hover { background: #C9972A !important; color: #1B2A4A !important; }
html[data-theme="brand"] .hamburger:hover { background: #F4EEDC; }

/* Dashboard cards: rang-birangi ki jagah brand (Navy / Gold). Red (due) jaisa tha waisa hi rehta hai. */
html[data-theme="brand"] #dashboard-metric-cards > div[style*="#10b981"],
html[data-theme="brand"] #dashboard-metric-cards > div[style*="#14b8a6"],
html[data-theme="brand"] #dashboard-metric-cards > div[style*="#0ea5e9"],
html[data-theme="brand"] #dashboard-metric-cards > div[style*="#6366f1"],
html[data-theme="brand"] #dashboard-metric-cards > div[style*="#8b5cf6"] {
    background: linear-gradient(135deg,#1B2A4A,#2E4270) !important; box-shadow: 0 10px 20px -8px rgba(27,42,74,0.55) !important; }
html[data-theme="brand"] #dashboard-metric-cards > div[style*="#f59e0b"],
html[data-theme="brand"] #dashboard-metric-cards > div[style*="#d97706"],
html[data-theme="brand"] #dashboard-metric-cards > div[style*="#ea580c"],
html[data-theme="brand"] #dashboard-metric-cards > div[style*="#b45309"] {
    background: linear-gradient(135deg,#C9972A,#A87A1C) !important; box-shadow: 0 10px 20px -8px rgba(201,151,42,0.55) !important; }
html[data-theme="brand"] .topbar button[onclick*="efresh"], html[data-theme="brand"] .topbar .btn-refresh { background: #C9972A !important; color: #1B2A4A !important; }

/* Theme card ke rang ke dibbe (class se, taaki Brand theme mein bhi Vibrant ke asli rang dikhen) */
.theme-card .sw .sw-a { background:#2563eb; } .theme-card .sw .sw-b { background:#8b5cf6; }
.theme-card .sw .sw-c { background:#16a34a; } .theme-card .sw .sw-d { background:#ea580c; }
.theme-card .sw .sw-e { background:#1B2A4A; } .theme-card .sw .sw-f { background:#C9972A; }
.theme-card .sw .sw-g { background:#5A5A5A; } .theme-card .sw .sw-h { background:#FFFFFF; }
