
/* ========== Admin Pagination (공통) ========== */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 16px;
}

.pagination .page-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

/* 기본 버튼 */
.pagination .page-buttons a,
.pagination .page-buttons .num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;                /* 아이콘과 텍스트 간격 */
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	font-size: 14px;
	color: #374151;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.pagination .page-buttons a:hover {
	background: #f9fafb;
	border-color: #d1d5db;
}

.pagination .page-buttons .num.active,
.pagination .page-buttons a.active {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

.pagination .page-buttons a.disabled {
	opacity: .5;
	pointer-events: none;
}

/* 페이지 숫자 버튼 */
.pagination .page-buttons .num {
	min-width: 32px;
	height: 36px;
	font-weight: 500;
	border-radius: 6px;
}

.pagination .page-buttons .num.active {
	font-weight: 700;
}

/* 버튼 크기 보정 */
.pagination .page-buttons a.first,
.pagination .page-buttons a.last {
	padding: 0 12px;
}

/* 반응형 축소 */
@media (max-width: 520px) {
	.pagination .page-buttons a,
	.pagination .page-buttons .num {
		min-width: 30px;
		height: 32px;
		font-size: 13px;
		border-radius: 6px;
	}
}
