/**
 * Sancho Gravity Forms Submit Button
 *
 * Gravity Forms adds `_wrapper` to the form CSS class on its outer wrapper.
 * Assign `contact-form-1` under Form Settings > CSS Class Name.
 */

html body .gform_wrapper.contact-form-1_wrapper .gfield--type-submit {
	display: flex !important;
	gap: 0 !important;
	justify-content: flex-end !important;
}

html body .gform_wrapper.contact-form-1_wrapper button[type="submit"].sancho-submit-button {
	display: flex !important;
	align-items: center !important;
	gap: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer !important;
	transition: transform 180ms ease !important;
}

html body .gform_wrapper.contact-form-1_wrapper button[type="submit"].sancho-submit-button:hover {
	background: transparent !important;
	transform: scale(1.02) !important;
}

html body .gform_wrapper.contact-form-1_wrapper button[type="submit"].sancho-submit-button > .sancho-submit-label {
	display: block !important;
	padding: 12px 24px !important;
	border: 0 !important;
	border-radius: 50px !important;
	background: rgb(217, 217, 217) !important;
	color: rgb(40, 28, 51) !important;
	font-size: inherit !important;
	line-height: 1.3 !important;
	text-align: center !important;
}

html body .gform_wrapper.contact-form-1_wrapper button[type="submit"].sancho-submit-button::after {
	content: "" !important;
	display: inline-block !important;
	width: 60px !important;
	min-width: 60px !important;
	align-self: stretch !important;
	background-color: transparent !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='53' height='33' viewBox='0 0 53 33' fill='none'%3E%3Crect x='0.75' y='0.75' width='51.0312' height='31.5' rx='15.75' stroke='currentColor' stroke-width='1.5'/%3E%3Cpath d='M17.1072 16.4941L31.0895 16.4941' stroke='currentColor' stroke-width='1.5' stroke-miterlimit='10'/%3E%3Cpath d='M33.1431 16.4027C33.1431 16.4027 28.1592 16.5167 28.1592 10.5977' stroke='currentColor' stroke-width='1.5' stroke-miterlimit='10'/%3E%3Cpath d='M33.1431 16.5968C33.1431 16.5968 28.1592 16.4828 28.1592 22.4019' stroke='currentColor' stroke-width='1.5' stroke-miterlimit='10'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
	filter: invert(1) !important;
}

html body .gform_wrapper.contact-form-1_wrapper button[type="submit"].sancho-submit-button:disabled {
	cursor: wait !important;
	opacity: 0.65 !important;
}

@media (max-width: 991px) {
	html body .gform_wrapper.contact-form-1_wrapper .gfield--type-submit {
		justify-content: center !important;
	}

	html body .gform_wrapper.contact-form-1_wrapper button[type="submit"].sancho-submit-button,
	html body .gform_wrapper.contact-form-1_wrapper button[type="submit"].sancho-submit-button > .sancho-submit-label {
		width: 100% !important;
	}

	html body .gform_wrapper.contact-form-1_wrapper button[type="submit"].sancho-submit-button::after {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body .gform_wrapper.contact-form-1_wrapper button[type="submit"].sancho-submit-button {
		transition: none !important;
	}
}
