/*
 * Estilos del formulario de contacto [lpga_contact_form].
 * Diseño neutro y minimalista pensado para heredar la tipografía del tema
 * activo y adaptarse a cualquier diseño, sin imponer colores de marca.
 */

.lpga-contact-form-wrap {
	max-width: 640px;
	margin: 1.5em 0;
}

.lpga-contact-form .lpga-cf-field {
	display: flex;
	flex-direction: column;
	gap: 0.35em;
	margin: 0 0 1.1em;
}

.lpga-contact-form label {
	font-weight: 600;
	font-size: 0.95em;
}

.lpga-contact-form input[type="text"],
.lpga-contact-form input[type="email"],
.lpga-contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.65em 0.8em;
	font-size: 1em;
	line-height: 1.4;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	background: #fff;
	color: inherit;
	font-family: inherit;
}

.lpga-contact-form input[type="text"]:focus,
.lpga-contact-form input[type="email"]:focus,
.lpga-contact-form textarea:focus {
	outline: none;
	border-color: #3582c4;
	box-shadow: 0 0 0 1px #3582c4;
}

.lpga-contact-form textarea {
	resize: vertical;
	min-height: 140px;
}

.lpga-contact-form .lpga-cf-actions {
	margin: 1.2em 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9em;
}

.lpga-contact-form .lpga-cf-help {
	font-size: 0.85em;
	color: #6b7075;
	order: 2;
}

.lpga-contact-form .lpga-cf-submit {
	display: inline-block;
	padding: 0.7em 1.6em;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.2;
	border: none;
	border-radius: 4px;
	background: #1d2327;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.15s ease-in-out;
}

.lpga-contact-form .lpga-cf-submit:hover,
.lpga-contact-form .lpga-cf-submit:focus {
	background: #33383c;
}

/* Honeypot: oculto visualmente para personas pero presente para bots,
   sin usar display:none ni visibility:hidden (los bots suelen ignorarlos). */
.lpga-cf-hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lpga-cf-notice {
	padding: 0.9em 1.1em;
	border-radius: 4px;
	margin: 0 0 1.2em;
	font-size: 0.95em;
}

.lpga-cf-notice.lpga-cf-success {
	background: #edfaef;
	border: 1px solid #7ad03a;
	color: #2a5e1e;
}

.lpga-cf-notice.lpga-cf-error {
	background: #fbeaea;
	border: 1px solid #dc3232;
	color: #7a1f1f;
}
