/* Alle DataTables Buttons kleiner machen */
.dt-buttons .btn {
  padding: 2px 6px !important;
  font-size: 0.80rem !important;
  line-height: 1.2 !important;
  border-radius: 4px !important;
}

.dt-buttons .btn {
  margin-right: 0.35rem;   /* Abstand rechts */
}

.dt-buttons .btn:last-child {
  margin-right: 0;          /* Kein Abstand nach dem letzten Button */
}

/* Verschiedene Farben pro Button */
button.buttons-copy {
  background-color: #666 !important;
  border-color: #666 !important;
  color: white !important;
}
button.buttons-excel {
  background-color: #1f8b2d !important;
  border-color: #1f8b2d !important;
  color: white !important;
}
button.buttons-pdf {
  background-color: #b30000 !important;
  border-color: #b30000 !important;
  color: white !important;
}
button.buttons-colvis {
  background-color: #0055aa !important;
  border-color: #0055aa !important;
  color: white !important;
}

/* Optional: Outline-Style */
.dt-buttons .btn-outline-primary {
  border-color: #0d6efd !important;
  color: #0d6efd !important;
}

/* Label + Dropdown etwas kleiner */
.dt-length select {
  font-size: 0.85rem !important;
  height: auto !important;
}
.dt-length label {
  font-size: 0.85rem !important;
}

/* Suchfeld kleiner */
.dt-search input[type='search'] {
  padding: 2px 6px !important;
  font-size: 0.85rem !important;
  height: auto !important;
}
.dt-search label {
  font-size: 0.85rem !important;
}

/* Pagination kleiner */
.dt-paging .pagination .page-link {
  padding: 2px 6px !important;
  font-size: 0.80rem !important;
  line-height: 1.2 !important;
}

/* Abstände */
.dt-paging .pagination .page-item {
  margin: 0 2px !important;
}

/* Aktive Seite */
.dt-paging .pagination .page-item.active .page-link {
  background-color: #0d6efd !important;
  border-color:    #0d6efd !important;
  color: #fff !important;
}

/* Alles auf die gleiche Höhe */
.dt-length, .dt-search, .dt-buttons, .dt-info, .dt-paging {
  margin: 2px 0 !important;
}
