.piuw-image-upload-wrapper {
	margin: 20px 0;
	padding: 20px;
	border: 2px dashed #ccc;
	border-radius: 8px;
	background: #f7f7f7;
	color: #333;
}

.piuw-upload-field label {
	display: block;
	margin-bottom: 10px;
	font-weight: bold;
	color: #333;
}

.piuw-upload-field label .required {
	color: #e74c3c;
}

.piuw-upload-field.optional label .required {
	opacity: 0.5;
}

#piuw_product_image_upload {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #f7f7f7;
	color: #333;
}

.piuw-upload-progress {
	margin-top: 15px;
}

.piuw-progress-bar {
	width: 100%;
	height: 20px;
	background: #f0f0f0;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 5px;
}

.piuw-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #3498db, #2980b9);
	width: 0%;
	transition: width 0.3s ease;
}

.piuw-progress-text {
	font-size: 14px;
	color: #333;
}

.piuw-upload-previews {
	margin-top: 15px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.piuw-upload-preview {
	position: relative;
	display: inline-block;
}

.piuw-upload-preview img {
	max-width: 100px;
	max-height: 100px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.piuw-remove-image {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 25px;
	height: 25px;
	background: #e74c3c;
	color: #ffffff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.piuw-remove-image:hover {
	background: #c0392b;
}

.piuw-upload-error {
	margin-top: 10px;
	padding: 10px;
	background: #ffe6e6;
	color: #d63031;
	border-radius: 4px;
	border-left: 4px solid #d63031;
}

.piuw-email-option-wrapper {
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #ddd;
}

.piuw-email-option-label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
	color: #333;
	font-size: 14px;
	line-height: 1.4;
}

.piuw-email-option-label input[type="checkbox"] {
	margin-right: 10px;
	margin-top: 2px;
	transform: scale(1.2);
}

.piuw-multi-image-thumbnail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
	width: 100px;
	height: 100px;
	border-radius: 4px;
	overflow: hidden;
	margin-right: 5px;
}

.piuw-multi-image-thumbnail .piuw-multi-thumb-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 768px) {
	.piuw-image-upload-wrapper {
		margin: 15px 0;
		padding: 15px;
	}

	.piuw-upload-preview img {
		max-width: 80px;
		max-height: 80px;
	}
}
