/**
 * Quiz Block - Editor Styles
 *
 * @package PressPrimer_Quiz
 * @since 1.0.0
 */

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

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

.ppq-quiz-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;
}

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

.ppq-quiz-block-preview-icon svg {
	fill: currentColor;
}

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

.ppq-quiz-block-preview-content {
	padding: 20px;
}

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

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

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

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

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

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

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

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

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

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