/* Upload immagini: drag & drop + anteprima */
.tf-dropzone {
	position: relative;
	max-width: 480px;
	border: 3px dashed #08bcf0;
	border-radius: 4px;
	background: linear-gradient(180deg, #eef9fd 0%, #f7fbfd 100%);
	box-shadow: inset 0 0 0 1px rgba(8, 188, 240, 0.15);
	padding: 22px 18px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.tf-dropzone:hover {
	border-color: #0699c4;
	background: linear-gradient(180deg, #e3f6fc 0%, #eef9fd 100%);
	box-shadow: inset 0 0 0 1px rgba(8, 188, 240, 0.28), 0 4px 14px rgba(8, 188, 240, 0.12);
}
.tf-dropzone.is-dragover {
	border-color: #057fa3;
	border-style: solid;
	background: #d9f3fb;
	box-shadow: inset 0 0 0 2px rgba(8, 188, 240, 0.35), 0 6px 18px rgba(8, 188, 240, 0.18);
	transform: scale(1.01);
}
.tf-dropzone-input {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}
.tf-dropzone-ui {
	position: relative;
	z-index: 1;
	pointer-events: none;
	min-height: 150px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.tf-dropzone-preview {
	display: none;
	max-width: 260px;
	max-height: 180px;
	width: auto;
	height: auto;
	object-fit: contain;
	background: rgba(209, 209, 209, 0.25);
	border-radius: 3px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.tf-dropzone.has-preview .tf-dropzone-preview {
	display: block;
}
.tf-dropzone.has-preview .tf-dropzone-placeholder {
	display: none;
}
.tf-dropzone-placeholder {
	color: #3d4a57;
	font-size: 14px;
	line-height: 1.45;
	padding: 6px 12px;
}
.tf-dropzone-placeholder::before {
	content: "";
	display: block;
	width: 52px;
	height: 52px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: #08bcf0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V5'/%3E%3Cpath d='M8 9l4-4 4 4'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E") center/26px 26px no-repeat;
	box-shadow: 0 4px 12px rgba(8, 188, 240, 0.35);
}
.tf-dropzone-placeholder strong {
	display: block;
	color: #0b3a4a;
	font-size: 16px;
	margin-bottom: 6px;
}
.tf-dropzone-filename {
	font-size: 12px;
	color: #08bcf0;
	font-weight: 600;
	word-break: break-all;
}
.tf-dropzone-current {
	margin-bottom: 10px;
}
.tf-dropzone-current img {
	max-width: 220px;
	background: rgba(209, 209, 209, 0.3);
}
.tf-char-count {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #777;
}
