.bs-pagination {
  background-color: var(--bs-bg-base);
  color: var(--bs-ink-base);
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.bs-pagination:where([data-variant="group"]) {
  gap: 2.5rem;
}

.bs-pagination:where([data-variant="results"]) {
  gap: 1rem;
}

.bs-pagination :where(button) {
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  min-height: 1.5rem;
  justify-content: center;
  outline: 2px solid transparent;
  min-width: 1.5rem;
}

.bs-pagination button:where(:focus),
.bs-pagination button:where(:focus-visible) {
  outline: 2px solid var(--bs-blue-base);
}

.bs-pagination button:where(:focus:not(:focus-visible)) {
  outline: 2px solid transparent;
}

.bs-pagination button:where(:disabled) {
  color: var(--bs-ink-disabled);
}

.bs-pagination button:where([data-selected]) {
  background-color: var(--bs-blue-base);
  color: var(--bs-gray-50);
}

.bs-pagination:where([data-fixed]) {
  background-color: var(--bs-bg-base-elevated);
  bottom: 0;
  left: 0;
  padding: 1rem;
  position: fixed;
  width: 100%;
}

.bs-pagination :where(.bs-pagination-page-numbers) {
  display: flex;
  gap: 1rem;
}

.bs-pagination :where(.bs-pagination-carets) {
  display: flex;
  gap: 1.5rem;
}

.bs-pagination :where(.bs-pagination-word-caret) {
  align-items: center;
  gap: 0.5rem;
  width: auto;
}

.bs-pagination :where(.bs-pagination-results-numbers) {
  display: flex;
  gap: 0.5rem;
}

.bs-pagination :where(.bs-pagination-results-numbers) button {
  padding-left: 2px;
  padding-right: 2px;
  width: auto;
}

bs-pagination {
  display: block;
}