#ads-table {
  background: var(--table-bg);
  border: 1px solid var(--table-border);
  border-radius: 0;
}

#ads-table .table-header {
  border-bottom: 1px solid var(--table-border);
  overflow: hidden;
  background: var(--bg-white);
}

#ads-table .table-header table,
#ads-table .table-responsive table {
  border-collapse: collapse;
  width: max-content;
  min-width: 100%;
  background: var(--table-bg);
  table-layout: auto;
}

#ads-table .table-responsive {
  max-height: calc(100vh - 130px);
  overflow: auto;
}

#ads-table th,
#ads-table td {
  border: 1px solid var(--table-border);
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.25;
  color: var(--table-text);
  background: var(--table-bg);
  vertical-align: middle;
}

#ads-table th {
  background: var(--table-header-bg);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  z-index: 2;
}

#ads-table td {
  font-weight: 500;
}

#ads-table tbody tr:hover td {
  background: var(--row-hover);
}

#ads-table td.drag-selected {
  background: var(--row-selected) !important;
}

#ads-table .status-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
}

#ads-table .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

#ads-table .status-cell.is-live {
  color: var(--status-live);
}

#ads-table .status-cell.is-die {
  color: var(--status-die);
}

#ads-table .status-cell.is-warn {
  color: var(--status-warn);
}

#ads-table .status-cell.is-muted {
  color: var(--status-muted);
}

#ads-table .btn.btn-light {
  padding: 4px 6px;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}

#ads-table .btn.btn-light:hover {
  background: #e5e7eb;
}

#ads-table .owner-id-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}
