/**
 * Meta PDF - CSS SIN BORDES LATERALES
 * Compatible con contenido normal de página
 * @package Meta_PDF
 */

/* RESET BÁSICO SIN OCULTAR PÁGINA */
html, body {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

* {
	box-sizing: border-box;
}

/* CONTENEDOR PDF - Ocupa ancho completo, altura dinámica */
[data-meta-pdf-renderer="true"] {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	overflow: hidden;
	background: transparent;
	display: block;
	box-sizing: border-box;
	line-height: 0;
}

/* Ocultar scrollbar horizontal para máximo ancho */
html {
	overflow-x: hidden;
}

body {
	overflow-x: hidden;
}

/* OCULTAR SCROLLBAR COMPLETAMENTE pero mantener scroll funcional */

/* Webkit (Chrome, Safari, Edge) */
[data-meta-pdf-renderer="true"] ::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

/* Firefox */
[data-meta-pdf-renderer="true"] {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

/* IE y Edge */
[data-meta-pdf-renderer="true"] {
	-ms-overflow-style: none;
}

/* ============ BLOQUEAR SCROLL COMPLETAMENTE ============ */

/* Bloqueo extremo del contenedor */
[data-meta-pdf-renderer="true"] {
	overflow: hidden !important;
	overflow-x: hidden !important;
	overflow-y: hidden !important;
	touch-action: none !important;
}

/* Asegurar que el iframe no tenga scroll */
[data-meta-pdf-renderer="true"] iframe {
	overflow: hidden !important;
	overflow-x: hidden !important;
	overflow-y: hidden !important;
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
	touch-action: none !important;
	user-select: none !important;
	-webkit-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
}

/* Ocultar scrollbar webkit en contenedor */
[data-meta-pdf-renderer="true"]::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

/* Ocultar scrollbar webkit en iframe */
[data-meta-pdf-renderer="true"] iframe::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}
