
/* --- Reseteo Básico y Estilos Globales --- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	background-color: #f4f7f9;
	color: #333;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 20px;
}

/* --- Contenedor Principal del Formulario --- */
.form-wrapper {
	background-color: #ffffff;
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 77, 153, 0.1);
	width: 100%;
	max-width: 550px;
}

@media (max-width: 600px) {
	.form-wrapper {
		padding: 25px;
	}
}

/* --- Estilos aplicados al Formulario del CMS --- */
.smartcapture-content-wrapper, .smartcapture-content-wrapper table {
	font-family: 'Poppins', sans-serif;
}

/* Ocultamos las tablas de layout que no aportan al diseño */
.stylingblock-content-wrapper > tbody > tr > td {
	display: block;
	padding: 0 !important;
}

.sc-formfield-label label {
	display: block;
	font-weight: 500;
	color: #334;
	margin-bottom: 8px;
	font-size: 14px;
}

.sc-formfield-input input[type="text"],
.sc-formfield-input input[type="email"],
.sc-formfield-input input[type="tel"],
.sc-formfield-input select {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 16px;
	font-family: 'Poppins', sans-serif;
	color: #444;
	background-color: #fdfdfd;
	transition: border-color 0.3s, box-shadow 0.3s;
	margin-bottom: 20px; /* Espacio entre campos */
	height: 45px !important;
}

.sc-formfield-input input:focus,
.sc-formfield-input select:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.sc-button {
	width: 100%;
    	padding: 15px;
	background-image: linear-gradient(to right, #083d33, #89ac97);
    	color: #dcdcdc !important;
    	border: none;
    	border-radius: 8px !important;
    	font-size: 16px !important;
    	font-weight: 600;
    	cursor: pointer;
    	transition: all 0.3s ease;
    	margin-top: 10px;
    	font-family: 'Poppins', sans-serif !important;
}

.sc-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

/* --- Estilos para Mensajes y Estados de Error --- */
.error-message {
	color: #d93025;
	font-size: 13px;
	margin-top: -15px;
	margin-bottom: 10px;
	height: 15px; 
}

.invalid-field {
	border-color: #d93025 !important;
	background-color: #fff8f8 !important;
}

.invalid-field:focus {
	box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.15) !important;
}
