/**
 * ShopWriter Lite Bulk Generator Additional Styles
 *
 * @since 1.0.0
 * @package ShopWriter_Lite
 */

/* Bulk generator specific enhancements */
.shopwr-lite-bulk-generator .shopwr-lite-notice {
	margin-bottom: 20px;
}

.shopwr-lite-attribute-group {
	margin-bottom: 15px;
}

.shopwr-lite-attribute-group h4 {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 600;
}

/* Loading state */
.shopwr-lite-loading {
	opacity: 0.6;
	pointer-events: none;
}

.shopwr-lite-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid var(--shopwr-primary);
	border-radius: 50%;
	animation: shopwr-spin 1s linear infinite;
}

@keyframes shopwr-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Preview mode */
.shopwr-lite-preview-mode {
	background: #fffbeb;
	border: 2px solid #fbbf24;
	padding: 20px;
	border-radius: 8px;
	margin-top: 20px;
}

.shopwr-lite-preview-mode h3 {
	margin-top: 0;
	color: #92400e;
}

/* Product preview cards */
.shopwr-lite-product-preview {
	background: #fff;
	border: 1px solid var(--shopwr-border-color);
	border-radius: 4px;
	padding: 15px;
	margin-bottom: 15px;
}

.shopwr-lite-product-preview .product-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}

.shopwr-lite-product-preview .product-image {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 4px;
}

.shopwr-lite-product-preview .product-info h4 {
	margin: 0 0 5px;
}

.shopwr-lite-product-preview .product-info .sku {
	color: #646970;
	font-size: 12px;
}

.shopwr-lite-product-preview .field-preview {
	margin-bottom: 15px;
	padding: 10px;
	background: var(--shopwr-bg-light);
	border-radius: 4px;
}

.shopwr-lite-product-preview .field-preview label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 12px;
	text-transform: uppercase;
}

.shopwr-lite-product-preview .field-preview .content {
	font-size: 13px;
}

/* Status badges */
.shopwr-lite-status-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
}

.shopwr-lite-status-badge.pending {
	background: #f0f6fc;
	color: var(--shopwr-primary);
}

.shopwr-lite-status-badge.processing {
	background: #fcf9e8;
	color: #92400e;
}

.shopwr-lite-status-badge.success {
	background: #e7f5ea;
	color: var(--shopwr-success);
}

.shopwr-lite-status-badge.failed {
	background: #fcf0f1;
	color: var(--shopwr-error);
}
