/* Local preview placeholders while Houzez gallery images upload. */

#houzez_property_gallery_container > .property-thumb.nemo-uploading,
#houzez_property_gallery_container > .property-thumb.houzez-during-upload {
	padding: 4px;
}

.property-thumb.nemo-uploading .nemo-upload-preview,
.property-thumb .nemo-upload-preview {
	position: relative;
	overflow: hidden;
	min-height: 120px;
	background-color: #e8eaeb;
	border-radius: 4px;
}

.property-thumb .nemo-upload-preview-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	opacity: 0.85;
}

.property-thumb .nemo-upload-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px;
	background: rgba(20, 24, 28, 0.45);
	color: #fff;
	text-align: center;
	pointer-events: none;
}

.property-thumb .nemo-upload-status {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.property-thumb .nemo-upload-pct {
	font-size: 14px;
	font-weight: 500;
	min-height: 1.2em;
}

.property-thumb .nemo-upload-bar {
	display: block;
	width: 72%;
	max-width: 140px;
	height: 6px;
	margin-top: 4px;
	background: rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	overflow: hidden;
}

.property-thumb .nemo-upload-bar-fill {
	display: block;
	height: 100%;
	width: 0;
	min-width: 0;
	background: #ffffff;
	border-radius: 999px;
	transition: width 0.2s ease-out;
}

.property-thumb.nemo-uploading .nemo-upload-preview-img {
	filter: brightness(0.92);
}
