/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
}

table thead {
  background-color: #f8f9fa;
}

table thead tr {
  border-bottom: 2px solid #ecf0f1;
}

table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: #2c3e50;
  font-size: 13px;
  text-transform: uppercase;
}

table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ecf0f1;
  font-size: 13px;
  color: #555;
}

table tbody tr {
  transition: all 0.2s ease;
}

table tbody tr:hover {
  background-color: #f8f9fa;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-active {
  background-color: #d4edda;
  color: #155724;
}

.status-inactive {
  background-color: #f8d7da;
  color: #721c24;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

/* Action Buttons */
.action-links {
  display: flex;
  gap: 10px;
}

.action-links a {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #ddd;
}

.action-links .edit {
  color: #667eea;
  border-color: #667eea;
}

.action-links .edit:hover {
  background-color: #667eea;
  color: #fff;
}

.action-links .delete {
  color: #e74c3c;
  border-color: #e74c3c;
}

.action-links .delete:hover {
  background-color: #e74c3c;
  color: #fff;
}

/* Table Container */
.table-container {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow-x: auto;
  margin-bottom: 20px;
}

.table-container table {
  margin: 0;
}

/* Empty State */
.empty-state {
  padding: 40px;
  text-align: center;
  color: #7f8c8d;
}

.empty-state i {
  font-size: 48px;
  color: #bdc3c7;
  margin-bottom: 15px;
}

.empty-state p {
  margin: 10px 0;
}

@media (max-width: 768px) {
  table th,
  table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .action-links {
    flex-direction: column;
    gap: 5px;
  }

  .action-links a {
    width: 100%;
    text-align: center;
    padding: 8px 0;
  }
}