/* Feature Styles: PDF Preview Modal & Lightbox Hidden State (FSD Layer: features/pdf-viewer-modal) */
.pdf-preview-modal {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.pdf-preview-modal[hidden],
#pajucara-gallery-lightbox[hidden] {
	display: none !important;
}

.pdf-preview-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 22, 43, 0.78);
	backdrop-filter: blur(6px);
}

.pdf-preview-modal__dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 940px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	max-height: 90vh;
}

.pdf-preview-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 26px;
	border-bottom: 1px solid var(--border);
}

.pdf-preview-modal__body {
	padding: 20px 26px;
	overflow-y: auto;
}

.pdf-embed-frame-wrapper {
	width: 100%;
	height: 440px;
	background: var(--secondary);
}

.pdf-embed-frame-wrapper iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.pdf-preview-modal__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 26px;
	border-top: 1px solid var(--border);
}
