.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
}

.paginationInline {
  margin: 0;
  padding: 0;
  min-height: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
}

.navBtn {
  width: 38px;
  height: 38px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.navBtn svg {
  display: block;
  flex-shrink: 0;
}

.navBtn:hover:not(:disabled) {
  background: rgba(var(--primary-rgb) / 0.1);
  color: var(--primary);
}

.navBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pageBtn {
  min-width: 38px;
  height: 38px;
  box-sizing: border-box;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-ui, inherit);
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pageBtn:hover:not(:disabled) {
  background: rgba(var(--primary-rgb) / 0.08);
  color: var(--primary);
}

.pageBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pageBtn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
