/* Used by SmartDataGrid's insert dialog (InsertOptionLink.vue) — previously
   scoped to #addButtonsContainer, which no longer exists now that the dialog
   is rendered by the SmartDataGrid Vue component instead of hand-built HTML. */
.widget-card {
	color: inherit;
	transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}

.widget-card:hover {
	border-color: rgb(var(--primary-rgb-lmtl4));
	color: rgb(var(--primary-rgb-lmtl4));
	box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
	transform: translateY(-2px);
}

.widget-card-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: .5rem;
	background: rgba(var(--primary-rgb-lmtl4), .1);
	color: rgb(var(--primary-rgb-lmtl4));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-inline-end: .5rem;
}

.widget-card-desc {
	font-size: 0.9375rem; /* 15px */
	line-height: 1.4;
}

.widget-group + .widget-group {
	margin-top: 1.5rem;
}



.js-sfp-formContentSection:has(.sfp-content-lock-overlay){
	position: relative;
}

.sfp-content-lock-overlay {
	position: absolute;
	inset: 0;
	z-index: 1050;
	display: flex;
	align-items: start;
	justify-content: center;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(1px);
}

.sfp-content-lock-overlay .sfp-lock-card {
	max-width: 360px;
	text-align: center;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}