/* ===================================== */
/* 1. CSS for the PDF Icon Link          */
/* ===================================== */
.pdf-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #333;
	font-family: Arial, sans-serif;
	font-size: 16px;
	cursor: pointer;
	padding: 10px 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #f7f7f7;
	transition: background-color 0.3s;
}

.pdf-link:hover {
	background-color: #e9e9e9;
}

/* Simple Icon using Font/Emoji */
.pdf-icon {
	font-size: 24px;
	color: #E2001F; /* Standard Adobe Red */
	margin-right: 10px;
}

/* ===================================== */
/* 2. CSS for the Modal (Pop-up) Window  */
/* ===================================== */
.modal {
	display: nonex; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 99998; /* Sit on top of all other elements */
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto; 
	background-color: rgba(0,0,0,0.8); /* Dark, slightly transparent overlay */
}

.modal-content {
	background-color: #fefefe;
	/* Center the modal box */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	padding: 0;
	width: 95%; 
	max-width: 1200px; /* Maximum size for large screens */
	height: 90%; /* Takes up 90% of the viewport height */
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
	border-radius: 8px;
}

.close-btn {
	color: #fff;
	font-size: 36px;
	font-weight: bold;
	position: absolute;
	top: -40px; /* Position above the content box */
	right: 0px; 
	z-index: 99999;
	cursor: pointer;
	text-shadow: 0 0 5px #000;
}

.close-btn:hover,
.close-btn:focus {
	color: #f1f1f1;
}

.pdf-iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block; 
	border-radius: 8px; 
}