/* NF Enhancer — generic Photo Upload field (structure only; theming via skin). */
.nfe-uploader { --nfe-accent: #1a7a4a; --nfe-accent-light: #e8f5ee; }
.nfe-uploader .nfe-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nfe-dropzone {
	border: 2px dashed #d1d5db; border-radius: 10px; padding: 2rem 1.5rem; text-align: center;
	cursor: pointer; transition: border-color .15s, background .15s; background: #f9fafb;
	display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.nfe-dropzone:hover, .nfe-dropzone:focus, .nfe-uploader .nfe-dragging { border-color: var(--nfe-accent); background: var(--nfe-accent-light); outline: none; }
.nfe-dz-icon { font-size: 32px; line-height: 1; }
.nfe-dz-text { font-size: 14px; font-weight: 600; color: #1a1a1a; }
.nfe-dz-sub { font-size: 12px; color: #6b7280; line-height: 1.5; }

.nfe-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nfe-thumb {
	position: relative; width: 64px; height: 64px; border-radius: 6px; border: 1px solid #e5e7eb;
	background-size: cover; background-position: center; background-color: #eef1f4;
}
.nfe-thumb.nfe-uploading { display: flex; align-items: center; justify-content: center; }
.nfe-spinner { width: 18px; height: 18px; border: 2px solid rgba(0,0,0,.15); border-top-color: var(--nfe-accent); border-radius: 50%; animation: nfe-spin .7s linear infinite; }
@keyframes nfe-spin { to { transform: rotate(360deg); } }
.nfe-remove {
	position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%;
	border: none; background: #111827; color: #fff; font-size: 13px; line-height: 20px; cursor: pointer; padding: 0;
}
.nfe-count { font-size: 12px; font-weight: 500; color: var(--nfe-accent); margin-top: 8px; }
.nfe-upload-error { font-size: 12px; color: #dc2626; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .nfe-spinner { animation: none; } }

.nfe-photo-upload .nf-field-element > input[type=text]{display:none !important;}
