/* RIIGUED · Protección de Datos (Ley 21.719) — estilos del frontend */

/* Blindaje: muchos temas y plugins de formularios aplican reglas amplias del tipo
   "input { width:100% }" o "label { text-transform:uppercase }". Sin esto, la
   casilla se estira a todo el ancho y empuja la etiqueta fuera del recuadro. */
.rpd-aviso,
.rpd-aviso * {
	box-sizing: border-box;
	max-width: 100%;
}

.rpd-aviso {
	margin: 1.75rem 0;
	overflow-wrap: break-word;
	padding: 1.25rem 1.4rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-left: 4px solid #1c4b82;
	border-radius: 6px;
	background: #f7f9fb;
	color: #22303c;
	font-size: 0.9rem;
	line-height: 1.55;
}

.rpd-aviso__titulo {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	font-weight: 700;
	color: #14314f;
}

.rpd-aviso__ley {
	margin: 0 0 0.9rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #5c6b7a;
}

.rpd-aviso__lista {
	margin: 0;
}

.rpd-aviso__lista dt {
	margin-top: 0.7rem;
	font-weight: 700;
	color: #14314f;
}

.rpd-aviso__lista dt:first-child {
	margin-top: 0;
}

.rpd-aviso__lista dd {
	margin: 0.15rem 0 0;
	padding: 0;
}

.rpd-aviso__mas {
	margin: 1rem 0 0;
}

.rpd-aviso a {
	color: #1c4b82;
	text-decoration: underline;
}

.rpd-aviso--compacto {
	font-size: 0.85rem;
	padding: 1rem 1.15rem;
}

/* Casilla de consentimiento */

.rpd-consent {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 0.6rem;
	width: 100%;
	margin-top: 1.1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rpd-consent__input {
	flex: 0 0 16px;
	width: 16px;
	min-width: 16px;
	max-width: 16px;
	height: 16px;
	padding: 0;
	margin: 2px 0 0;
	background: transparent;
}

.rpd-consent__label {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	margin: 0;
	font-size: 0.88rem;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.55;
	cursor: pointer;
}

.rpd-consent__req {
	color: #b3261e;
	font-weight: 700;
}

.rpd-consent.rpd-consent--error {
	flex-wrap: wrap;
	background: #fdf2f2;
	border-radius: 4px;
	padding: 0.75rem;
}

.rpd-consent__error {
	flex: 1 0 100%;
	margin: 0.4rem 0 0;
	color: #b3261e;
	font-size: 0.85rem;
	font-weight: 600;
}

/* Política de privacidad */

.rpd-politica {
	max-width: 46rem;
	line-height: 1.7;
}

.rpd-politica__meta {
	margin-bottom: 1.6rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	font-size: 0.85rem;
	color: #5c6b7a;
}

.rpd-politica h2 {
	margin-top: 2rem;
	margin-bottom: 0.6rem;
	font-size: 1.15rem;
	color: #14314f;
}

.rpd-politica ul {
	padding-left: 1.3rem;
}

.rpd-politica li {
	margin-bottom: 0.4rem;
}

/* Pie */

.rpd-footer-link {
	padding: 0.9rem 1rem;
	text-align: center;
	font-size: 0.8rem;
}

.rpd-footer-link a {
	color: inherit;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.rpd-aviso {
		padding: 1rem;
		font-size: 0.85rem;
	}
}
