/**
 * Assignment Block - Editor Styles
 *
 * @package PressPrimer_Assignment
 * @since 1.0.0
 */

.wp-block-pressprimer-assignment-assignment {
	/* Block wrapper */
}

/* Preview container */
.ppa-assignment-block-preview {
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.ppa-assignment-block-preview-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.ppa-assignment-block-preview-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.ppa-assignment-block-preview-icon svg {
	fill: currentColor;
}

.ppa-assignment-block-preview-label {
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ppa-assignment-block-preview-content {
	padding: 20px;
}

.ppa-assignment-block-preview-title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.3;
}

.ppa-assignment-block-preview-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 12px;
}

.ppa-assignment-block-preview-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: #50575e;
}

.ppa-assignment-block-preview-meta-item strong {
	color: #0073aa;
	font-weight: 600;
}

.ppa-assignment-block-preview-description {
	margin: 0;
	font-size: 14px;
	color: #50575e;
	line-height: 1.5;
}

.ppa-assignment-block-preview-footer {
	padding: 12px 16px;
	background: #f6f7f7;
	border-top: 1px solid #ddd;
}

.ppa-assignment-block-preview-note {
	margin: 0;
	font-size: 12px;
	color: #757575;
	font-style: italic;
	text-align: center;
}

/* Placeholder styling */
.wp-block-pressprimer-assignment-assignment .components-placeholder {
	min-height: 150px;
}

.wp-block-pressprimer-assignment-assignment .components-placeholder__instructions {
	margin-bottom: 16px;
}

.wp-block-pressprimer-assignment-assignment .components-select-control__input {
	min-width: 250px;
}
