/* Keep the CRM's inline form within its site card, including narrow phones. */
.asb-ee-widget-host {
	width: 100%;
	min-width: 0;
}

.asb-ee-widget-host [hidden] {
	display: none !important;
}

.asb-ee-widget-host .ee-form-widget {
	--ee-primary-color: #e42e2d;
	--ee-link-button-text-color: #e42e2d;
	--ee-main-bg-color: transparent;
	--ee-font-family: Inter, sans-serif;
}

.asb-ee-widget-host [data-asb-ee-widget],
.asb-ee-widget-host .ee-form-widget-form,
.asb-ee-widget-host .ee-container {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	left: auto !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.asb-ee-widget-host .ee-row,
.asb-ee-widget-host .ee-form-body,
.asb-ee-widget-host .col-75,
.asb-ee-widget-host .iti {
	box-sizing: border-box !important;
	min-width: 0 !important;
	max-width: 100% !important;
}

.asb-ee-widget-host input:not([type="checkbox"]),
.asb-ee-widget-host select,
.asb-ee-widget-host textarea {
	box-sizing: border-box !important;
	max-width: 100% !important;
}

.asb-ee-widget-host .ee-form-footer.controls {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.asb-ee-widget-host label[for$="-iAgree"] {
	display: flex !important;
	align-items: flex-start;
	gap: 0.5rem;
}

.asb-ee-widget-host label[for$="-iAgree"] input {
	flex: 0 0 auto;
	margin-top: 0.2rem;
}

.asb-ee-widget-host label[for$="-iAgree"] span {
	min-width: 0;
	font-size: 0.75rem !important;
	line-height: 1.4 !important;
}

.asb-ee-widget-host .btn-submit,
.asb-ee-widget-host .btn-submit p {
	box-sizing: border-box !important;
	max-width: 100% !important;
	white-space: normal !important;
}

@media (max-width: 600px) {
	.asb-ee-widget-host .ee-row {
		width: 100% !important;
		margin-inline: 0 !important;
	}

	.asb-ee-widget-host .btn-submit,
	.asb-ee-widget-host .btn-submit p {
		width: 100% !important;
	}
}
