.fpd-custom-upload-zone {
	border: 2px dashed #ccc;
	border-radius: 8px;
	padding: 14px 16px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
	margin: 12px 0;
	position: relative;
	user-select: none;
}

.fpd-custom-upload-zone:hover,
.fpd-custom-upload-zone.fpd-dragover {
	border-color: #333;
	background-color: #fafafa;
}

.fpd-custom-upload-input {
	display: none;
}

.fpd-custom-upload-icon {
	display: block;
	margin: 0;
	padding: 0;
	color: #999;
	transition: color 0.2s;
}

.fpd-custom-upload-zone:hover .fpd-custom-upload-icon,
.fpd-custom-upload-zone.fpd-dragover .fpd-custom-upload-icon {
	color: #333;
}

.fpd-custom-upload-text {
	display: block;
	font-size: 14px;
	color: #555;
	margin-bottom: 4px;
}

/* Progress state */
.fpd-custom-upload-progress {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 8px 0;
	color: #555;
	font-size: 14px;
}

.fpd-custom-upload-zone.fpd-uploading .fpd-custom-upload-content {
	display: none;
}

.fpd-custom-upload-zone.fpd-uploading .fpd-custom-upload-progress {
	display: flex;
}

.fpd-custom-upload-spinner {
	width: 20px;
	height: 20px;
	border: 2px solid #ddd;
	border-top-color: #333;
	border-radius: 50%;
	animation: fpd-upload-spin 0.6s linear infinite;
}

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

/* Error message */
.fpd-custom-upload-error {
	margin-top: 8px;
	color: #d63638;
	font-size: 13px;
}
