/* Full-viewport PDF viewers used by Sustainability policy and membership documents */

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background: #fff;
}

.pdf-shell {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	box-sizing: border-box;
}

.pdf-toolbar {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	padding: 10px 20px;
	background: #0e76bb;
	color: #fff;
	box-sizing: border-box;
}

.pdf-toolbar-title {
	margin: 0;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.pdf-frame {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	border: 0;
	background: #f3f4f6;
}

.pdf-fallback {
	margin: 0;
	padding: 10px 20px 14px;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #374151;
	background: #f8fafc;
}

@media (max-width: 991.98px) {
	.pdf-toolbar {
		padding: 10px 16px;
	}
}

@media (max-width: 767.98px) {
	.pdf-toolbar {
		padding: 10px 12px;
	}

	.pdf-toolbar-title {
		font-size: 13px;
	}

	.pdf-frame {
		min-height: calc(100vh - 72px);
		min-height: calc(100dvh - 72px);
	}

	.pdf-fallback {
		padding: 10px 12px 16px;
		font-size: 13px;
	}
}

@media (max-width: 575.98px) {
	.pdf-toolbar-title {
		font-size: 12px;
	}

	.pdf-frame {
		min-height: calc(100vh - 68px);
		min-height: calc(100dvh - 68px);
	}
}
