/*
 * Estilo moderno/minimalista inspirado en la estructura visual de
 * bancofalabella.cl/gennials: tipografía ligera, mucho espacio en
 * blanco, texto casi-negro, botones con esquina suave.
 *
 * El acento (--tgf-acento) es propio, no el verde de Falabella —
 * reemplázalo por el color oficial del evento cuando llegue la
 * gráfica de la agencia. Es la única variable que necesitas tocar.
 */

.tgf-formulario-wrapper {
	--tgf-texto: #212529;
	--tgf-texto-suave: #6b7280;
	--tgf-fondo: #ffffff;
	--tgf-borde: #e5e7eb;
	--tgf-acento: #6c4eff;
	--tgf-acento-hover: #5936f0;
	--tgf-error-bg: #fdecea;
	--tgf-error-texto: #7a1f1a;
	--tgf-exito-bg: #eafbf1;
	--tgf-exito-texto: #14532d;

	max-width: 560px;
	margin: 0 auto;
	font-family: 'Maven Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--tgf-texto);
}

.tgf-mensaje {
	padding: 1rem 1.25rem;
	border-radius: 10px;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	line-height: 1.5;
}

.tgf-mensaje--exito {
	background: var(--tgf-exito-bg);
	color: var(--tgf-exito-texto);
}

.tgf-mensaje--error {
	background: var(--tgf-error-bg);
	color: var(--tgf-error-texto);
}

.tgf-form-cerrado {
	padding: 2rem;
	background: #fafafa;
	border-radius: 14px;
	text-align: center;
	color: var(--tgf-texto-suave);
	font-weight: 300;
	font-size: 1.1rem;
}

.tgf-formulario {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
	background: var(--tgf-fondo);
	padding: 2.25rem;
	border-radius: 16px;
	border: 1px solid var(--tgf-borde);
}

.tgf-campo {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tgf-campo label {
	font-weight: 500;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tgf-texto-suave);
}

.tgf-campo input[type="text"],
.tgf-campo input[type="email"],
.tgf-campo input[type="tel"] {
	padding: 0.85rem 1rem;
	border: 1px solid var(--tgf-borde);
	border-radius: 10px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--tgf-texto);
	background: #fafafa;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.tgf-campo input[type="text"]:focus,
.tgf-campo input[type="email"]:focus,
.tgf-campo input[type="tel"]:focus {
	outline: none;
	border-color: var(--tgf-acento);
	background: #fff;
}

.tgf-campo--checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-weight: 400;
	font-size: 0.9rem;
	text-transform: none;
	letter-spacing: normal;
	color: var(--tgf-texto);
}

.tgf-campo--checkbox input[type="checkbox"] {
	margin-top: 0.2rem;
	accent-color: var(--tgf-acento);
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.tgf-campo--checkbox a {
	color: var(--tgf-acento);
	text-decoration: underline;
}

.tgf-boton-submit {
	padding: 0.95rem 1.75rem;
	border: none;
	border-radius: 10px;
	background: var(--tgf-acento);
	color: #fff;
	font-weight: 500;
	font-size: 1rem;
	font-family: inherit;
	cursor: pointer;
	align-self: stretch;
	transition: background 0.15s ease, transform 0.1s ease;
}

.tgf-boton-submit:hover {
	background: var(--tgf-acento-hover);
}

.tgf-boton-submit:active {
	transform: scale(0.99);
}

@media (max-width: 480px) {
	.tgf-formulario {
		padding: 1.5rem;
		border-radius: 12px;
	}
}
