/* ==========================================================================
   Whoosh — forms.css   (Fluent Forms, scoped to Fluent Forms widgets with the `wh-ff` class (Elementor → Advanced → CSS Classes))
   ========================================================================== */

.wh-ff .ff-el-group { margin-bottom: 20px; }
.wh-ff .ff-t-container { gap: 20px; margin-bottom: 0; }
.wh-ff .ff-t-container .ff-t-cell { padding: 0 !important; }
.wh-ff .ff-el-input--label { margin-bottom: 6px; }
.wh-ff .ff-el-input--label label {
	font: 700 13px/1.4 var(--wh-font-ui) !important;
	color: var(--wh-ink) !important;
}
.wh-ff .ff-el-is-required.asterisk-right label::after { color: var(--wh-magenta) !important; }
.wh-ff .fluentform .ff-el-form-control {
	height: 52px !important;
	padding: 0 16px !important;
	border: 1.5px solid #C5CEE3 !important;
	border-radius: 10px !important;
	background-color: #FFFFFF !important;
	color: var(--wh-ink) !important;
	font: 400 16px/1.4 var(--wh-font-body) !important;
	box-shadow: none !important;
	caret-color: var(--wh-blue);
	transition: border-color .2s;
}
.wh-ff .fluentform textarea.ff-el-form-control { height: 140px; padding: 14px 16px !important; line-height: 1.6 !important; resize: vertical; }
.wh-ff .fluentform select.ff-el-form-control { padding-right: 40px !important; }
.wh-ff .fluentform .ff-el-form-control::placeholder { color: #5A5F80; opacity: 1; }
.wh-ff .fluentform .ff-el-form-control:hover { border-color: var(--wh-line-2) !important; }
.wh-ff .fluentform .ff-el-form-control:focus { border-color: var(--wh-blue) !important; outline: 3px solid var(--wh-focus); outline-offset: 1px; }
.wh-ff .ff-el-help-message { margin-top: 6px; font: 400 14px/1.5 var(--wh-font-body); color: var(--wh-muted); font-style: normal; }

/* Validation */
.wh-ff .ff-el-is-error .ff-el-form-control { border-color: #C0306F !important; }
.wh-ff .error.text-danger { margin-top: 6px; font: 600 14px/1.4 var(--wh-font-body); color: #B3245F; }

/* File upload as the design's dashed drop zone */
.wh-ff .wh-ff-upload .ff_file_upload_holder {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border: 1.5px dashed #9FB3D9;
	border-radius: 12px;
	background: var(--wh-paper);
}
.wh-ff .wh-ff-upload .ff_upload_btn.ff-btn {
	padding: 12px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--wh-ice);
	color: var(--wh-blue);
	font: 700 15px/1.2 var(--wh-font-ui);
}
.wh-ff .wh-ff-upload .ff_upload_btn.ff-btn:hover { background: var(--wh-mist); }

/* Submit */
.wh-ff .ff_submit_btn_wrapper { margin: 8px 0 0; }
.wh-ff .fluentform .ff_submit_btn_wrapper .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 58px;
	padding: 0 36px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background-color: var(--wh-magenta) !important;
	color: #FFFFFF !important;
	font: 700 17px/1.2 var(--wh-font-ui) !important;
	transition: background-color .3s var(--wh-ease), transform .4s var(--wh-ease);
}
.wh-ff .fluentform .ff_submit_btn_wrapper .ff-btn-submit:hover { background-color: var(--wh-magenta-d) !important; opacity: 1 !important; }
.wh-ff .fluentform .ff_submit_btn_wrapper .ff-btn-submit:active { transform: scale(.98); }
.wh-ff .fluentform .ff_submit_btn_wrapper .ff-btn-submit::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Success message */
.ff-message-success {
	padding: 20px 22px !important;
	border: 1.5px solid #C7DBF5 !important;
	border-radius: 16px;
	background: var(--wh-ice) !important;
	box-shadow: none !important;
	color: var(--wh-ink);
	font: 400 16.5px/1.6 var(--wh-font-body);
}
.ff-message-success p { margin: 0; }
.ff-message-success a { font-weight: 700; }

/* ---------- Inline layout (Home "Quick quote") ---------- */
.wh-ff--inline fieldset {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	column-gap: 20px;
}
.wh-ff--inline .ff-el-group,
.wh-ff--inline .ff-t-container { margin-bottom: 0; }
.wh-ff--inline .ff_submit_btn_wrapper { margin: 0; }
.wh-ff--inline .fluentform .ff_submit_btn_wrapper .ff-btn-submit { min-height: 52px; padding: 0 28px !important; font-size: 16px !important; }
.wh-ff--inline .fluentform .ff_submit_btn_wrapper .ff-btn-submit::after { display: none; }

@media (max-width: 1024px) {
	.wh-ff--inline fieldset { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
	.wh-ff--inline .fluentform .ff_submit_btn_wrapper .ff-btn-submit { width: 100%; justify-content: center; }
}
@media (max-width: 767px) {
	.wh-ff .ff-t-container { flex-direction: column; gap: 0; }
	.wh-ff .ff-t-container .ff-t-cell { width: 100% !important; flex-basis: 100% !important; }
	.wh-ff--inline .ff-t-container { gap: 16px; }
	.wh-ff .fluentform .ff_submit_btn_wrapper .ff-btn-submit { width: 100%; justify-content: center; }
}
