.pagy a,
.pagy .current,
.pagy [aria-disabled="true"] {
  display: inline-block;
  padding: 8px 12px;
  margin: 0;
  text-decoration: none;
  border: none;
  border-radius: 0;
  color: #495057;
  transition: all 0.2s ease-in-out;
}

.pagy {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.pagy .current {
  color: #007bff;
  font-weight: 600;
  position: relative;
}

.pagy .current::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #007bff;
}

.pagy a:hover {
  background-color: #f8f9fa;
  color: #0056b3;
}

.pagy [aria-disabled="true"] {
  background-color: transparent;
  color: #adb5bd;
  cursor: default;
}