/* Ecotec Forms - estilos compartidos */

.ecotec-form {
	max-width: 720px;
	width: 100%;
	padding: 6px;
	box-sizing: border-box;
}

.ecotec-form label {
	font-weight: 600;
	margin-bottom: 4px;
	display: block;
	color: #403f2b;
}

.ecotec-form input,
.ecotec-form select {
	width: 100%;
	border-radius: 12px;
	border: 1px solid #ddd;
	padding: 8px;
	font-size: 14px;
	background: #fff;
	color: #403f2b;
	box-sizing: border-box;
	min-width: 0;
}

.ecotec-form input:focus,
.ecotec-form select:focus {
	outline: none;
	border-color: #0a5ca8;
	box-shadow: 0 0 0 2px rgba(10, 92, 168, 0.15);
}

.ecotec-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ecotec-full {
	grid-column: span 2;
}

.ecotec-submit {
	width: 100%;
	background: #0a5ca8;
	color: #fff;
	text-align: center;
	font-size: 17px;
	padding: 12px;
	border-radius: 12px;
	border: none;
	font-weight: 700;
	cursor: pointer;
	margin-top: 20px;
	transition: background 0.15s ease;
}

.ecotec-submit:hover:not(:disabled) {
	background: #084a87;
}

.ecotec-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Honeypot: invisible para humanos pero presente en el DOM */
.ecotec-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.ecotec-message {
	margin-top: 10px;
	min-height: 0;
	font-size: 14px;
}

.ecotec-message.is-error {
	color: #b3261e;
}

.ecotec-message.is-success {
	color: #0a7d3a;
}

@media (max-width: 520px) {
	.ecotec-grid {
		grid-template-columns: 1fr;
	}
	.ecotec-full {
		grid-column: span 1;
	}
}
