/*
 * Legales Nexa: aspecto de Nexa para el aviso de cookies de Chile Consiente.
 *
 * Con #chc-root adelante para ganarle al CSS de Chile Consiente (incluido su
 * modo claro). Los tres botones (Rechazar, Configurar, Aceptar todas) y el de
 * guardar tienen exactamente el mismo estilo, como piden las notas de Nexa.
 */

#chc-root {
	padding: 20px;
}

#chc-root .chc-banner {
	max-width: 760px;
	padding: 24px;
	border: 1px solid rgba(244, 244, 244, 0.14);
	border-radius: 10px;
	background: #0F0907;
	box-shadow: 0 0 6.3px 0 rgba(253, 253, 253, 0.20), 0 20px 50px rgba(0, 0, 0, 0.55);
	color: #F4F4F4;
	font-family: 'REM', sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
}

#chc-root .chc-title {
	margin: 0 0 8px;
	color: #F4F4F4;
	font-family: 'REM', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	text-transform: uppercase;
}

#chc-root .chc-body {
	margin: 0 0 20px;
	color: rgba(244, 244, 244, 0.80);
}

#chc-root .chc-policy-link {
	color: #F4F4F4;
	text-decoration: underline;
	text-decoration-color: #E53A05;
	text-underline-offset: 3px;
}

#chc-root .chc-policy-link::after {
	content: ".";
	display: inline-block;
	text-decoration: none;
}

#chc-root .chc-policy-link:hover {
	color: #E53A05;
}


/* Categorias */

#chc-root .chc-cats {
	gap: 10px;
	margin: 0 0 20px;
}

#chc-root .chc-cat {
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid rgba(244, 244, 244, 0.10);
	border-radius: 10px;
	background: rgba(244, 244, 244, 0.04);
}

#chc-root .chc-cat input {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	accent-color: #E53A05;
}

#chc-root .chc-cat-txt strong {
	color: #F4F4F4;
	font-weight: 600;
}

#chc-root .chc-cat-desc {
	color: rgba(244, 244, 244, 0.72);
	font-size: 13px;
	line-height: 18px;
}


/* Botones: los cuatro iguales (mismo color, tamaño y borde). */

#chc-root .chc-actions {
	gap: 10px;
}

#chc-root .chc-btn,
#chc-root .chc-btn--accept,
#chc-root .chc-btn--reject,
#chc-root .chc-btn--config,
#chc-root .chc-btn--save {
	min-width: 150px;
	padding: 10px 20px;
	border: 1px solid #F4F4F4;
	border-radius: 100px;
	background: transparent;
	box-shadow: none;
	color: #F4F4F4;
	font-family: 'REM', sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-transform: uppercase;
	filter: none;
	transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#chc-root .chc-btn:hover,
#chc-root .chc-btn:focus-visible {
	border-color: #E53A05;
	background: #E53A05;
	box-shadow: 0 0 4px 2px rgba(177, 177, 177, 0.40), 0 2px 9.4px 5px #FF6535 inset;
	color: #F4F4F4;
	filter: none;
}

#chc-root .chc-btn:focus-visible {
	outline: 2px solid #F4F4F4;
	outline-offset: 2px;
}


/* Boton "Configurar cookies" de la pagina Configuracion de cookies. */

.legal .chc-reopen,
.legal-configurar .chc-reopen {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	border: 1px solid #F4F4F4;
	border-radius: 100px;
	background: transparent;
	color: #F4F4F4;
	font-family: 'REM', sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.legal .chc-reopen:hover,
.legal-configurar .chc-reopen:hover {
	border-color: #E53A05;
	background: #E53A05;
}


@media (max-width: 767px) {

	#chc-root {
		padding: 12px;
	}

	#chc-root .chc-banner {
		padding: 20px;
	}

	#chc-root .chc-title {
		font-size: 16px;
		line-height: 19px;
	}

	#chc-root .chc-actions {
		flex-direction: column;
	}

	#chc-root .chc-btn {
		width: 100%;
		min-width: 0;
	}
}
