/* Lead generation popup (native <dialog>). Matches the old Modules Pro popup: 650px, #f8f8f8, 8px radius, white 2px border. */
.td-lead-popup {
	width: min(650px, 92vw);
	max-height: 92vh;
	margin: auto;
	padding: 40px 20px;
	border: 2px solid #fff;
	border-radius: 8px;
	background: #f8f8f8;
	box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3);
	overflow: auto;
	text-align: left;
}
.td-lead-popup::backdrop {
	background: rgba(0, 0, 0, 0.49);
}
.td-lead-popup__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 0 25px 30px;
}
.td-lead-popup__title {
	margin: 0;
	padding: 0;
	font-size: 28px;
	line-height: 1.2em;
}
.td-lead-popup__close {
	flex: none;
	width: 36px;
	height: 36px;
	margin: -6px -10px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #333;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}
.td-lead-popup__close:hover,
.td-lead-popup__close:focus-visible {
	color: #3c3bd7;
}
.td-lead-popup__body {
	padding: 0 25px;
}
body.td-lead-popup-open {
	overflow: hidden;
}
