/**
 * SheetFusion - Block editor styles.
 *
 * @package SheetFusion
 */

.sf-block-editor-wrapper {
	width: 100%;
}

.sf-block-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 140px;
	padding: 28px 20px;
	border: 2px dashed #c3c4c7;
	border-radius: 6px;
	background: #f6f7f7;
	text-align: center;
	box-sizing: border-box;
}

.sf-block-placeholder--configured {
	border-style: solid;
	border-color: #2563eb;
	background: #eff6ff;
}

.sf-block-placeholder__icon .dashicons {
	font-size: 36px;
	width: 36px;
	height: 36px;
	color: #2563eb;
}

.sf-block-placeholder__label {
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.sf-block-placeholder__instructions {
	font-size: 13px;
	color: #646970;
	max-width: 360px;
	line-height: 1.5;
}

.sf-block-loading {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px;
	font-size: 13px;
	color: #646970;
}

@keyframes sf-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.sf-spin {
	display: inline-block;
	animation: sf-spin 1s linear infinite;
}
