/**
 * DistHub navy brand polish — buttons, icons, highlighted boxes, dark mode text.
 * Load after module CSS and disthub-dark-mode.css.
 */

/* ——— Buttons & icon colour inside buttons ——— */
.btn-primary,
button.btn-primary,
a.btn-primary,
input[type="submit"].btn-primary,
.hisab-complete-btn,
.bill-assign-multi-foot .btn-primary,
.bill-assign-btn.btn-primary,
.pm-party-btn-save {
  background: linear-gradient(180deg, var(--dh-brand-mid, #3b82f6) 0%, var(--dh-brand-dark, #1e3a8a) 100%) !important;
  border-color: var(--dh-brand-dark, #1e3a8a) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.32) !important;
}

.btn-primary:hover:not(:disabled),
.hisab-complete-btn:hover:not(:disabled),
.pm-party-btn-save:hover:not(:disabled) {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.4) !important;
}

.btn-primary svg,
.btn-primary .nav-icon-svg,
.btn-filter-by-date-icon,
.btn-filter-by-date svg,
.assign-toolbar .btn-primary svg,
.assign-chip svg {
  color: currentColor;
  fill: currentColor;
}

.btn-secondary:hover,
.btn-outline-secondary:hover {
  border-color: var(--dh-brand, #1e40af) !important;
  color: var(--dh-brand, #1e40af) !important;
}

/* ——— Light mode: highlighted / info boxes (readable navy tint) ——— */
.assign-workflow-hint,
.bill-photo-callout,
.bill-photo-hint,
.bill-photo-ocr-hint,
.hisab-complete-banner,
.hisab-calc-note--ok,
.dh-daily-toolbar-note {
  background: var(--dh-brand-soft, #dbeafe) !important;
  border-color: rgba(30, 64, 175, 0.22) !important;
  color: var(--dh-brand-dark, #1e3a8a) !important;
}

.assign-workflow-hint strong,
.bill-photo-callout strong,
.hisab-calc-note--ok strong {
  color: var(--dh-brand, #1e40af) !important;
}

/* Legacy hard-coded green highlight panels → navy */
.bill-photo-page .bill-photo-steps .assign-chip.is-done,
.assign-stat-card--active,
.assign-area-scope-hint {
  background: var(--dh-brand-soft, #dbeafe) !important;
  border-color: rgba(30, 64, 175, 0.28) !important;
  color: var(--dh-brand-dark, #1e3a8a) !important;
}

/* Toolbar chips / segments (light) */
.assign-chip.is-active:not(.assign-chip--cash):not(.assign-chip--debit):not(.assign-chip--reassign) {
  background: var(--dh-brand-soft, #dbeafe);
  border-color: rgba(30, 64, 175, 0.35);
  color: var(--dh-brand-dark, #1e3a8a);
}

.assign-status-segment button.is-active:not([data-status="delivered_paid"]) {
  border-color: var(--dh-brand, #1e40af);
  color: var(--dh-brand-dark, #1e3a8a);
}

/* Nav / sidebar active stripe already uses --dh-green alias */

/* ——— Dark mode: highlighted boxes & text visibility ——— */
.disthub-root.theme-dark .assign-workflow-hint,
.disthub-root.theme-dark .bill-photo-callout,
.disthub-root.theme-dark .bill-photo-hint,
.disthub-root.theme-dark .hisab-calc-note--ok,
.disthub-root.theme-dark .dh-daily-toolbar-note,
.disthub-root.theme-dark .assign-area-scope-hint,
.disthub-root.theme-dark .bill-photo-page .bill-photo-steps .assign-chip.is-done {
  background: rgba(30, 64, 175, 0.22) !important;
  border-color: rgba(96, 165, 250, 0.38) !important;
  color: #dbeafe !important;
}

.disthub-root.theme-dark .assign-workflow-hint strong,
.disthub-root.theme-dark .bill-photo-callout strong,
.disthub-root.theme-dark .hisab-calc-note--ok strong {
  color: #93c5fd !important;
}

.disthub-root.theme-dark .btn-primary,
.disthub-root.theme-dark button.btn-primary,
.disthub-root.theme-dark a.btn-primary,
.disthub-root.theme-dark .hisab-complete-btn,
.disthub-root.theme-dark .pm-party-btn-save {
  background: linear-gradient(180deg, #3b82f6 0%, #1e3a8a 100%) !important;
  border-color: #2563eb !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.45) !important;
}

.disthub-root.theme-dark .btn-secondary {
  background: var(--dh-surface);
  border-color: var(--dh-border);
  color: var(--dh-text);
}

.disthub-root.theme-dark .btn-secondary:hover {
  border-color: #60a5fa !important;
  color: #93c5fd !important;
  background: rgba(30, 64, 175, 0.14) !important;
}

.disthub-root.theme-dark .btn-filter-by-date:hover {
  background: rgba(30, 64, 175, 0.18) !important;
  border-color: #60a5fa !important;
  color: #dbeafe !important;
}

.disthub-root.theme-dark .btn-filter-by-date-icon {
  color: #93c5fd !important;
}

/* Dark: green-soft legacy panels */
.disthub-root.theme-dark [style*="ecfdf5"],
.disthub-root.theme-dark [style*="dcfce7"],
.disthub-root.theme-dark .bill-photo-status--ok,
.disthub-root.theme-dark .assign-roster-chip.is-settled {
  background: rgba(30, 64, 175, 0.18) !important;
  border-color: rgba(96, 165, 250, 0.32) !important;
  color: var(--dh-text) !important;
}

.disthub-root.theme-dark .assign-roster-meta,
.disthub-root.theme-dark .assign-field-label,
.disthub-root.theme-dark .assign-stat-label,
.disthub-root.theme-dark .stat-tile-label {
  color: var(--dh-muted) !important;
}

.disthub-root.theme-dark .assign-stat-num,
.disthub-root.theme-dark .stat-tile-value,
.disthub-root.theme-dark .assign-roster-name {
  color: var(--dh-text) !important;
}

/* Party master table headers / areas */
.party-master-page .pm-area-badge,
.party-master-page .pm-classic-area-pill {
  background: var(--dh-brand-soft, #dbeafe) !important;
  color: var(--dh-brand-dark, #1e3a8a) !important;
  border-color: rgba(30, 64, 175, 0.2) !important;
}

.disthub-root.theme-dark .party-master-page .pm-area-badge,
.disthub-root.theme-dark .party-master-page .pm-classic-area-pill {
  background: rgba(30, 64, 175, 0.24) !important;
  color: #dbeafe !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
}

/* Icon buttons on toolbars */
.assign-toolbar-icon-btn:hover,
.assign-search-btn:hover,
.dh-toolbar-icon-btn:hover {
  background: var(--dh-brand-soft, #dbeafe) !important;
  border-color: rgba(30, 64, 175, 0.3) !important;
  color: var(--dh-brand, #1e40af) !important;
}

/* Nav active (dark) */
.disthub-root.theme-dark .nav-item.is-active {
  color: #93c5fd !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
  box-shadow: inset 4px 0 0 #60a5fa;
}

.disthub-root.theme-dark .nav-item.is-active .nav-item-label {
  color: #dbeafe;
}

/* Login submit */
.login-submit {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 55%, #1e3a8a 100%) !important;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.38) !important;
}

.login-submit svg {
  color: #fff;
  stroke: #fff;
}

.disthub-root.theme-dark .login-submit {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 55%, #1e3a8a 100%) !important;
}

/* Accent checkboxes / focus */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--dh-brand, #1e40af);
}

.disthub-root.theme-dark input[type="checkbox"],
.disthub-root.theme-dark input[type="radio"] {
  accent-color: #60a5fa;
}

/* dh-ui-v2 page shell left stripe */
.dh-ui-v2 .assign-page-header {
  border-left-color: var(--dh-brand, #1e40af) !important;
}

.disthub-root.theme-dark .dh-ui-v2 .assign-page-header {
  border-left-color: #60a5fa !important;
}

.disthub-root.theme-dark .assign-toolbar-icon-btn:hover,
.disthub-root.theme-dark .assign-search-btn:hover,
.disthub-root.theme-dark .dh-toolbar-icon-btn:hover {
  background: rgba(30, 64, 175, 0.22) !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
  color: #93c5fd !important;
}

.disthub-root.theme-dark .assign-chip.is-active:not(.assign-chip--cash):not(.assign-chip--debit):not(.assign-chip--reassign) {
  background: rgba(30, 64, 175, 0.22) !important;
  border-color: rgba(96, 165, 250, 0.42) !important;
  color: #dbeafe !important;
}

/* ——— Dark mode: bill no tags (VCN pills) module-wide ——— */
.disthub-root.theme-dark .assign-row-vcn--cash,
.disthub-root.theme-dark .hisab-bill-tab__vcn.assign-row-vcn--cash,
.disthub-root.theme-dark .dup-group-vcn:not(.dup-group-vcn--debit) {
  color: #93c5fd !important;
  background: rgba(30, 64, 175, 0.3) !important;
  border: 1px solid rgba(96, 165, 250, 0.48) !important;
}

.disthub-root.theme-dark .assign-row-vcn--debit,
.disthub-root.theme-dark .hisab-bill-tab__vcn.assign-row-vcn--debit,
.disthub-root.theme-dark .dup-group-vcn--debit {
  color: #fca5a5 !important;
  background: rgba(220, 38, 38, 0.22) !important;
  border: 1px solid rgba(248, 113, 113, 0.45) !important;
}

.disthub-root.theme-dark .bill-card-vcn:not(.assign-row-vcn) {
  color: #93c5fd !important;
}

.disthub-root.theme-dark .bill-card-vcn--debit:not(.assign-row-vcn) {
  color: #fca5a5 !important;
}

.disthub-root.theme-dark .bill-view-no {
  color: #93c5fd !important;
}

/* ——— Dark mode: toolbar & button icons ——— */
.disthub-root.theme-dark .assign-search-ico,
.disthub-root.theme-dark .assign-search-ico svg {
  color: #93c5fd !important;
  stroke: #93c5fd !important;
  opacity: 1;
}

.disthub-root.theme-dark .assign-toolbar-icon-btn,
.disthub-root.theme-dark .assign-search-btn,
.disthub-root.theme-dark .dh-toolbar-icon-btn,
.disthub-root.theme-dark .btn-filter-by-date {
  color: #93c5fd !important;
  background: var(--dh-bg);
  border-color: var(--dh-border);
}

.disthub-root.theme-dark .assign-toolbar-icon-btn svg,
.disthub-root.theme-dark .assign-search-btn svg,
.disthub-root.theme-dark .dh-toolbar-icon-btn svg,
.disthub-root.theme-dark .btn-primary svg,
.disthub-root.theme-dark .btn-secondary svg,
.disthub-root.theme-dark .assign-btn svg,
.disthub-root.theme-dark .hisab-complete-btn svg {
  color: currentColor;
  stroke: currentColor;
}

.disthub-root.theme-dark .btn-primary svg,
.disthub-root.theme-dark .hisab-complete-btn svg {
  color: #fff !important;
  stroke: #fff !important;
}

/* Hero role icons (Delivery / Salesman / Admin) */
.disthub-root.theme-dark .assign-hero-links .assign-chip:not(.is-active) .dh-etype-truck-img,
.disthub-root.theme-dark .assign-hero-links .assign-chip:not(.is-active) .dh-etype-sales-img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.disthub-root.theme-dark .assign-hero-links .assign-chip.is-active .dh-etype-truck-img,
.disthub-root.theme-dark .assign-hero-links .assign-chip.is-active .dh-etype-sales-img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(98%) saturate(1800%) hue-rotate(212deg) brightness(92%) contrast(101%);
}

.disthub-root.theme-dark .assign-hero-links .assign-chip:not(.is-active) .dh-etype-ico--admin {
  color: rgba(255, 255, 255, 0.95);
}

.disthub-root.theme-dark .assign-hero-links .assign-chip.is-active .dh-etype-ico--admin {
  color: #1e40af;
}

.disthub-root.theme-dark .assign-field-label .dh-etype-truck-img,
.disthub-root.theme-dark .assign-field-label .dh-etype-sales-img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(52%) saturate(1200%) hue-rotate(196deg) brightness(103%) contrast(101%);
}

.disthub-root.theme-dark .assign-field-label .dh-etype-ico--admin {
  color: #93c5fd !important;
}

.disthub-root.theme-dark .assign-row-driver .dh-etype-truck-img,
.disthub-root.theme-dark .assign-row-salesman .dh-etype-sales-img,
.disthub-root.theme-dark .bill-card-delivery-icon .dh-etype-truck-img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(52%) saturate(1200%) hue-rotate(196deg) brightness(103%) contrast(101%);
}

.disthub-root.theme-dark .assign-row-driver .dh-etype-ico--admin,
.disthub-root.theme-dark .assign-row-salesman .dh-etype-ico--admin {
  color: #93c5fd;
}

/* ——— Dark mode: Employee Hisab status buttons & icons ——— */
.disthub-root.theme-dark .hisab-bill-tab .hisab-status-strip {
  background: var(--dh-bg) !important;
  border-color: var(--dh-border) !important;
}

.disthub-root.theme-dark .hisab-bill-tab .hisab-status-strip .assign-status-btn {
  border-right-color: var(--dh-border) !important;
}

.disthub-root.theme-dark .hisab-bill-tab .hisab-status-strip .assign-status-btn--paid:not(.is-active),
.disthub-root.theme-dark .hisab-bill-tab .hisab-status-strip .assign-status-btn--delivered_paid:not(.is-active),
.disthub-root.theme-dark .hisab-bill-tab .hisab-status-strip .assign-status-btn--delivered:not(.is-active) {
  color: #4ade80 !important;
  background: rgba(22, 163, 74, 0.16) !important;
}

.disthub-root.theme-dark .hisab-bill-tab .hisab-status-strip .assign-status-btn--unpaid:not(.is-active),
.disthub-root.theme-dark .hisab-bill-tab .hisab-status-strip .assign-status-btn--delivered_unpaid:not(.is-active) {
  color: #f87171 !important;
  background: rgba(220, 38, 38, 0.16) !important;
}

.disthub-root.theme-dark .hisab-bill-tab .hisab-status-strip .assign-status-btn--undelivered:not(.is-active) {
  color: #fdba74 !important;
  background: rgba(234, 88, 12, 0.16) !important;
}

.disthub-root.theme-dark .hisab-status-edit-btn {
  background: linear-gradient(145deg, #3b82f6 0%, #2563eb 48%, #1e40af 100%) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.45) !important;
  color: #fff !important;
}

.disthub-root.theme-dark .hisab-status-edit-btn svg {
  color: #fff;
  stroke: #fff;
}

.disthub-root.theme-dark .hisab-status-edit-btn:focus-visible {
  outline-color: #60a5fa;
}

.disthub-root.theme-dark .hisab-mark-all-paid-btn {
  background: rgba(22, 163, 74, 0.18) !important;
  border-color: rgba(74, 222, 128, 0.42) !important;
  color: #4ade80 !important;
}

.disthub-root.theme-dark .hisab-mark-all-paid-btn svg {
  color: #4ade80;
  stroke: #4ade80;
}

.disthub-root.theme-dark .hisab-mark-all-paid-btn:hover {
  background: #15803d !important;
  color: #fff !important;
  border-color: #15803d !important;
}

.disthub-root.theme-dark .hisab-mark-all-paid-btn:hover svg {
  color: #fff;
  stroke: #fff;
}

.disthub-root.theme-dark .hisab-bill-actions__required {
  color: #fff;
  background: #dc2626;
}

.disthub-root.theme-dark .hisab-bill-tab__area {
  color: #93c5fd !important;
}

.disthub-root.theme-dark .hisab-list-legend__tick {
  color: #93c5fd !important;
}

.disthub-root.theme-dark .fab-bar--hisab.is-ready .fab-hisab-hint {
  color: #93c5fd !important;
}

.disthub-root.theme-dark .fab-bar--hisab.is-ready .fab-bar-inner {
  border-color: rgba(96, 165, 250, 0.45) !important;
  box-shadow: 0 12px 40px rgba(30, 64, 175, 0.28) !important;
}

/* Status icon badges on bill rows */
.disthub-root.theme-dark .hisab-bill-status-ico--paid,
.disthub-root.theme-dark .hisab-bill-status-ico--delivered {
  color: #4ade80;
}

.disthub-root.theme-dark .hisab-bill-status-ico--unpaid,
.disthub-root.theme-dark .hisab-bill-status-ico--delivered_unpaid {
  color: #f87171;
}

.disthub-root.theme-dark .hisab-bill-status-ico--undelivered {
  color: #fdba74;
}

.disthub-root.theme-dark .assign-tag--cash {
  color: #4ade80 !important;
  background: rgba(22, 163, 74, 0.18) !important;
  border-color: rgba(74, 222, 128, 0.35) !important;
}

.disthub-root.theme-dark .assign-tag--hisab,
.disthub-root.theme-dark .assign-tag--pending {
  color: #93c5fd !important;
  background: rgba(30, 64, 175, 0.22) !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
}

/* ——— Light mode: fab bar TOTAL / selected tags (readable navy) ——— */
.fab-bar--hisab .fab-selected-total--marked .fab-selected-total-meta,
.fab-bar--hisab .fab-selected-total--cash .fab-selected-total-meta {
  color: #1e40af !important;
  font-weight: 800 !important;
}

.fab-bar--hisab .fab-selected-total--marked .fab-selected-total-amt,
.fab-bar--hisab .fab-selected-total--cash .fab-selected-total-amt {
  color: #0f172a !important;
  font-weight: 900 !important;
}

.fab-bar--hisab .fab-selected-total--cash {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
}

.fab-bar--sales-bills .fab-selected-total--cash .fab-selected-total-meta {
  color: #1e40af !important;
  font-weight: 800 !important;
}

/* ——— Dark mode: fab bar tags ——— */
.disthub-root.theme-dark .fab-bar--hisab .fab-selected-total--marked {
  background: rgba(30, 64, 175, 0.28) !important;
  border-color: rgba(96, 165, 250, 0.5) !important;
}

.disthub-root.theme-dark .fab-bar--hisab .fab-selected-total--marked .fab-selected-total-meta,
.disthub-root.theme-dark .fab-bar--hisab .fab-selected-total--marked .fab-selected-total-amt,
.disthub-root.theme-dark .fab-bar--hisab .fab-selected-total--cash .fab-selected-total-meta,
.disthub-root.theme-dark .fab-bar--hisab .fab-selected-total--cash .fab-selected-total-amt {
  color: #dbeafe !important;
}

.disthub-root.theme-dark .fab-bar--hisab .fab-selected-total--cash {
  background: rgba(30, 64, 175, 0.22) !important;
  border-color: rgba(96, 165, 250, 0.42) !important;
}

.disthub-root.theme-dark .fab-bar--sales-bills .fab-selected-total--cash {
  background: rgba(30, 64, 175, 0.22) !important;
  border-color: rgba(96, 165, 250, 0.42) !important;
}

.disthub-root.theme-dark .fab-bar--sales-bills .fab-selected-total--cash .fab-selected-total-meta,
.disthub-root.theme-dark .fab-bar--sales-bills .fab-selected-total--cash .fab-selected-total-amt {
  color: #dbeafe !important;
}

/* Permissions — employee type legend & access pills */
.disthub-root.theme-dark .perm-access-pill {
  background: rgba(30, 64, 175, 0.28) !important;
  color: #93c5fd !important;
}

.disthub-root.theme-dark .perm-access-pill--read {
  background: rgba(37, 99, 235, 0.22) !important;
  color: #bfdbfe !important;
}

.disthub-root.theme-dark .perm-type-legend li > span:not(.emp-type-badge) {
  color: var(--dh-muted) !important;
}

.disthub-root.theme-dark .emp-type-badge .dh-etype-truck-img,
.disthub-root.theme-dark .emp-type-badge .dh-etype-sales-img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(52%) saturate(1200%) hue-rotate(196deg) brightness(103%) contrast(101%) !important;
}

.disthub-root.theme-dark .emp-type-badge .dh-etype-ico--admin {
  color: #93c5fd !important;
}

/* Sidebar logo — crisp on light & dark */
.sidebar-brand-logo-wrap {
  background: #fff;
  border: 1px solid rgba(30, 64, 175, 0.12);
}

.disthub-root.theme-dark .sidebar-brand-logo-wrap {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Active nav — navy stripe (not green) */
.nav-item.is-active {
  color: #1e40af !important;
}

.disthub-root.theme-dark .nav-item.is-active {
  background: rgba(30, 64, 175, 0.22) !important;
  color: #93c5fd !important;
  box-shadow: inset 4px 0 0 #60a5fa !important;
}

/* ——— Bill row role icons — light + dark navy theme ——— */
.assign-row-driver .dh-etype-truck-img,
.assign-row-salesman .dh-etype-sales-img,
.assign-row-sub--loc .assign-row-salesman .dh-etype-sales-img,
.bill-card-delivery-icon .dh-etype-truck-img,
.bill-card-meta .dh-etype-truck-img,
.bill-card-meta .dh-etype-sales-img,
.assign-row-assigned-by .dh-etype-truck-img,
.assign-row-assigned-by .dh-etype-sales-img,
.bill-card .dh-etype-truck-img,
.bill-card .dh-etype-sales-img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(98%) saturate(1800%) hue-rotate(212deg) brightness(92%) contrast(101%) !important;
}

.assign-row-driver .dh-etype-ico--admin,
.assign-row-salesman .dh-etype-ico--admin,
.bill-card-meta .dh-etype-ico--admin {
  color: #1e40af !important;
}

.disthub-root.theme-dark .assign-row-driver .dh-etype-truck-img,
.disthub-root.theme-dark .assign-row-salesman .dh-etype-sales-img,
.disthub-root.theme-dark .bill-card-delivery-icon .dh-etype-truck-img,
.disthub-root.theme-dark .bill-card .dh-etype-truck-img,
.disthub-root.theme-dark .bill-card .dh-etype-sales-img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(52%) saturate(1200%) hue-rotate(196deg) brightness(103%) contrast(101%) !important;
}

.disthub-root.theme-dark .assign-row-driver .dh-etype-ico--admin,
.disthub-root.theme-dark .assign-row-salesman .dh-etype-ico--admin {
  color: #93c5fd !important;
}

.assign-row-sub--loc .assign-row-salesman,
.assign-row-sub--loc .assign-row-salesman span {
  color: #1e40af !important;
}

.disthub-root.theme-dark .assign-row-sub--loc .assign-row-salesman,
.disthub-root.theme-dark .assign-row-sub--loc .assign-row-salesman span {
  color: #93c5fd !important;
}

/* Home dashboard — Who is working today icons */
.home-dash-team-head .dh-etype-truck-img,
.home-dash-team-head .dh-etype-sales-img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(98%) saturate(1800%) hue-rotate(212deg) brightness(92%) contrast(101%) !important;
}

.disthub-root.theme-dark .home-dash-team-head .dh-etype-truck-img,
.disthub-root.theme-dark .home-dash-team-head .dh-etype-sales-img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(52%) saturate(1200%) hue-rotate(196deg) brightness(103%) contrast(101%) !important;
}

/* ——— Bill card hover / selected — navy (not green) module-wide ——— */
.bill-card:hover,
.assign-row.assign-row--inline.bill-card:hover,
.assign-row.bill-card:hover {
  background: #eff6ff !important;
  border-color: rgba(30, 64, 175, 0.45) !important;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.1) !important;
}

.assign-row.assign-row--inline.bill-card:has(.bill-row-cb:checked),
.assign-row.bill-card:has(.bill-row-cb:checked),
.bill-card:has(.bill-row-cb:checked) {
  background: #eff6ff !important;
  border-color: rgba(30, 64, 175, 0.5) !important;
  box-shadow: 0 2px 10px rgba(30, 64, 175, 0.12) !important;
}

.disthub-root.theme-dark .bill-card:hover,
.disthub-root.theme-dark .assign-row.assign-row--inline.bill-card:hover,
.disthub-root.theme-dark .assign-row.bill-card:hover {
  background: rgba(30, 64, 175, 0.16) !important;
  border-color: rgba(96, 165, 250, 0.42) !important;
}

.disthub-root.theme-dark .assign-row.assign-row--inline.bill-card:has(.bill-row-cb:checked),
.disthub-root.theme-dark .assign-row.bill-card:has(.bill-row-cb:checked),
.disthub-root.theme-dark .bill-card:has(.bill-row-cb:checked) {
  background: rgba(30, 64, 175, 0.2) !important;
  border-color: rgba(96, 165, 250, 0.45) !important;
}

/* Locked assign cards — no green hover */
.assign-row.assign-row--inline.bill-card.bill-card--assign-locked:hover,
.disthub-root.theme-dark .assign-row.assign-row--inline.bill-card.bill-card--assign-locked:hover {
  background: var(--dh-bg) !important;
  border-color: var(--dh-border) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}
