/*
 * Componente reusable: formulario de leads para Empresas.
 *
 * Encolado por: fluyez_empresas_enqueue_component_style('empresa-lead-form')
 */

.fe-empresa-lead {
	--fe-empresa-lead-primary: #265ff1;
	--fe-empresa-lead-dark: #000d59;
	--fe-empresa-lead-text: #3d4c60;
	--fe-empresa-lead-border: rgba(38, 95, 241, 0.15);
	--fe-empresa-lead-focus: rgba(38, 95, 241, 0.1);
	--fe-empresa-lead-placeholder: rgba(61, 76, 96, 0.56);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
}

.fe-empresa-lead__eyebrow {
	margin: 0;
	width: 100%;
	color: var(--fe-empresa-lead-primary);
	font-family: Poppins, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 28px;
	text-align: center;
}

.fe-empresa-lead__title {
	margin: 0;
	width: 100%;
	color: var(--fe-empresa-lead-dark);
	font-family: Poppins, Arial, sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 28px;
	text-align: center;
}

.fe-empresa-lead__content {
	width: 100%;
	margin-top: 4px;
}

.fe-empresa-lead__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fe-empresa-lead__form .fy-brevo-form__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.fe-empresa-lead__form .fy-brevo-form__field {
	width: calc(50% - 8px);
	gap: 0;
}

.fe-empresa-lead__form .fy-brevo-form__field--full {
	width: 100%;
}

.fe-empresa-lead__form .fy-brevo-form__field--email {
	grid-column: auto;
}

.fe-empresa-lead__form .fy-brevo-form__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fe-empresa-lead__form .fy-brevo-form__input {
	width: 100%;
	min-height: 58px;
	padding: 16px 20px;
	border: 1px solid var(--fe-empresa-lead-border);
	border-radius: 14px;
	background: #ffffff;
	color: var(--fe-empresa-lead-dark);
	font-family: Poppins, Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fe-empresa-lead__form .fy-brevo-form__input::placeholder {
	color: var(--fe-empresa-lead-placeholder);
}

.fe-empresa-lead__form .fy-brevo-form__input:focus {
	outline: none;
	border-color: var(--fe-empresa-lead-primary);
	box-shadow: 0 0 0 3px var(--fe-empresa-lead-focus);
}

.fe-empresa-lead__form select.fy-brevo-form__input {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%233D4C60' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 18px center;
	background-repeat: no-repeat;
	padding-right: 46px;
	color: var(--fe-empresa-lead-placeholder);
}

.fe-empresa-lead__form select.fy-brevo-form__input:valid {
	color: var(--fe-empresa-lead-dark);
}

.fe-empresa-lead__form .fy-brevo-form__actions {
	display: flex;
	width: 100%;
	margin-top: 8px;
}

.fe-empresa-lead__form .fy-brevo-form__button {
	width: 100%;
	min-height: 54px;
	padding: 16px 20px;
	border-radius: 10px;
	border: none;
	background: var(--fe-empresa-lead-primary);
	color: #ffffff;
	font-family: Poppins, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fe-empresa-lead__form .fy-brevo-form__button:hover {
	background: #1a47c9;
	box-shadow: 0 4px 12px rgba(38, 95, 241, 0.2);
	transform: translateY(-1px);
}

.fe-empresa-lead__form .fy-brevo-form__button:active {
	transform: translateY(0);
}

.fe-empresa-lead__form .fy-brevo-form__message {
	min-height: 20px;
	font-family: Inter, Arial, sans-serif;
	font-size: 14px;
	line-height: 20px;
	text-align: left;
}

@media (max-width: 768px) {
	.fe-empresa-lead__form .fy-brevo-form__field {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.fe-empresa-lead__form .fy-brevo-form__input,
	.fe-empresa-lead__form .fy-brevo-form__button {
		min-height: 52px;
		padding: 14px 16px;
		font-size: 13px;
	}
}