.ppuwc-upload-box {
	margin: 18px 0 20px;
	padding: 18px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 4px 15px rgba(15,23,42,.05);
}

.ppuwc-head h3 {
	margin: 0 0 5px;
	font-size: 16px;
	line-height: 1.3;
	color: #0f172a;
}

.ppuwc-head p {
	margin: 0 0 12px;
	color: #64748b;
	font-size: 13px;
	line-height: 1.45;
}

.ppuwc-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 105px;
	padding: 16px;
	background: #f8fafc;
	border: 1.5px dashed #cbd5e1;
	border-radius: 12px;
	cursor: pointer;
	text-align: center;
	transition: .2s ease;
}

.ppuwc-dropzone:hover,
.ppuwc-dropzone:focus-within {
	background: #fff5f5;
	border-color: #dc2626;
}

.ppuwc-plus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-bottom: 7px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 50%;
	color: #dc2626;
	font-size: 22px;
	line-height: 1;
}

.ppuwc-button-label {
	color: #0f172a;
	font-size: 14px;
	font-weight: 700;
}

.ppuwc-help {
	margin-top: 4px;
	color: #94a3b8;
	font-size: 11px;
}

.ppuwc-file-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0,0,0,0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.ppuwc-preview {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
	gap: 9px;
	margin-top: 12px;
}

.ppuwc-item {
	overflow: hidden;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(15,23,42,.04);
}

.ppuwc-thumb {
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f8fafc;
}

.ppuwc-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ppuwc-remove {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: 100% !important;
	height: 18px !important;
	min-width: 0 !important;
	min-height: 18px !important;

	margin: 0 !important;
	padding: 0 !important;

	background: #fff1f2 !important;
	background-color: #fff1f2 !important;

	border: 0 !important;
	border-top: 1px solid #fecdd3 !important;
	border-radius: 0 !important;

	color: #b91c1c !important;

	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-align: center !important;
	text-transform: none !important;
	text-decoration: none !important;

	opacity: 1 !important;
	visibility: visible !important;

	box-shadow: none !important;
	text-shadow: none !important;
	outline: none !important;

	cursor: pointer !important;
	appearance: none !important;
	-webkit-appearance: none !important;

	transition:
		background-color .15s ease,
		color .15s ease !important;
}

.ppuwc-remove span {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: 100% !important;
	height: 100% !important;

	margin: 0 !important;
	padding: 0 !important;

	color: inherit !important;

	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-align: center !important;

	pointer-events: none !important;
}

.ppuwc-remove:hover,
.ppuwc-remove:focus,
.ppuwc-remove:active {
	background: #dc2626 !important;
	background-color: #dc2626 !important;

	border-top-color: #dc2626 !important;

	color: #ffffff !important;

	opacity: 1 !important;

	box-shadow: none !important;
	text-shadow: none !important;
	outline: none !important;
}

.ppuwc-remove:disabled,
.ppuwc-remove.is-loading {
	background: #f8fafc !important;
	background-color: #f8fafc !important;

	border-top-color: #e2e8f0 !important;

	color: #94a3b8 !important;

	cursor: wait !important;
	opacity: 1 !important;
}

.ppuwc-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 110px;
	padding: 8px;
	background: #f8fafc;
	color: #64748b;
	font-size: 11px;
	text-align: center;
}

.ppuwc-message {
	display: none;
	margin-top: 9px;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 12px;
}

.ppuwc-message.is-error {
	display: block;
	background: #fff1f2;
	color: #b91c1c;
}

@media (max-width: 600px) {
	.ppuwc-upload-box {
		padding: 14px;
	}

	.ppuwc-preview {
		grid-template-columns: repeat(3, 1fr);
	}
}
