/* 🎨 Style global des tableaux pro */

.table-responsive {
  overflow-x: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

/* Table */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  color: #333;
}

/* En-tête */
.table thead {
  background: linear-gradient(135deg, #007bff, #00aaff);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ----- Tables ----- */
.table thead th {
  background-color: #026ad3e0;
  font-weight: 600;
}
.table-hover tbody tr:hover {
  background-color: #e6ece4;
}

.table thead th {
  padding: 1rem;
  border: none;
  text-align: left;
  white-space: nowrap;
}

/* Lignes */
.table tbody tr {
  transition: all 0.2s ease-in-out;
  border-bottom: 1px solid #eee;
}


.table tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
  transform: scale(1.01);
}

/* Cellules */
.table td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
}


/* Boutons d’action */
.table-actions {
  display: flex;
  gap: 0.4rem;
}

.table-actions .btn {
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* État vide */
.table-empty {
  text-align: center;
  padding: 2rem 0;
  color: #999;
  font-style: italic;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
}

.pagination-container a {
  color: #007bff;
  border: 1px solid #007bff;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination-container a:hover,
.pagination-container a.active {
  background: #007bff;
  color: #fff;
}

.table th, .table td {
  vertical-align: middle;
}
.card {
  border-radius: 10px;
}