/* Import Templates admin screen */
.szp-import-templates {
	max-width: 1400px;
}

/* PRO badge on card */
.szp-import-card {
	position: relative;
}
.szp-import-card__pro-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	background: #f97316;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .6px;
	padding: 2px 7px 3px;
	border-radius: 4px;
	line-height: 1.4;
	pointer-events: none;
}

/* Locked card — dimmed thumb */
.szp-import-card--locked .szp-import-card__img {
	opacity: .45;
	filter: grayscale(40%);
}

.szp-import-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 24px;
}

.szp-filter-pill {
	border-radius: 4px;
}

.szp-filter-pill.is-active {
	background: #d63638;
	border-color: #d63638;
	color: #fff;
	box-shadow: none;
}

.szp-import-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.szp-import-card {
	background: #fff;
	border: 1px solid #e2e6ea;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.szp-import-card:hover,
.szp-import-card:focus-within {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.szp-import-card__thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #f0f0f1;
	overflow: hidden;
}

.szp-import-card__thumb .szp-import-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	background: #f0f0f1;
}

.szp-import-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.szp-import-card:hover .szp-import-card__overlay,
.szp-import-card:focus-within .szp-import-card__overlay {
	opacity: 1;
}

.szp-import-card__title {
	margin: 14px 16px 6px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.szp-import-card__desc {
	margin: 0 16px 10px;
	font-size: 14px;
	line-height: 1.45;
	color: #646970;
	text-align: center;
}

.szp-import-card__msg {
	margin: 0 16px 14px;
	font-size: 12px;
	min-height: 1.2em;
	text-align: center;
}

.szp-import-card__msg.is-success {
	color: #00a32a;
}

.szp-import-card__msg.is-error {
	color: #d63638;
}

.szp-import-empty {
	padding: 24px;
	background: #fff;
	border-left: 4px solid #dba617;
}

.szp-import-btn:disabled {
	opacity: 0.5;
}

@media (max-width: 1280px) {
	.szp-import-grid {
		grid-template-columns: 1fr;
	}
}

/* Auto-enabled widgets notice shown after a successful import */
.szp-import-card__enabled {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 6px;
	padding: 10px 12px;
	margin-top: 10px;
	font-size: 12px;
	color: #065f46;
	line-height: 1.45;
}
.szp-import-card__enabled strong {
	display: block;
	color: #047857;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .4px;
	margin-bottom: 4px;
}
.szp-import-card__enabled ul {
	margin: 0;
	padding-left: 14px;
	list-style: disc;
}
.szp-import-card__enabled li {
	margin: 2px 0;
}
