/* WOS Forms & ERP Connector: WPForms styling to match the WOS brand (style A buttons by default).
   Uses the skeleton's CSS variables when present (--wos-btn-bg etc.), with style A fallbacks. */

.wpforms-container.wos-fc-form {
	--wpforms-button-background-color: var(--wos-btn-bg, #5B9D78);
	--wpforms-button-border-color: var(--wos-btn-bg, #5B9D78);
	--wpforms-button-text-color: #FFFFFF;
	--wpforms-field-border-color: #C9CFD4;
	--wpforms-label-color: #2F3A45;
	--wpforms-label-sublabel-color: #5A6570;
}

/* Submit buttons: brand green, white bold 19px text (style A), deeper green on hover. */
div.wpforms-container-full.wos-fc-form button[type="submit"].wos-fc-submit,
.wpforms-container.wos-fc-form button.wos-fc-submit {
	background-color: var(--wos-btn-bg, #5B9D78) !important;
	border: 0 !important;
	border-radius: 4px !important;
	color: #FFFFFF !important;
	font-size: var(--wos-btn-font-size, 19px) !important;
	font-weight: var(--wos-btn-font-weight, 700) !important;
	line-height: 1.2 !important;
	height: auto !important;
	padding: 13px 28px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	transition: background-color .2s ease;
}
div.wpforms-container-full.wos-fc-form button[type="submit"].wos-fc-submit:hover,
div.wpforms-container-full.wos-fc-form button[type="submit"].wos-fc-submit:focus,
.wpforms-container.wos-fc-form button.wos-fc-submit:hover,
.wpforms-container.wos-fc-form button.wos-fc-submit:focus {
	background-color: var(--wos-btn-bg-hover, #477B5E) !important;
	color: #FFFFFF !important;
}
.wpforms-container.wos-fc-form button.wos-fc-submit:focus-visible {
	outline: 3px solid #2F3A45 !important;
	outline-offset: 2px !important;
}

/* Labels charcoal, links deeper green, focus in green. */
.wos-fc-form .wpforms-field-label,
.wos-fc-form .wpforms-field-label-inline {
	color: #2F3A45;
}
.wos-fc-form .wpforms-field-label-inline a,
.wos-fc-form .wpforms-field-description a {
	color: #477B5E;
	text-decoration: underline;
}
.wos-fc-form input[type="text"]:focus,
.wos-fc-form input[type="email"]:focus,
.wos-fc-form input[type="number"]:focus,
.wos-fc-form select:focus,
.wos-fc-form textarea:focus {
	border-color: #477B5E !important;
	box-shadow: 0 0 0 1px #477B5E !important;
	outline: none;
}
.wos-fc-form .wos-fc-consent .wpforms-field-label-inline {
	font-size: 15px;
	line-height: 1.45;
}

/* Honeypot: off-screen for people, still in the form for bots. */
div.wpforms-container.wos-fc-form .wpforms-field.wos-fc-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Confirmation message: calm green tint instead of the default lime. */
.wos-fc-form .wpforms-confirmation-container-full,
.wos-fc-form.wpforms-confirmation-container-full,
div.wpforms-confirmation-container-full.wos-fc-form {
	background: #EEF6F1 !important;
	border: 1px solid #5B9D78 !important;
	color: #2F3A45 !important;
}

/* Home signup section: keep the form a comfortable width. */
.wos-fc-mailing-section .wos-fc-mailing-widget {
	max-width: 640px;
}

/* Footer (OceanWP footer widgets, dark background): compact signup, light text. */
#footer-widgets .wos-fc-form .wos-fc-extra {
	display: none !important;
}
#footer-widgets .wos-fc-form .wpforms-field.wpforms-one-half {
	width: 100% !important;
	margin-left: 0 !important;
	float: none !important;
}
#footer-widgets .wos-fc-form .wpforms-field-label,
#footer-widgets .wos-fc-form .wpforms-field-label-inline,
#footer-widgets .wos-fc-form .wpforms-field-description {
	color: #FFFFFF;
}
#footer-widgets .wos-fc-form .wpforms-field-label-inline a {
	color: #FFFFFF;
}
#footer-widgets .wos-fc-form .wpforms-confirmation-container-full,
#footer-widgets .wos-fc-form.wpforms-confirmation-container-full {
	background: transparent !important;
	color: #FFFFFF !important;
}
#footer-widgets .wos-fc-form .wpforms-field {
	padding: 6px 0;
}

/* Character counters only where they help (the message box). */
.wos-fc-form .wpforms-field-text .wpforms-field-limit-text {
	display: none;
}
