/* Pagination container styling */
.pagination {
  margin-top: 30px;
  text-align: center;
}

/* Pagination button styling */
.pagination a, .pagination button {
  display: inline-block;
  padding: 12px 24px;
  margin: 0 10px;
  border: 2px solid #4CAF50;
  background: linear-gradient(145deg, #4CAF50, #388E3C);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover effect for pagination buttons */
.pagination a:hover, .pagination button:hover {
  background: linear-gradient(145deg, #388E3C, #4CAF50);
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Active page button */
.pagination a.active, .pagination button.active {
  background: #388E3C;
  color: #fff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

/* Disable the Prev/Next buttons if at the first or last page */
.pagination a.disabled, .pagination button.disabled {
  background: #f1f1f1;
  color: #ddd;
  cursor: not-allowed;
  border: 2px solid #ddd;
}

/* Styling for the Previous and Next buttons */
.pagination button.prev, .pagination button.next {
  font-size: 18px;
  padding: 10px 18px;
  background: #2196F3;
  border: 2px solid #2196F3;
  transition: all 0.3s ease;
}

.pagination button.prev:hover, .pagination button.next:hover {
  background: #1976D2;
  border-color: #1976D2;
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Pagination link styling */
.pagination a {
  display: inline-block;
  padding: 10px 18px;
  margin: 0 8px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: bold;
}

/* Active pagination link styling */
.pagination a.active {
  background: linear-gradient(145deg, #007bff, #0056b3); /* Gradient blue */
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  font-weight: bold;
}

/* Styling for Previous/Next links */
.pagination a.prev,
.pagination a.next {
  font-weight: bold;
}

/* Disabled pagination link */
.pagination a.disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* Hover effect for non-active pagination links */
.pagination a:hover:not(.active) {
  background: #f0f0f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px); /* Slight lift effect on hover */
}

.search-results-heading {
  text-align: center;
  margin: 20px 0;
  font-size: 20px;
  color: #333;
}