
/* CORRECTO_WMS_DS01_PRODUCTS_BRIDGE
   Pilot scope: reconciliation dialog only.
   No changes to stock, modal mechanics, or JS.
*/

html[data-theme="light"] body.page-products .bs50-dialog,
html[data-theme="dark"] body.page-products .bs50-dialog {
  background: var(--wms-ui-surface) !important;
  color: var(--wms-ui-text) !important;
  border-color: var(--wms-ui-border) !important;
  box-shadow: var(--wms-ui-shadow) !important;
}

html[data-theme="light"] body.page-products .bs50-root,
html[data-theme="dark"] body.page-products .bs50-root {
  background: var(--wms-ui-surface-2) !important;
  color: var(--wms-ui-text) !important;
  border-color: var(--wms-ui-border) !important;
}

html[data-theme="light"] body.page-products .bs50-top h3,
html[data-theme="dark"] body.page-products .bs50-top h3 {
  color: var(--wms-ui-heading) !important;
}

html[data-theme="light"] body.page-products .bs50-info,
html[data-theme="light"] body.page-products .bs50-note,
html[data-theme="light"] body.page-products .bs50-page,
html[data-theme="light"] body.page-products .bs50-name,
html[data-theme="dark"] body.page-products .bs50-info,
html[data-theme="dark"] body.page-products .bs50-note,
html[data-theme="dark"] body.page-products .bs50-page,
html[data-theme="dark"] body.page-products .bs50-name {
  color: var(--wms-ui-muted) !important;
}

html[data-theme="light"] body.page-products .bs50-search,
html[data-theme="dark"] body.page-products .bs50-search {
  background: var(--wms-ui-input) !important;
  color: var(--wms-ui-text) !important;
  border-color: var(--wms-ui-border) !important;
}

html[data-theme="light"] body.page-products .bs50-button,
html[data-theme="light"] body.page-products .bs50-close,
html[data-theme="dark"] body.page-products .bs50-button,
html[data-theme="dark"] body.page-products .bs50-close {
  background: var(--wms-ui-primary);
  color: var(--wms-ui-primary-text);
  border-color: var(--wms-ui-primary);
}

html[data-theme="light"] body.page-products .bs50-table-scroll,
html[data-theme="dark"] body.page-products .bs50-table-scroll {
  border-color: var(--wms-ui-border) !important;
}

html[data-theme="light"] body.page-products .bs50-table,
html[data-theme="dark"] body.page-products .bs50-table {
  background: var(--wms-ui-surface) !important;
  color: var(--wms-ui-text) !important;
}

html[data-theme="light"] body.page-products .bs50-table th,
html[data-theme="dark"] body.page-products .bs50-table th {
  background: var(--wms-ui-surface-2) !important;
  color: var(--wms-ui-heading) !important;
  border-color: var(--wms-ui-border) !important;
}

html[data-theme="light"] body.page-products .bs50-table td,
html[data-theme="dark"] body.page-products .bs50-table td {
  background: transparent !important;
  color: var(--wms-ui-text) !important;
  border-color: var(--wms-ui-border) !important;
}

html[data-theme="light"] body.page-products .bs50-table td.bs50-negative,
html[data-theme="dark"] body.page-products .bs50-table td.bs50-negative {
  color: var(--wms-ui-danger) !important;
}

html[data-theme="light"] body.page-products .bs50-table td.bs50-positive,
html[data-theme="dark"] body.page-products .bs50-table td.bs50-positive {
  color: var(--wms-ui-success) !important;
}

html[data-theme="light"] body.page-products .bs50-link,
html[data-theme="dark"] body.page-products .bs50-link {
  color: var(--wms-ui-primary) !important;
}

html[data-theme="light"] body.page-products .bs50-overlay,
html[data-theme="dark"] body.page-products .bs50-overlay {
  background: var(--wms-ui-overlay) !important;
}

html[data-theme="light"] body.page-products .bs51-export,
html[data-theme="dark"] body.page-products .bs51-export {
  background: var(--wms-ui-success) !important;
  color: var(--wms-ui-surface) !important;
  border-color: var(--wms-ui-success) !important;
}

html[data-theme="light"] body.page-products .bs50-nav,
html[data-theme="dark"] body.page-products .bs50-nav {
  border-color: var(--wms-ui-border) !important;
}
