/* Site fixes loaded after bundle.css (see templates/html-header.twig) */

/* Fluent Forms multi-step: full-width Next, Previous + Submit as equal halves on one row */
.frm-fluent-form .step-nav .ff-btn-next {
	float: none !important;
	width: 100%;
}
.frm-fluent-form .ff-inner_submit_container {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	gap: 12px;
}
.frm-fluent-form .ff-inner_submit_container > .ff-t-cell {
	flex: 1 1 0 !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
}
.frm-fluent-form .ff-inner_submit_container .step-nav,
.frm-fluent-form .ff-inner_submit_container .ff_submit_btn_wrapper {
	width: 100%;
	margin: 0;
	text-align: center;
}
.frm-fluent-form .ff-inner_submit_container .ff-btn-prev,
.frm-fluent-form .ff-inner_submit_container .ff-btn-submit {
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	padding-left: 8px !important;
	padding-right: 8px !important;
}

/* Main form block sits on a white card: labels need dark text */
.stuart-movingform-main .frm-fluent-form .ff-el-input--label label {
	color: #1f1f1f !important;
}

/* Below 1024px the theme turns form buttons white (meant for orange cards).
   The main form card is white, so keep its buttons orange there. */
@media (max-width: 1023px) {
	.stuart-movingform-main .frm-fluent-form .ff-btn {
		background-color: #e57329 !important;
		border-color: #e57329 !important;
		color: #000 !important;
	}
}
@media (max-width: 1023px) and (hover: hover) {
	.stuart-movingform-main .frm-fluent-form .ff-btn:hover {
		background-color: #000 !important;
		border-color: #000 !important;
		color: #fff !important;
	}
}

/* Main form card: less side padding on phones so fields and buttons get room */
@media (max-width: 767px) {
	.stuart-movingform-main .shadow {
		padding: 28px 20px !important;
	}
}
