/*
Theme Name: Hello Elementor - To The Moon
Theme URI: https://tothemoonroofing.com
Description: Child theme for To The Moon Roofing. Renders the existing Elementor header and footer templates without requiring Elementor Pro / PRO Elements Theme Builder.
Author: Fortitude Creative
Version: 1.0.1
Template: hello-elementor
Text Domain: hello-elementor-ttm
*/

/* ---------------------------------------------------------------------------
   Fluent Forms - brand styling to match the form Elementor Pro used to render.
   Brand: button #00ff8f on #250c98, 3px radius, Sansita 15px/500.
   --------------------------------------------------------------------------- */

.fluentform .ff-el-group {
	margin-bottom: 16px;
}

.fluentform .ff-el-form-control {
	background: #ffffff;
	border: none;
	border-radius: 3px;
	padding: 14px 16px;
	font-size: 15px;
	color: #250c98;
}

.fluentform .ff-el-form-control::placeholder {
	color: #8a8aa3;
	opacity: 1;
}

.fluentform .ff-el-form-control:focus {
	outline: 2px solid #00ff8f;
	outline-offset: 0;
	box-shadow: none;
}

/* Consent checkbox sits on the dark navy panel - keep it readable. */
.fluentform .ff-el-form-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.fluentform .ff-el-form-check-label,
.fluentform .ff-el-form-check-label span {
	color: #e8e8f5;
	font-size: 13px;
	line-height: 1.5;
}

.fluentform input[type="checkbox"] {
	margin-top: 3px;
	accent-color: #00ff8f;
}

/* Submit button */
.fluentform .ff-btn-submit,
.fluentform .ff-btn.ff-btn-submit {
	background: #00ff8f;
	color: #250c98;
	border: none;
	border-radius: 3px;
	padding: 12px 24px;
	font-family: Sansita, sans-serif;
	font-size: 15px;
	font-weight: 500;
	transition: filter 0.15s ease;
}

.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn.ff-btn-submit:hover {
	background: #00ff8f;
	color: #250c98;
	filter: brightness(0.92);
}

/* Messages */
.fluentform .error-text,
.fluentform .text-danger,
.fluentform .ff-el-is-error .error {
	color: #ffb3b3;
}

.fluentform .ff-message-success {
	color: #e8e8f5;
}


/* Fluent Forms ships its own button styling with higher specificity - override it. */
.fluentform {
	--fluentform-primary: #00ff8f;
	--fluentform-secondary: #250c98;
}

.fluentform.ff-default .ff-btn-submit.ff_btn_style,
.fluentform .ff-btn.ff-btn-submit.ff_btn_style {
	background-color: #00ff8f !important;
	color: #250c98 !important;
	border: none !important;
	border-radius: 3px;
	padding: 12px 28px;
	font-family: Sansita, sans-serif;
	font-size: 15px;
	font-weight: 600;
}

.fluentform.ff-default .ff-btn-submit.ff_btn_style:hover,
.fluentform .ff-btn.ff-btn-submit.ff_btn_style:hover {
	filter: brightness(0.92);
}
