/* EM Form Widget — base layout styles.
 * Colors, typography, spacing set via Elementor Style controls
 * are injected inline by Elementor and will override sensible
 * defaults below where applicable. */

.em-form-widget-wrap .em-form-fields {
	display: flex;
	flex-wrap: wrap;
}

.em-form-widget-wrap .em-form-group {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.em-form-widget-wrap .em-form-label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.em-form-widget-wrap .em-required {
	color: #d9534f;
	margin-left: 2px;
}

.em-form-widget-wrap .em-form-field {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d5d8dc;
	border-radius: 3px;
	padding: 10px 12px;
	font-size: 15px;
	line-height: 1.4;
	background-color: #ffffff;
	transition: border-color 0.15s ease-in-out;
}

.em-form-widget-wrap .em-form-field:focus {
	outline: none;
	border-color: #3861fb;
}

.em-form-widget-wrap textarea.em-form-field {
	resize: vertical;
}

.em-form-widget-wrap .em-form-radio-group,
.em-form-widget-wrap .em-form-checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.em-form-widget-wrap .em-form-choice {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 400;
	cursor: pointer;
}

.em-form-widget-wrap .em-form-acceptance {
	font-size: 14px;
}

.em-form-widget-wrap .em-form-message {
	margin: 15px 0;
	padding: 12px 15px;
	border-radius: 3px;
	font-size: 14px;
}

.em-form-widget-wrap .em-form-message-success {
	background-color: #e6f4ea;
	color: #1e7e34;
	border: 1px solid #b7dfc0;
}

.em-form-widget-wrap .em-form-message-error {
	background-color: #fdecea;
	color: #c0392b;
	border: 1px solid #f5c6cb;
}

.em-form-widget-wrap .em-form-submit-wrap {
	margin-top: 10px;
}

.em-form-widget-wrap .em-form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: none;
	border-radius: 3px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	background-color: #3861fb;
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.15s ease-in-out;
}

.em-form-widget-wrap .em-form-submit:hover {
	background-color: #2947c4;
}

.em-form-widget-wrap .em-form-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.be-landing-form .em-form .em-form-submit {
	background: linear-gradient(90deg, #5DC8D0 0%, #715092 100%);
}
.be-landing-form .em-form-group {
	position: relative;
}
.be-landing-form .em-form-label {
	position: absolute;
	top:0px;
	left: 0px;
}

@media ( max-width: 767px ) {
	.em-form-widget-wrap .em-form-group {
		width: 100% !important;
	}
}
