.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
}

.card-header {
  background-color: #f8f9fa;
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header.bg-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.card-header.bg-gradient .card-title {
  color: white;
}

.card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
}

.card-body {
  padding: 20px;
}

.table {
  margin-bottom: 0;
}

.table thead th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  color: #2c3e50;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 12px;
}

.table tbody td {
  padding: 12px;
  vertical-align: middle;
  border-bottom: 1px solid #e9ecef;
}

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

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

.fw-600 {
  font-weight: 600;
  color: #2c3e50;
}

.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.bg-success {
  background-color: #2ecc71 !important;
}

.bg-secondary {
  background-color: #95a5a6 !important;
}

.btn-outline-primary {
  color: #667eea;
  border-color: #667eea;
  padding: 5px 10px;
  font-size: 0.85rem;
}

.btn-outline-primary:hover {
  background-color: #667eea;
  border-color: #667eea;
  color: white;
}

.btn-outline-danger {
  color: #e74c3c;
  border-color: #e74c3c;
  padding: 5px 10px;
  font-size: 0.85rem;
}

.btn-outline-danger:hover {
  background-color: #e74c3c;
  border-color: #e74c3c;
  color: white;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.85rem;
}

.float-end {
  float: right;
}

@media (max-width: 768px) {
  .table {
    font-size: 0.85rem;
  }

  .table thead th,
  .table tbody td {
    padding: 8px;
  }

  .card-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .btn {
    padding: 5px 8px;
    font-size: 0.75rem;
  }
}
