.table {
  min-width: 100%;
  margin-bottom: 0;
}

.table thead th {
  font-size: 14px;
  font-weight: 700;
  color: var(--bs-primary);
}

.table td {
  vertical-align: middle;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.6);
}

.table .dropdown-menu {
  margin-top: 0;
}

.table.table-lg td {
  padding: 1.3rem 0.75rem;
}

.table.table-borderless td {
  padding-left: 0;
  padding-right: 0;
}

.table th {
  vertical-align: middle !important;
}

.table.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.03);
}

.table.table-custom {
  border-spacing: 0 15px;
  border-collapse: separate;
}

.table.table-custom thead tr th {
  border: none;
}

.table.table-custom tbody tr {
  background: #fff;
}

.table.table-custom tbody tr td {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.table.table-custom tbody tr td:first-child {
  border-left: 1px solid transparent;
}

.table.table-custom tbody tr td:last-child {
  border-right: 1px solid transparent;
}

.table.table-custom tbody tr.tr-selected td {
  border-color: #ff6e40 !important;
}

.table.table-custom tbody tr td:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  padding-left: 15px;
}

.table.table-custom tbody tr td:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  padding-right: 15px;
}

.table.table-custom tbody tr:last-child td {
  border-bottom-color: transparent;
}

/* Style pour la barre de défilement */
.table-custom-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--bs-primary);
}

/* Styles spécifiques pour Webkit (Chrome, Safari) */
.table-custom-responsive::-webkit-scrollbar {
  height: 4px;
}

.table-custom-responsive::-webkit-scrollbar-thumb {
  background-color: #2a2773;
  border-radius: 15px;
}

.table-custom-responsive::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-loader {
  z-index: 900;
}
.dashboard-loader.off {
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}
