.collection-table-h2 {
  margin-top: 20px !important;
  margin-bottom: 0px !important;
}

.collection-table-container {
  overflow: auto;
  max-width: 100%;
  margin-bottom: 1rem;
}

/* Webkit Scrollbar (Chrome, Safari, Edge) */
.collection-table-container::-webkit-scrollbar {
  width: 10px; /* Width of the scrollbar */
  height: 10px; /* Height for horizontal scrollbar */
}

.collection-table-container::-webkit-scrollbar-track {
  background: #f1f8e9; /* Background of the scrollbar track */
  border-radius: 10px;
}

.collection-table-container::-webkit-scrollbar-thumb {
  background-color: #52609a; /* Color of the scrollbar handle */
  border-radius: 10px;
  border: 2px solid #f1f8e9; /* Adds some space around the thumb */
}

.collection-table-container::-webkit-scrollbar-thumb:hover {
  background-color: #52609a; /* Darker color on hover */
}

/* Firefox Scrollbar */
.collection-table-container {
  scrollbar-color: #52609a #f1f8e9; /* Thumb and track colors */
}

/* Optional: Style for horizontal scrollbar if needed */
.collection-table-container::-webkit-scrollbar-horizontal {
  height: 8px;
}

/* Customize track and thumb for horizontal scrollbar */
.collection-table-container::-webkit-scrollbar-track-horizontal {
  background: #f1f8e9;
}

.collection-table-container::-webkit-scrollbar-thumb-horizontal {
  background-color: #52609a;
  border-radius: 10px;
  border: 2px solid #f1f8e9;
}

.collection-table-SearchContainer {
  position: relative;
  display: inline-block;
  width: 100%;
}

.collection-table-SearchContainer select {
  position: relative;
  z-index: 1;
}

.popup .collection-table-SearchInput {
  margin-bottom: 1px !important;
}

.popup .collection-table-SearchClearBtn {
  width: 10% !important;
  position: absolute !important;
  right: -5px !important;
  top: 44% !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
  font-size: 20px !important;
  background: none !important;
  border: none !important;
  outline: none !important;
  display: none;
  color: red !important;
  z-index: 9999 !important;
}

.popup .collection-table-SearchClearBtn:hover {
  color: #333 !important;
}

.table-action-cell {
  display: flex;
  gap: 20px;
  padding: 5px;
}

.table-action-btn img {
  max-width: 100% !important;
}

.collection-table-RowCount {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #52609a;
  text-align: right;
  white-space: nowrap;
}

.table-action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(100%);
}

.table-action-btn:disabled img {
  opacity: 0.5;
}
