/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.1
*/

/* === WPForms Submit Button === */
.row .wpforms-form button[type="submit"]{
	padding: 10px 20px !important;
}
.new_custom_form_submit_button_banner{
	padding: 10px 20px !important;
	background-color:#80E039 !important;
	box-shadow: 1px 2px 10px #000000 !important;
	color: #ffffff !important;
	border-radius: 25px !important;
	border: none !important;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
}
.new_custom_form_submit_button_banner:hover{
	background-color:#30A9FF !important;
	color: #ffffff !important;
}

/* === WPForms Form Fields - Fix Overlapping === */
.wpforms-container .wpforms-field-container .wpforms-field.custom_form_input {
	margin-top: 0px !important;
	margin-bottom: 12px !important;
	padding: 0 !important;
}

.wpforms-container .wpforms-field-container .custom_form_input input,
.wpforms-container .wpforms-field-container .custom_form_input textarea {
	border-radius: 10px !important;
	padding: 12px 14px !important;
	background-color: rgba(255,255,255,0.85) !important;
	border: 1px solid #ddd !important;
	width: 100% !important;
	box-sizing: border-box !important;
	font-size: 14px !important;
}

/* HIDE labels - WPForms label-hide class (uses placeholders instead) */
.wpforms-container .wpforms-field-label.wpforms-label-hide,
label.wpforms-field-label.wpforms-label-hide,
.wpforms-form .wpforms-field-label.wpforms-label-hide {
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
}

.custom_form_input .wpforms-error,
.custom_form_input .mailcheck-error{
	display: none !important;
}

/* === WPForms Container Fix === */
.wpforms-container {
	max-width: 100%;
}
.wpforms-field-container {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
