.pdf-snapshot-button {
	display: inline-block;
	padding: 0.6em 1.2em;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.95em;
}

.pdf-snapshot-button:hover:not(:disabled) {
	opacity: 0.9;
}

.pdf-snapshot-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5em;
	line-height: 1;
}

.pdf-snapshot-button-icon svg {
	display: block;
}

.pdf-snapshot-button-image {
	display: inline-flex;
	background: transparent;
	padding: 0;
	border-radius: 0;
}

.pdf-snapshot-button-image img {
	display: block;
	max-height: 40px;
	width: auto;
}

.pdf-snapshot-button:disabled {
	opacity: 0.6;
	cursor: default;
}

.pdf-snapshot-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.6 );
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
}

.pdf-snapshot-modal {
	background: #fff;
	border-radius: 8px;
	width: min( 900px, 92vw );
	height: min( 800px, 88vh );
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.pdf-snapshot-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #ddd;
	font-weight: 600;
}

.pdf-snapshot-modal-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #555;
}

.pdf-snapshot-modal-frame {
	flex: 1;
	border: none;
	width: 100%;
}

.pdf-snapshot-modal-actions {
	display: flex;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	border-top: 1px solid #ddd;
	justify-content: flex-end;
}

.pdf-snapshot-modal-actions button,
.pdf-snapshot-modal-actions a {
	padding: 0.5em 1.2em;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9em;
	cursor: pointer;
	border: 1px solid #2271b1;
}

.pdf-snapshot-modal-print {
	background: #fff;
	color: #2271b1;
}

.pdf-snapshot-modal-download {
	background: #2271b1;
	color: #fff;
}
