/* Lead form inside the Realtor Bot Quiz window. Uses the quiz's colour variables. */
#rbq-root .poti-lead-open {
	display: block;
	width: 100%;
	margin: 18px 0 0;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--rbq-main);
	text-align: center;
	background: var(--rbq-tint);
	border: 1px dashed var(--rbq-main);
	border-radius: var(--rbq-radius);
	box-shadow: none;
	cursor: pointer;
}
#rbq-root .poti-lead-open:hover { color: #fff; background: var(--rbq-main); }
#rbq-root .poti-lead-open:focus-visible,
#rbq-root .poti-lead textarea:focus-visible,
#rbq-root .poti-lead input:focus-visible { outline: 2px solid var(--rbq-main); outline-offset: 2px; }

#rbq-root .poti-lead-intro { margin: 0 auto 18px; max-width: 500px; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--rbq-heading); text-align: center; }
#rbq-root .poti-lead-field { display: block; margin: 0 0 14px; }
#rbq-root .poti-lead-field span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; color: var(--rbq-text); }
#rbq-root .poti-lead-field textarea,
#rbq-root .poti-lead-field input {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	color: var(--rbq-heading);
	background: #fff;
	border: 1px solid var(--rbq-line);
	border-radius: var(--rbq-radius);
	box-shadow: none;
}
#rbq-root .poti-lead-field input { height: 44px; }
#rbq-root .poti-lead-field textarea { min-height: 84px; resize: vertical; }
#rbq-root .poti-lead-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 14px; line-height: 1.45; color: var(--rbq-heading); cursor: pointer; }
#rbq-root .poti-lead-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--rbq-main); opacity: 1; position: static; }
#rbq-root .poti-lead-error { min-height: 20px; margin: 0 0 8px; font-size: 13px; color: #b3261e; text-align: center; }
#rbq-root .poti-lead-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#rbq-root .poti-lead .rbq-btn[disabled] { opacity: .5; cursor: not-allowed; }
#rbq-root .poti-lead .rbq-back { display: block; margin: 12px auto 0; }
