.wcpiu-upload-wrapper {
	margin: 15px 0;
	padding: 12px 15px;
	border: 1px dashed #ccc;
	border-radius: 6px;
	background: #fafafa;
}

.wcpiu-upload-label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.wcpiu-upload-hint {
	font-weight: 400;
	color: #666;
	font-size: 0.9em;
	margin-left: 4px;
}

.wcpiu-required {
	color: #d63638;
}

.wcpiu-previews {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.wcpiu-preview-item {
	position: relative;
	width: 60px;
	height: 60px;
}

.wcpiu-preview-item img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #ddd;
	display: block;
}

.wcpiu-remove-btn {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 20px;
	height: 20px;
	line-height: 18px;
	padding: 0;
	border-radius: 50%;
	background: #d63638;
	color: #fff;
	border: 2px solid #fff;
	cursor: pointer;
	font-size: 14px;
	text-align: center;
}

.wcpiu-file-picker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
}

.wcpiu-file-info {
	font-size: 0.85em;
	color: #777;
	margin: 0 0 8px;
	line-height: 1.4;
}

.wcpiu-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid #ccc;
	border-top-color: #7f54b3;
	border-radius: 50%;
	animation: wcpiu-spin 0.7s linear infinite;
}

@keyframes wcpiu-spin {
	to {
		transform: rotate( 360deg );
	}
}

.wcpiu-error {
	color: #d63638;
	font-size: 0.9em;
	margin: 4px 0 0;
}

.wcpiu-order-images img,
.wcpiu-cart-thumbs img {
	vertical-align: middle;
}
