/* OffshoreDedi V4.5 — final light-mode finishing fixes
   1) Order Summary 'Total Due Today' readability
   2) Invoice status badge contrast in light mode
*/

/* --------------------------------------------------------------------------
   CART / PRODUCT CONFIGURATION — TOTAL DUE TODAY
   -------------------------------------------------------------------------- */
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .total-due-today,
html[data-od-theme="light"] body #order-standard_cart .order-summary .total-due-today{
  background:#f2f5f9!important;
  border-top:1px solid #d5dee9!important;
  color:#243247!important;
}

html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .total-due-today *,
html[data-od-theme="light"] body #order-standard_cart .order-summary .total-due-today *{
  color:#243247!important;
  opacity:1!important;
}

html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .total-due-today .amt,
html[data-od-theme="light"] body #order-standard_cart .order-summary .total-due-today .amt,
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .total-due-today strong,
html[data-od-theme="light"] body #order-standard_cart .order-summary .total-due-today strong{
  color:#182335!important;
  font-weight:700!important;
}

/* Some order-form builds use a dark utility/background class on this row. */
html[data-od-theme="light"] body #order-standard_cart .order-summary .total-due-today.bg-dark,
html[data-od-theme="light"] body #order-standard_cart .order-summary .total-due-today.bg-inverted,
html[data-od-theme="light"] body #order-standard_cart .order-summary .total-due-today[class*="bg-"]{
  background:#f2f5f9!important;
}

/* Keep the whole summary visually consistent and remove any dark strip bleed. */
html[data-od-theme="light"] body #order-standard_cart .order-summary .summary-container{
  overflow:hidden!important;
}

/* --------------------------------------------------------------------------
   CLIENT AREA — STATUS BADGES
   -------------------------------------------------------------------------- */
html[data-od-theme="light"] body #main-body .status-cancelled,
html[data-od-theme="light"] body #main-body .badge.status-cancelled,
html[data-od-theme="light"] body #main-body span.status-cancelled,
html[data-od-theme="light"] body #main-body .label.status-cancelled{
  background:#667085!important;
  border-color:#667085!important;
  color:#fff!important;
  opacity:1!important;
  font-weight:600!important;
  text-shadow:none!important;
}

/* Keep all standard status pills legible in light mode. */
html[data-od-theme="light"] body #main-body [class*="status-"]{
  opacity:1!important;
}
html[data-od-theme="light"] body #main-body .status-paid,
html[data-od-theme="light"] body #main-body .status-active,
html[data-od-theme="light"] body #main-body .status-completed{
  color:#fff!important;
}
html[data-od-theme="light"] body #main-body .status-unpaid,
html[data-od-theme="light"] body #main-body .status-overdue,
html[data-od-theme="light"] body #main-body .status-terminated{
  color:#fff!important;
}

/* Data-table status badges: compact and crisp. */
html[data-od-theme="light"] body #main-body table .status-cancelled{
  display:inline-block!important;
  min-width:82px!important;
  padding:.22rem .7rem!important;
  border-radius:999px!important;
  line-height:1.15!important;
  text-align:center!important;
}
