.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 0;
  font-size: 0.8125rem;
}

.data-table thead th {
  padding: 0.42rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
  font-weight: 600;
  color: #6c757d;
  background: #f5f7fa;
  border-bottom: 2px solid #e9ecef;
  white-space: nowrap;
  vertical-align: middle;
  text-align: left;
}

.data-table tbody td {
  padding: 0.55rem 0.75rem;
  vertical-align: middle;
  color: #4b5563;
  border-bottom: 1px solid #e9ecef;
  text-align: left;
  white-space: nowrap;
}

.data-table tbody td.status-posted { color: #15803d; font-weight: 600; }
.data-table tbody td.status-manual { color: #00acc1; font-weight: 600; }
.data-table tbody td.status-edited { color: #b45309; font-weight: 600; }
.data-table tbody td.status-waiting { color: #c2410c; font-weight: 600; }
.data-table tbody td.status-skipped { color: #64748b; font-weight: 600; }
.data-table tbody td.status-failed { color: #dc3545; font-weight: 600; }
.data-table tbody td.status-removed { color: #a12626; font-weight: 600; }

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: #f8f9fa;
}

.data-table tbody tr.table-empty-state-row:hover td {
  background: transparent;
}

.detail-view-table tbody th {
  text-align: left;
  background: #f5f7fa;
  color: #111827;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.42rem 0.75rem;
  border-bottom: 1px solid #e9ecef;
}

.detail-view-table td:first-child {
  width: 7.5rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.detail-view-table td:last-child {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.45;
}

.data-table .table-cell-actions,
.data-table thead th.table-cell-actions {
  text-align: center;
  white-space: nowrap;
  width: 1%;
}

.data-table tbody td.table-cell-actions,
.data-table thead th.table-cell-actions {
  padding-left: 1rem;
  padding-right: 0.65rem;
}
