.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(26, 29, 39, 0.98);
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cell-check {
  width: 48px;
}

.cell-actions {
  width: 160px;
}

.table-empty {
  padding: 32px 16px;
  text-align: center !important;
  color: var(--text-muted);
}

.row-primary {
  display: grid;
  gap: 4px;
}

.row-title {
  font-weight: 700;
}

.row-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.badge-success {
  color: #8ef0b3;
  background: rgba(34, 197, 94, 0.14);
}

.badge-info {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.14);
}

.badge-warning {
  color: #fde68a;
  background: rgba(234, 179, 8, 0.14);
}

.badge-orange {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.14);
}

.badge-muted {
  color: #cbd5e1;
  background: rgba(100, 116, 139, 0.16);
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-action {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  cursor: pointer;
}

.icon-action.info {
  color: #93c5fd;
}

.icon-action.neutral {
  color: #e2e8f0;
}

.icon-action.success {
  color: #8ef0b3;
}

.icon-action.danger {
  color: #fca5a5;
}

.page-pill {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  cursor: pointer;
}

.page-pill.active {
  border-color: transparent;
  background: var(--primary);
  color: white;
}

.detail-block {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.detail-block h3 {
  margin: 0 0 12px;
  font-size: 0.98rem;
}

.detail-list {
  display: grid;
  gap: 8px;
}

.detail-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-item span,
.detail-item code {
  color: var(--text-primary);
}

.details-grid {
  display: grid;
  gap: 14px;
}

.col-md,
.col-lg,
.col-xl {
  display: none;
}

@media (min-width: 1024px) {
  .col-md {
    display: table-cell;
  }
}

@media (min-width: 1280px) {
  .col-lg {
    display: table-cell;
  }
}

@media (min-width: 1440px) {
  .col-xl {
    display: table-cell;
  }
}
