.wtp-widget {
	max-width: 560px;
	margin: 2rem auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wtp-dropzone {
	position: relative;
	border: 2px dashed #c7d2fe;
	border-radius: 16px;
	background: #fafbff;
	padding: 3rem 2rem;
	text-align: center;
	transition: border-color 0.2s ease, background 0.2s ease;
	cursor: pointer;
}

.wtp-dropzone:hover,
.wtp-dropzone:focus-visible {
	border-color: #6366f1;
	background: #f5f6ff;
	outline: none;
}

.wtp-dropzone.wtp-dragover {
	border-color: #4f46e5;
	background: #eef0ff;
}

.wtp-icon {
	width: 56px;
	height: 56px;
	margin-bottom: 1rem;
}

.wtp-title {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: #1f2937;
}

.wtp-subtitle {
	margin: 0 0 1.25rem;
	font-size: 0.95rem;
	color: #6b7280;
}

.wtp-btn {
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
	padding: 0.75rem 1.75rem;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.wtp-btn-primary {
	background: linear-gradient(135deg, #6366f1, #4f46e5);
	color: #fff;
	box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.wtp-btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}

.wtp-btn-link {
	display: block;
	margin: 0.9rem auto 0;
	background: none;
	color: #6366f1;
	font-weight: 500;
	font-size: 0.9rem;
	padding: 0.25rem;
	box-shadow: none;
}

.wtp-btn-link:hover {
	text-decoration: underline;
}

.wtp-hint {
	margin: 0.9rem 0 0;
	font-size: 0.8rem;
	color: #9ca3af;
}

.wtp-filename {
	font-weight: 600;
	color: #374151;
	margin: 0 0 1.25rem;
	word-break: break-all;
}

.wtp-spinner {
	width: 44px;
	height: 44px;
	margin: 0 auto 1.25rem;
	border: 4px solid #e0e7ff;
	border-top-color: #6366f1;
	border-radius: 50%;
	animation: wtp-spin 0.8s linear infinite;
}

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

.wtp-icon-success circle,
.wtp-icon-error circle {
	animation: wtp-pop 0.3s ease;
}

@keyframes wtp-pop {
	from { transform: scale(0.7); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

.wtp-error-message {
	font-size: 0.9rem;
	color: #b91c1c;
	margin: 0 0 1.25rem;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

.wtp-footer-note {
	text-align: center;
	font-size: 0.8rem;
	color: #9ca3af;
	margin-top: 1rem;
}

[hidden] {
	display: none !important;
}
