#wpp-customizer-wrap {
	margin: 20px 0;
	padding: 16px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fafafa;
}

#wpp-customizer-wrap h4 {
	margin-top: 0;
}

.wpp-gallery-replacement {
	margin-bottom: 16px;
}

#wpp-canvas-container {
	max-width: 100%;
	margin-bottom: 12px;
}

#wpp-canvas {
	border: 1px solid #ddd;
	max-width: 100%;
}

.wpp-tool-group {
	margin-bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

#wpp-text-input {
	min-width: 200px;
}

#wpp-status.wpp-validated {
	color: #2a8a2a;
	font-weight: 600;
}

#wpp-color-swatches {
	display: inline-flex;
	gap: 6px;
}

.wpp-color-swatch {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid #ccc;
	cursor: pointer;
	padding: 0;
}

.wpp-color-swatch.active {
	border-color: #333;
	box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

.wpp-color-swatch.wpp-swatch-pattern {
	border-radius: 6px;
	background-size: cover;
	background-position: center;
}

.wpp-edit-personalization {
	font-size: 0.85em;
	display: inline-block;
	margin-top: 4px;
}

#wpp-zone-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.wpp-zone-tab {
	padding: 6px 14px;
	border: 1px solid #ccc;
	background: #f7f7f7;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
}

.wpp-zone-tab-active {
	background: #2c2c2c;
	color: #fff;
	border-color: #2c2c2c;
}

.wpp-zone-tab-check {
	color: #4caf50;
	font-weight: 700;
}

.wpp-zone-tab-active .wpp-zone-tab-check {
	color: #8bd99a;
}

#wpp-text-counter {
	display: inline-block;
	font-size: 12px;
	color: #666;
	margin-left: 8px;
	vertical-align: middle;
}

#wpp-text-counter.wpp-counter-warning {
	color: #d97706;
	font-weight: 600;
}

#wpp-text-counter.wpp-counter-error {
	color: #dc2626;
	font-weight: 700;
}

.wpp-overflow-warn {
	color: #b45309;
	background: #fef3c7;
	border: 1px solid #f59e0b;
	border-radius: 4px;
	padding: 6px 10px;
	font-size: 13px;
	margin: 6px 0 0;
	display: none;
}

.wpp-font-size-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0;
}

.wpp-font-size-row label {
	font-size: 13px;
	white-space: nowrap;
}

#wpp-font-size {
	flex: 1;
	max-width: 160px;
	cursor: pointer;
}

#wpp-font-size-value {
	font-size: 13px;
	min-width: 36px;
	color: #555;
}
