.its-enhancer-wrap {
	max-width: 1000px;
	margin: 20px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}
.its-enhancer-wrap * {
	box-sizing: border-box;
}

/* Upload Zone */
.its-upload-zone {
	border: 2px dashed #9aa5b1;
	border-radius: 12px;
	background: #f8f9fb;
	padding: 50px 20px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
}
.its-upload-zone:hover,
.its-upload-zone.its-dragover {
	border-color: #4f46e5;
	background: #eef0ff;
}
.its-upload-inner svg {
	color: #4f46e5;
	margin-bottom: 10px;
}
.its-upload-inner p {
	margin: 6px 0 4px;
	font-size: 16px;
	color: #1f2937;
}
.its-upload-hint {
	font-size: 13px;
	color: #6b7280;
}

/* Editor Layout */
.its-editor {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 10px;
}
.its-canvas-area {
	flex: 1 1 500px;
	background: repeating-conic-gradient(#f1f1f1 0% 25%, #ffffff 0% 50%) 50% / 20px 20px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	min-height: 320px;
}
.its-canvas-area canvas {
	max-width: 100%;
	max-height: 520px;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Controls */
.its-controls {
	flex: 0 0 300px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 18px;
}
.its-control-group {
	margin-bottom: 16px;
}
.its-control-group label {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
}
.its-val {
	color: #4f46e5;
	font-weight: 600;
}
.its-control-group input[type="range"] {
	width: 100%;
	accent-color: #4f46e5;
}

.its-toggle-row {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.its-btn {
	flex: 1 1 auto;
	padding: 9px 10px;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	background: #f9fafb;
	color: #1f2937;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
}
.its-btn:hover {
	background: #eef0ff;
	border-color: #4f46e5;
	color: #4f46e5;
}
.its-btn-toggle.active {
	background: #4f46e5;
	border-color: #4f46e5;
	color: #fff;
}
.its-btn-secondary {
	background: #fff;
}
.its-btn-primary {
	background: #4f46e5;
	color: #fff;
	border-color: #4f46e5;
	width: 100%;
	padding: 12px;
	font-size: 14px;
}
.its-btn-primary:hover {
	background: #4338ca;
	color: #fff;
}

.its-download-group {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.its-download-group select {
	padding: 9px 10px;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	font-size: 13px;
}

@media (max-width: 700px) {
	.its-controls {
		flex: 1 1 100%;
	}
}
