html body .ecom-table-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.06);
}

html body .ecom-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

html body .ecom-table-toolbar-left,
html body .ecom-table-toolbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

html body .ecom-table-toolbar-right { margin-left: auto; }

html body .ecom-table-toolbar-label,
html body .ecom-table-toolbar-text {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

html body .ecom-entries-select,
html body .ecom-table-search {
  height: 42px;
  min-height: 42px;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  background: #fff;
  color: #1e293b;
  font-size: 12px;
  box-shadow: none;
}

html body .ecom-entries-select {
  min-width: 62px;
  padding: 2px 24px 2px 8px;
  border-color: #cbd5e1;
}

html body .ecom-table-search {
  width: 320px;
  max-width: 42vw;
  padding: 4px 10px;
}

html body .ecom-directory-search-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #e51b23;
  box-shadow: 0 8px 16px rgba(229, 27, 35, .22);
  color: #fff;
  flex: 0 0 42px;
}

html body .ecom-table-responsive { overflow-x: auto; }

html body .ecom-table {
  width: 100%;
  min-width: 40rem;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

html body .ecom-table thead { background: #eaf0f8 !important; }

html body .ecom-table thead th,
html body .ecom-table thead th button {
  height: 46px;
  padding: 12px 18px;
  background: transparent !important;
  color: #334155 !important;
  border: 0;
  border-bottom: 1px solid #d8e0ea;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
}

html body .ecom-table thead th button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: auto;
  padding: 0;
  cursor: pointer;
  color: #334155 !important;
}

html body .ecom-sort-icon {
  width: 12px;
  height: 14px;
  flex: none;
}

html body .ecom-sort-icon path {
  fill: #94a3b8;
}

html body .ecom-sort-icon.asc .up,
html body .ecom-sort-icon.desc .down {
  fill: #28358f;
}

html body .ecom-table td {
  height: 58px;
  padding: 12px 18px !important;
  color: #111827;
  background: #fff;
  border-bottom: 1px solid #e5eaf1;
  font-size: 14px;
  vertical-align: middle;
}

html body .ecom-table tbody tr:nth-child(even) td { background: #f8fafc; }
html body .ecom-table tbody tr:hover td { background: #f1f6ff; }

html body .ecom-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: linear-gradient(90deg, #eef1fb, #e7f6fc);
  border-top: 1px solid #dce5f0;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

html body .ecom-pagination-pages {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

html body .ecom-page-link {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #28358f;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

html body .ecom-page-link.active {
  color: #fff !important;
  background: #28358f !important;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(229, 27, 35, .22);
}

html body .ecom-page-link:disabled,
html body .ecom-page-link.disabled {
  color: #a3aab7;
  cursor: default;
  box-shadow: none;
  background: transparent;
}

html body .ecom-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

html body .ecom-action-icon,
html body .ecom-row-actions a,
html body .ecom-row-actions button,
html body .ecom-table td:last-child > a,
html body .ecom-table td:last-child > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  margin: 0 3px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0;
  line-height: 0;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 9px rgba(16, 26, 54, .07);
}

html body .ecom-table td:last-child > a:not(:has(i)),
html body .ecom-table td:last-child > button:not(:has(i)),
html body .ecom-row-actions a:not(:has(i)),
html body .ecom-row-actions button:not(:has(i)) {
  width: auto;
  min-width: 34px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1;
}

html body .ecom-action-icon i,
html body .ecom-row-actions i,
html body .ecom-table td:last-child > a i,
html body .ecom-table td:last-child > button i {
  font-size: 13px;
  line-height: 1;
}

html body .ecom-action-icon,
html body .ecom-row-actions a,
html body .ecom-row-actions button,
html body .ecom-table td:last-child > a,
html body .ecom-table td:last-child > button {
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

html body .ecom-action-icon:hover,
html body .ecom-row-actions a:hover,
html body .ecom-row-actions button:hover,
html body .ecom-table td:last-child > a:hover,
html body .ecom-table td:last-child > button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(41, 38, 62, .12);
}

html body .ecom-action-view { color: #079bd3 !important; background: #e5f6fc !important; border-color: #b7e4f5 !important; }
html body .ecom-action-view:hover { color: #067eab !important; background: #d7f1fa !important; }
html body .ecom-action-edit { color: #28358f !important; background: #e8ebf8 !important; border-color: #c9d0ee !important; }
html body .ecom-action-edit:hover { color: #17245f !important; background: #dde2f4 !important; }
html body .ecom-action-delete { color: #e51b23 !important; background: #ffe8e9 !important; border-color: #f8c9cc !important; }
html body .ecom-action-delete:hover { color: #bd141b !important; background: #ffd6d8 !important; }
html body .ecom-action-save,
html body .ecom-action-approve { color: #047857 !important; background: #ecfdf5 !important; border-color: #a7f3d0 !important; }
html body .ecom-action-approve:hover,
html body .ecom-action-save:hover { color: #065f46 !important; background: #d1fae5 !important; }
html body .ecom-action-reject { color: #c2410c !important; background: #fff7ed !important; border-color: #fed7aa !important; }
html body .ecom-action-reject:hover { color: #9a3412 !important; background: #ffedd5 !important; }

html body .ecom-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

html body .ecom-status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

html body .ecom-status-success { color: #0369a1; background: #e0f2fe; }
html body .ecom-status-danger { color: #dc2626; background: #fee2e2; }
