/* Ley 21.719 - banner de consentimiento de cookies (16-11-2026). Estilos minimos y neutros; el tema viste. */

iframe.isac-ley21719-consent-iframe { display: none !important; }

.isac-ley21719-consent-placeholder { border: 1px dashed #999; border-radius: 6px; background: #f6f6f6; color: #333; padding: 1.2em 1.4em; margin: .5em 0; text-align: center; font-size: .95em; }
.isac-ley21719-consent-placeholder p { margin: 0 0 .8em 0; }

.isac-ley21719-consent-banner { position: fixed; left: 0; right: 0; z-index: 99998; background: #1f1f1f; color: #f5f5f5; box-shadow: 0 0 18px rgba(0, 0, 0, .35); font-size: 15px; line-height: 1.45; }
.isac-ley21719-consent-banner[hidden] { display: none !important; }
.isac-ley21719-consent-inferior { bottom: 0; }
.isac-ley21719-consent-superior { top: 0; }
.isac-ley21719-consent-banner-inner { max-width: 1180px; margin: 0 auto; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.isac-ley21719-consent-texto { flex: 1 1 420px; }
.isac-ley21719-consent-texto p { margin: 0 0 .4em 0; color: inherit; }
.isac-ley21719-consent-enlaces a { color: inherit; text-decoration: underline; }
.isac-ley21719-consent-botones { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; }
.isac-ley21719-consent-btn { padding: .6em 1.2em; border: 1px solid #fff; border-radius: 4px; background: transparent; color: #fff; font-size: .95em; cursor: pointer; line-height: 1.2; }
.isac-ley21719-consent-btn:hover { background: rgba(255, 255, 255, .12); }
.isac-ley21719-consent-btn-pri { background: #fff; color: #1f1f1f; font-weight: 600; }
.isac-ley21719-consent-btn-pri:hover { background: #e6e6e6; }

/* Posicion 3: modal centrado con fondo oscurecido */
.isac-ley21719-consent-modalcentrado { top: 0; bottom: 0; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.isac-ley21719-consent-modalcentrado .isac-ley21719-consent-banner-inner { background: #1f1f1f; border-radius: 8px; max-width: 640px; flex-direction: column; align-items: stretch; }
.isac-ley21719-consent-modalcentrado .isac-ley21719-consent-botones { justify-content: flex-end; }

/* Modal de preferencias */
.isac-ley21719-consent-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.isac-ley21719-consent-modal[hidden] { display: none !important; }
.isac-ley21719-consent-modal-caja { background: #fff; color: #222; border-radius: 8px; max-width: 680px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); font-size: 15px; line-height: 1.45; }
.isac-ley21719-consent-modal-cab { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #e3e3e3; }
.isac-ley21719-consent-modal-cab h3 { margin: 0; font-size: 1.15em; color: inherit; }
.isac-ley21719-consent-cerrar { border: 0; background: transparent; font-size: 1.6em; line-height: 1; cursor: pointer; color: #666; padding: 0 4px; }
.isac-ley21719-consent-modal-cuerpo { padding: 16px 20px; overflow: auto; }
.isac-ley21719-consent-modal-cuerpo > p { margin: 0 0 1em 0; }
.isac-ley21719-consent-grupo { border: 1px solid #e3e3e3; border-radius: 6px; padding: 10px 14px; margin: 0 0 10px 0; }
.isac-ley21719-consent-grupo-cab { display: flex; align-items: center; gap: .5em; font-weight: 600; cursor: pointer; margin: 0; }
.isac-ley21719-consent-grupo-cab input { margin: 0; width: 18px; height: 18px; }
.isac-ley21719-consent-grupo-siempre { font-weight: 400; color: #777; font-size: .9em; }
.isac-ley21719-consent-grupo-desc { margin: .5em 0 0 0; color: #555; font-size: .92em; }
.isac-ley21719-consent-grupo-vacio { font-style: italic; }
.isac-ley21719-consent-grupo-cookies { margin-top: .5em; font-size: .88em; color: #555; }
.isac-ley21719-consent-grupo-cookies summary { cursor: pointer; }
.isac-ley21719-consent-grupo-cookies ul { margin: .4em 0 0 1.2em; padding: 0; }
.isac-ley21719-consent-grupo-cookies code { font-size: .95em; }
.isac-ley21719-consent-modal-pie { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid #e3e3e3; }
.isac-ley21719-consent-modal .isac-ley21719-consent-btn { border-color: #1f1f1f; color: #1f1f1f; }
.isac-ley21719-consent-modal .isac-ley21719-consent-btn:hover { background: rgba(0, 0, 0, .06); }
.isac-ley21719-consent-modal .isac-ley21719-consent-btn-pri { background: #1f1f1f; color: #fff; }
.isac-ley21719-consent-modal .isac-ley21719-consent-btn-pri:hover { background: #000; }

/* Boton permanente de revocacion */
.isac-ley21719-consent-revocar { position: fixed; bottom: 14px; z-index: 99997; border: 1px solid #1f1f1f; border-radius: 20px; background: #fff; color: #1f1f1f; padding: 6px 12px; font-size: 13px; line-height: 1.2; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); opacity: .85; }
.isac-ley21719-consent-revocar:hover { opacity: 1; }
.isac-ley21719-consent-revocar[hidden] { display: none !important; }
.isac-ley21719-consent-revocar-izq { left: 14px; }
.isac-ley21719-consent-revocar-der { right: 14px; }
.isac-ley21719-consent-revocar-icono { font-size: 1.1em; vertical-align: -1px; }

@media (max-width: 640px)
{
	.isac-ley21719-consent-banner { font-size: 14px; }
	.isac-ley21719-consent-botones { width: 100%; }
	.isac-ley21719-consent-botones .isac-ley21719-consent-btn { flex: 1 1 auto; text-align: center; }
	.isac-ley21719-consent-revocar { bottom: 8px; }
}
