/* Visor PDF — estilos del bloque embebido y vista de pantalla completa */

.visor-pdf-bloque {
	width: 100%;
}

/* El height se aplica inline desde PHP (valor editable por bloque). */
.visor-pdf-bloque iframe {
	display: block;
	width: 100%;
	border: none;
}

.visor-pdf-acciones {
	margin-top: .75rem;
	display: flex;
	justify-content: flex-end;
}

/* Colores del botón llegan inline desde PHP para respetar la configuración
   por bloque. Aquí solo van las propiedades invariables. */
.visor-pdf-btn {
	display: inline-block;
	padding: .5rem 1.25rem;
	border-radius: .25rem;
	text-decoration: none;
	font-weight: 600;
	font-size: .875rem;
	line-height: 1.5;
	transition: opacity .15s ease;
}

.visor-pdf-btn:hover {
	opacity: .85;
	text-decoration: none;
}

/* Vista de pantalla completa — el iframe ocupa 85 vh para dejar el footer
   accesible con scroll sin necesidad de calcular su altura variable. */
#visor-pdf-fullscreen {
	width: 100%;
	padding: 0;
}

.visor-pdf-fullscreen-iframe {
	display: block;
	width: 100%;
	height: 85vh;
	border: none;
}

.visor-pdf-fullscreen-error {
	padding: 2rem;
	color: #dc2626;
	text-align: center;
}
