/* Sorting styles */
.sortable {
  cursor: pointer;
  user-select: none;
}

.sortable:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.sortable::after {
  margin-left: 5px;
}

.sortable.asc::after {
  content: "↑";
  opacity: 1;
}

.sortable.desc::after {
  content: "↓";
  opacity: 1;
}

/* Pagination controls */
.pagination-controls {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-info {
  text-align: center;
}

/* No results message */
.no-results {
  display: none;
}

/* Alert ripple animation */
.ripple {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-top: -3px;
}

.ripple div {
  position: absolute;
  border: 3px solid red;
  opacity: 0;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  will-change: transform, opacity;
}

.ripple div:nth-child(1) {
  width: 100%;
  height: 100%;
  animation: pulse 2s ease-out infinite;
}

.ripple div:nth-child(2) {
  width: 100%;
  height: 100%;
  animation: pulse 2s ease-out 0.5s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}
