/**
 * Pravin Smart Content Scheduler - Block Editor Styles
 *
 * @package PravinSmartContentScheduler
 */

.pscs-gutenberg-block {
	border: 2px dashed #2271b1 !important;
	border-radius: 6px !important;
	background: #f8fafc !important;
	padding: 16px !important;
	margin: 20px 0 !important;
	position: relative;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pscs-gutenberg-block:hover,
.pscs-gutenberg-block.is-selected {
	border-color: #135e96 !important;
	box-shadow: 0 0 0 1px #135e96;
}

.pscs-block-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding-bottom: 12px;
	margin-bottom: 14px;
	border-bottom: 1px dashed #cbd5e1;
	font-size: 13px;
	color: #1e293b;
}

.pscs-block-header .dashicons {
	color: #2271b1;
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.pscs-block-title {
	font-weight: 600;
	color: #0f172a;
}

.pscs-block-badge {
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 12px;
	margin-left: auto;
}

.pscs-badge-active {
	background: #def7ec;
	color: #03543f;
	border: 1px solid #bcf0da;
}

.pscs-badge-hidden {
	background: #fde8e8;
	color: #9b1c1c;
	border: 1px solid #f8b4b4;
}

.pscs-block-inner {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	padding: 14px 16px;
	min-height: 50px;
}

.pscs-editor-info-box {
	background: #f0f6fc;
	border: 1px solid #c8d8ea;
	border-left: 3px solid #2271b1;
	padding: 10px 12px;
	border-radius: 4px;
	margin-bottom: 14px;
}

.pscs-status-pill {
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 10px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.pscs-status-active {
	background: #def7ec;
	color: #03543f;
	border: 1px solid #bcf0da;
}

.pscs-status-hidden {
	background: #fde8e8;
	color: #9b1c1c;
	border: 1px solid #f8b4b4;
}

.pscs-block-fallback {
	padding: 12px 16px;
	background: #f8fafc;
	border-left: 3px solid #64748b;
	color: #475569;
	font-style: italic;
	margin: 10px 0;
}
