/* Particle Shape for Bricks: wrapper styles.
 * Bricks-controlled width, height, and background land on .psb-particle-shape via the
 * element's CSS controls. We only handle the canvas positioning here.
 */
.psb-particle-shape {
	position: relative;
	overflow: hidden;
	min-width: 1px;
	min-height: 1px;
}

.psb-particle-shape__canvas {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	cursor: crosshair;
	touch-action: none;
}

@media (prefers-reduced-motion: reduce) {
	.psb-particle-shape__canvas { cursor: default; }
}

.psb-standalone-particle-shape {
	position: relative;
	overflow: hidden;	
	width: 100%;
	height: 100%;
	min-width: 1px;
	min-height: 1px;
}

.psb-particle-shape__export {
	position: relative;
	z-index: 2;
	margin-top: 12px;
	padding: 12px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 8px;
	background: rgba(20,24,29,.92);
	color: #d7dde5;
	font: 12px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.psb-particle-shape__export-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
}

.psb-particle-shape__copy {
	appearance: none;
	border: 0;
	border-radius: 6px;
	padding: 7px 10px;
	background: #f5d84f;
	color: #151515;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

.psb-particle-shape__export p {
	margin: 0 0 8px;
	color: #aeb8c4;
}

.psb-particle-shape__export-code {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 190px;
	padding: 10px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 6px;
	background: #101419;
	color: #d7dde5;
	font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	resize: vertical;
}

.psb-particle-shape__copy-status {
	min-height: 16px;
	margin-top: 6px;
	color: #9fcf9f;
}

.psb-builder-export-copy {
	appearance: none;
	border: 0;
	border-radius: 6px;
	padding: 8px 10px;
	margin: 0 0 8px;
	background: #f5d84f;
	color: #151515;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

.psb-builder-export-status {
	display: inline-block;
	margin-left: 8px;
	color: #9fcf9f;
	font-size: 12px;
}
