/* ==========================================
   ADMIN PANEL - Tables & Badges
   Table styles and status indicators
   ========================================== */

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--bp-border);
}

.admin-table th {
  background: var(--bp-surface-elevated);
  font-weight: 600;
  color: var(--bp-text);
}

.admin-table tr:hover {
  background: var(--bp-surface-elevated);
}

.admin-table td {
  color: var(--bp-text-muted);
}

/* Status Badges */
.admin-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.admin-badge-published {
  background: rgba(74, 222, 128, 0.2);
  color: #4ADE80;
}

.admin-badge-draft {
  background: rgba(251, 191, 36, 0.2);
  color: #FBBF24;
}

.admin-badge-archived {
  background: rgba(156, 163, 175, 0.2);
  color: #9CA3AF;
}

.admin-badge-rejected {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.admin-badge-review {
  background: rgba(147, 51, 234, 0.2);
  color: #A855F7;
}

.admin-badge-approved {
  background: rgba(34, 197, 94, 0.2);
  color: #22C55E;
}

.admin-badge-submitted {
  background: rgba(59, 130, 246, 0.2);
  color: #3B82F6;
}

.admin-badge-mandatory {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.admin-badge-optional {
  background: rgba(156, 163, 175, 0.2);
  color: #9CA3AF;
}

.admin-badge-active {
  background: rgba(34, 197, 94, 0.2);
  color: #22C55E;
}

.admin-badge-inactive {
  background: rgba(156, 163, 175, 0.2);
  color: #9CA3AF;
}

.admin-badge-pending {
  background: rgba(251, 191, 36, 0.2);
  color: #FBBF24;
}

.admin-badge-completed {
  background: rgba(74, 222, 128, 0.2);
  color: #4ADE80;
}

/* Light Mode */
[data-theme="light"] .admin-table th {
  background: var(--bp-bg);
}

[data-theme="light"] .admin-table tr:hover {
  background: var(--bp-primary-soft);
}
