.cu-widget button{ all: unset; box-sizing: border-box !important; cursor: pointer; }
.cu-widget, .cu-widget *{ box-sizing: border-box !important; }

.cu-widget{
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	max-width: 480px;
	margin: 0 auto;
}

.cu-step{
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 26px;
	box-shadow: 0 4px 18px rgba(0,0,0,0.06);
	margin-bottom: 20px;
	text-align: center;
}

.cu-title{ font-size: 19px; font-weight: 800; margin: 0 0 6px; color: #222; }
.cu-sub{ color: #777; font-size: 14px; margin: 0 0 18px; }

.cu-dropzone{
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-height: 180px;
	border: 2px dashed #cfd3da;
	border-radius: 10px;
	cursor: pointer;
	margin-bottom: 18px;
	padding: 16px;
	transition: border-color 0.15s ease;
}
.cu-dropzone:hover{ border-color: #6b7ee0; }
.cu-dropzone-text{ color: #888; font-size: 14px; font-weight: 600; }

.cu-preview-img{
	max-width: 100%;
	max-height: 320px;
	border-radius: 8px;
	display: block;
	margin: 0 auto 18px;
}

.cu-widget .cu-btn{
	display: inline-block;
	font-weight: 800; font-size: 14.5px;
	padding: 12px 26px; border-radius: 999px;
	margin: 4px 6px;
}
.cu-widget .cu-btn-primary{
	background: linear-gradient(180deg, #7b8cf0, #4f5fd6);
	color: #fff;
	box-shadow: 0 4px 0 #3947ab, 0 8px 16px rgba(0,0,0,0.12);
}
.cu-widget .cu-btn-primary:hover{ transform: translateY(-2px); }
.cu-widget .cu-btn-primary:disabled{ opacity: 0.6; cursor: default; transform: none; }
.cu-widget .cu-btn-secondary{
	background: #f1f1f4; color: #444;
}
.cu-widget .cu-btn-secondary:hover{ background: #e6e6ea; }

.cu-loading{
	display: flex; flex-direction: column; align-items: center; gap: 14px;
	padding: 30px 0;
	color: #666; font-size: 14px;
}
.cu-spinner{
	width: 36px; height: 36px;
	border: 4px solid #e3e6f5;
	border-top-color: #4f5fd6;
	border-radius: 50%;
	animation: cu-spin 0.8s linear infinite;
}
@keyframes cu-spin{ to{ transform: rotate(360deg); } }

.cu-error{ color: #c0392b; font-weight: 600; font-size: 13.5px; margin-top: 12px; }

@media (max-width: 520px){
	.cu-step{ padding: 20px 16px; }
}
