/* 分页组件样式 */
.pagination-wrapper {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 40px 0 60px;
}

.pagination-wrapper nav {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* 静态分页样式 */
.static-pagination {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

.static-pagination .page-item {
	margin: 0 5px;
}

.static-pagination .page-link {
	display: block;
	padding: 8px 12px;
	background-color: #fff;
	border: 1px solid #ddd;
	color: #666;
	text-decoration: none;
	border-radius: 0;
	min-width: 40px;
	text-align: center;
	transition: all 0.3s ease;
}

.static-pagination .page-link.active {
	background-color: #f60;
	border-color: #f60;
	color: #fff;
}

.static-pagination .page-link:hover {
	background-color: #f5f5f5;
	border-color: #f60;
	color: #f60;
}

.static-pagination .page-item:first-child .page-link,
.static-pagination .page-item:last-child .page-link {
	padding: 8px 15px;
	white-space: nowrap;
}

/* 移动端分页组件优化 */
@media (max-width: 768px) {
	.pagination-wrapper {
		margin-top: 20px;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding: 10px 0;
	}

	.static-pagination {
		display: flex;
		justify-content: center;
		width: max-content;
		margin: 0 auto;
	}

	.static-pagination .page-item .page-link {
		padding: 10px 12px;
		font-size: 14px;
		min-width: 40px;
		text-align: center;
		margin: 0 2px;
	}

	/* 确保文字在按钮中居中 */
	.static-pagination .page-item:first-child .page-link,
	.static-pagination .page-item:last-child .page-link {
		white-space: nowrap;
		padding: 10px 12px;
	}
}

@media (max-width: 480px) {
	.static-pagination .page-item .page-link {
		padding: 8px 10px;
		font-size: 13px;
		min-width: 36px;
	}
}
