/* PerfectReputations PDF Viewer. Full width of its container; height and colors come from settings. */
.prpdf {
	--prpdf-h: 80vh;
	--prpdf-bar-bg: #323639;
	--prpdf-bar-fg: #ffffff;
	--prpdf-area: #525659;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 0, 0, 0.25);
	background: var(--prpdf-area);
	border-radius: var(--prpdf-r, 15px);
	overflow: hidden;
}
.prpdf *, .prpdf *::before, .prpdf *::after { box-sizing: border-box; }
.prpdf-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	background: var(--prpdf-bar-bg);
	color: var(--prpdf-bar-fg);
	font: 14px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.prpdf-btn {
	min-width: 36px;
	min-height: 34px;
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
.prpdf-btn.prpdf-fit { font-size: 14px; }
.prpdf-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.15); }
.prpdf-btn:disabled { opacity: 0.4; cursor: default; }
.prpdf-btn:focus-visible, .prpdf-page-in:focus-visible, .prpdf-view:focus-visible { outline: 2px solid #8ab4f8; outline-offset: 1px; }
.prpdf .prpdf-page-in {
	width: 3.6em !important;
	height: 34px !important;
	min-height: 34px !important;
	padding: 2px 6px !important;
	margin: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.25) !important;
	color: inherit !important;
	font: inherit !important;
	text-align: center;
	line-height: normal !important;
}
.prpdf-total { margin-right: 4px; white-space: nowrap; }
.prpdf-zoom { min-width: 3.5em; text-align: center; font-variant-numeric: tabular-nums; }
.prpdf-spacer { flex: 1 1 auto; }
.prpdf-view {
	height: var(--prpdf-h);
	overflow: auto;
	position: relative;
	-webkit-overflow-scrolling: touch;
}
.prpdf-pages {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 12px;
	min-width: min-content;
}
.prpdf-page {
	background: #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	flex: 0 0 auto;
}
.prpdf-page canvas { display: block; max-width: none !important; }
.prpdf-status {
	padding: 24px;
	color: #ffffff;
	text-align: center;
	font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.prpdf-status a { color: #ffffff; text-decoration: underline; }

/* Wrapper with the title above and the source link below. */
.prpdf-wrap { width: 100%; margin: 0 0 1.5em; }
.prpdf-title { margin: 0 0 0.5em; font-weight: 700; font-size: 1.1em; line-height: 1.3; }
.prpdf-source { margin: 0.5em 0 0; font-size: 0.9em; }
