/**
 * BazaarVerse POS — text contrast / readability (light theme)
 * Colors only — no layout or behavior changes.
 *
 * Primary bug: Customer Ledger used bg-[#1A1A2E] + text-white, but that arbitrary
 * background was missing from the built Tailwind CSS → white text on white.
 */

/* -------------------------------------------------------------------------- */
/* Missing arbitrary utilities (added in dist JS after last Vite build)       */
/* -------------------------------------------------------------------------- */
.bg-\[\#1A1A2E\] {
  background-color: #1a1a2e !important;
}
.bg-\[\#1ebe57\] {
  background-color: #1ebe57 !important;
}
.bg-\[\#4a28d4\] {
  background-color: #4a28d4 !important;
}
.text-\[\#8A8A8A\] {
  color: #6b7280 !important;
}

/* -------------------------------------------------------------------------- */
/* Table column headers                                                       */
/* -------------------------------------------------------------------------- */
table thead th {
  color: #374151 !important; /* gray-700 — clear on white / gray-50 */
}

/* Dark header bars keep white labels */
table thead tr.bg-gray-900 th,
table thead tr.bg-gray-800 th,
table thead tr.bg-\[\#1A1A2E\] th,
table thead tr.text-white th {
  color: #ffffff !important;
}

thead tr.text-gray-400,
thead tr.text-gray-500 {
  color: #374151 !important;
}

/* -------------------------------------------------------------------------- */
/* Uppercase micro-labels (filters, card strips, grid list headers)           */
/* Keep secondary hierarchy — gray-600, not pure black                        */
/* -------------------------------------------------------------------------- */
.uppercase.tracking-wider.text-gray-400,
.uppercase.tracking-widest.text-gray-400,
.uppercase.tracking-wide.text-gray-400,
.uppercase.tracking-\[0\.08em\].text-gray-400,
.uppercase.text-gray-400.tracking-wider,
.uppercase.text-gray-400.tracking-widest,
label.text-gray-400,
label.uppercase.text-gray-400,
label.uppercase.text-gray-500 {
  color: #4b5563 !important; /* gray-600 */
}

.uppercase.tracking-wider.text-gray-500,
.uppercase.tracking-widest.text-gray-500,
.uppercase.tracking-wide.text-gray-500,
.uppercase.text-gray-500.tracking-wider,
.uppercase.text-gray-500.tracking-widest {
  color: #374151 !important; /* gray-700 for header-weight labels */
}

/* Inventory-style grid header bars */
.bg-gray-50.uppercase.text-gray-400,
.bg-gray-50.rounded-t-xl.text-gray-400,
.rounded-t-xl.uppercase.text-gray-400 {
  color: #4b5563 !important;
}

/* Empty-state cells */
td.text-center.text-gray-400.italic,
td.text-gray-400.text-sm.italic {
  color: #6b7280 !important;
}
