 /* Loading spinner + overlay */
.vs-results-wrapper {
  position: relative;
}

#vs-loading {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.vs-spinner {
  width: 36px;
  height: 36px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.vs-loading-text {
  color: #fff;
  margin-left: 10px;
  font-size: 15px;
}

.vs-empty {
  text-align: center;
  color: #666;
  padding: 20px 0;
}

/* Pagination (vertical layout, spacing) */
.vs-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* spacing between buttons */
  padding: 8px 0;
}

.page-nav.vs-btn {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 8px 12px;
  box-sizing: border-box;
  text-align: center;
}

.page-nav.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

/* Optional: make pagination buttons touch-friendly full width */
.page-nav.vs-btn.full-width {
  width: 80%;
  max-width: 320px;
}