/* NextSure v50 — order status full-row colors only.
   This file intentionally changes no dashboard structure or functionality. */

/*
  Older dashboard styles use striped row backgrounds with !important.
  These selectors are deliberately more specific and are loaded last so the
  selected status color covers the complete order row, including every cell.
*/

#ordersView .orders-table-wrap tbody tr.ns-status-row--pending,
#ordersView .orders-table-wrap tbody tr.ns-status-row--pending > td {
  background: #fff4c7 !important;
  background-image: none !important;
}

#ordersView .orders-table-wrap tbody tr.ns-status-row--processing,
#ordersView .orders-table-wrap tbody tr.ns-status-row--processing > td {
  background: #dfeeff !important;
  background-image: none !important;
}

#ordersView .orders-table-wrap tbody tr.ns-status-row--underwriting,
#ordersView .orders-table-wrap tbody tr.ns-status-row--underwriting > td {
  background: #eee6ff !important;
  background-image: none !important;
}

#ordersView .orders-table-wrap tbody tr.ns-status-row--underwriting-done,
#ordersView .orders-table-wrap tbody tr.ns-status-row--underwriting-done > td {
  background: #d9f8f1 !important;
  background-image: none !important;
}

#ordersView .orders-table-wrap tbody tr.ns-status-row--approved,
#ordersView .orders-table-wrap tbody tr.ns-status-row--approved > td {
  background: #def7e5 !important;
  background-image: none !important;
}

#ordersView .orders-table-wrap tbody tr.ns-status-row--rejected,
#ordersView .orders-table-wrap tbody tr.ns-status-row--rejected > td {
  background: #ffe1e7 !important;
  background-image: none !important;
}

#ordersView .orders-table-wrap tbody tr.ns-status-row--cancel,
#ordersView .orders-table-wrap tbody tr.ns-status-row--cancel > td {
  background: #e9eef4 !important;
  background-image: none !important;
}

/* Keep the same full-row status color on hover instead of the old striped hover. */
#ordersView .orders-table-wrap tbody tr.ns-status-row:hover,
#ordersView .orders-table-wrap tbody tr.ns-status-row:hover > td {
  background-image: none !important;
}

/* A clear status-colored edge without affecting table width or alignment. */
#ordersView .orders-table-wrap tbody tr.ns-status-row--pending > td:first-child { box-shadow: inset 5px 0 0 #d97706; }
#ordersView .orders-table-wrap tbody tr.ns-status-row--processing > td:first-child { box-shadow: inset 5px 0 0 #2563eb; }
#ordersView .orders-table-wrap tbody tr.ns-status-row--underwriting > td:first-child { box-shadow: inset 5px 0 0 #7c3aed; }
#ordersView .orders-table-wrap tbody tr.ns-status-row--underwriting-done > td:first-child { box-shadow: inset 5px 0 0 #0f766e; }
#ordersView .orders-table-wrap tbody tr.ns-status-row--approved > td:first-child { box-shadow: inset 5px 0 0 #15803d; }
#ordersView .orders-table-wrap tbody tr.ns-status-row--rejected > td:first-child { box-shadow: inset 5px 0 0 #dc2626; }
#ordersView .orders-table-wrap tbody tr.ns-status-row--cancel > td:first-child { box-shadow: inset 5px 0 0 #64748b; }
