/* uploadzone */
.LiUploadZoneBox{
	position: relative;
}
.LiUploadZoneBox .LiDropBox{
	position: absolute;
	width: 100%;
	height: 233px;
	z-index: 99;
	cursor: pointer;
}
.LiUploadZoneBox .file-name-pdf{
	cursor: pointer;
}
.LiUploadZoneBox .LiClickZone{
	border: 2px dashed #dee2e6;
	cursor: pointer;
	background: #fff;
    border-radius: 6px;
    padding: 10px;
	text-align: center;
}
.LiUploadZoneBox .LiClickZone.dragover{
	border: 2px dashed #ffcaba;
	background: #fdfdfd;
}
.LiUploadZoneBox .LiClickZone ul{
	list-style: none;
	margin: 0px;
	padding: 5px 0px;
}
.LiUploadZoneBox .LiFileDataBox{
	border: 1px solid #dee2e6!important;
	padding: 7px;
	margin: 10px 0px;
	border-radius: 6px;
	overflow: hidden;
}
.LiUploadZoneBox .LiFileDataBox .file-size{
	margin-top: 5px;
}
.LiUploadZoneBox .LiFileDataBox .image-box,.LiUploadZoneBox .LiFileDataBox .image-box-pdf{
	width: 100%;
	padding-top: 50%;
	background-color: #eef2f7!important;
	border: 1px solid #ccc;
	border-radius: 6px;
	overflow: hidden;
	text-align: center;
	position: relative;
	cursor: pointer;
}
.LiUploadZoneBox .LiFileDataBox .image-box .img-width{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}
.LiUploadZoneBox .LiFileDataBox .image-box .img-height,.LiUploadZoneBox .LiFileDataBox .image-box-pdf .img-height{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	height: 100%;
}
.LiUploadZoneBox .LiFileDataBox .file-infomation{
	padding: 10px;
    width: 100%;
	line-height: 20px;
}
.LiUploadZoneBox .LiFileDataBox .file-close,.LiUploadZoneBox .LiFileDataBox .file-edit,.LiUploadZoneBox .LiFileDataBox .file-download,.LiUploadZoneBox .LiFileDataBox .file-webcam{
	min-width: 50px;
    width: calc(30% - 10px);
    margin-right: 5px;
	display: inline-block;
}
.LiUploadZoneBox .LiFileDataBox .file-close button,.LiUploadZoneBox .LiFileDataBox .file-download button ,.LiUploadZoneBox .LiFileDataBox .file-edit button ,.LiUploadZoneBox .LiFileDataBox .file-webcam button{
	width: 100%;
}
#LiCropMainImage{
	width: 100%;
	height: 550px;
}
.LiUploadInfoBox{
	border: 2px dashed #dee2e6;
	border-radius: 6px;
	padding: 10px;
	margin-bottom: 10px;
}
.LiUploadInfoBox ul{
	list-style: decimal;
	margin: 0px 23px;
	padding: 5px 0px;
}

/* 拖拽排序樣式 */
.LiUploadZoneBox.sortable-initialized .LiFileDataBox {
	cursor: move !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
}

/* 停用過渡動畫 - 拖拽時使用 */
.LiUploadZoneBox .LiFileDataBox.no-transition {
	transition: none !important;
}

.LiUploadZoneBox .LiFileDataBox.dragging {
	transform: rotate(1deg) scale(1.02);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
	z-index: 1000;
	opacity: 0.95;
	background: #ffffff;
	border: 2px solid #007bff !important;
}

.LiUploadZoneBox .sortable-placeholder {
	border: 2px dashed #007bff;
	background: linear-gradient(45deg, rgba(0, 123, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 123, 255, 0.05) 75%), 
	            linear-gradient(45deg, rgba(0, 123, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 123, 255, 0.05) 75%);
	background-size: 20px 20px;
	background-position: 0 0, 10px 10px;
	border-radius: 6px;
	margin: 10px 0px;
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 0.6;
		transform: scale(1);
	}
	50% {
		opacity: 0.9;
		transform: scale(1.01);
	}
}

.LiUploadZoneBox .sorting-placeholder {
	color: #007bff;
	font-weight: 600;
	font-size: 15px;
	text-align: center;
	text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* 拖拽時隱藏其他元素的 hover 效果 */
.LiUploadZoneBox.ui-sortable-active .LiFileDataBox:not(.ui-sortable-helper):hover {
	transform: none;
	box-shadow: none;
}

/* 讓拖拽區域更明確 */
.LiUploadZoneBox.sortable-initialized .LiFileDataBox:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
