/* Explain: Styles for the PDF viewer overlay and panel. */
.pdf-viewer-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    padding: 1rem;
    background: rgba(31, 46, 35, 0.6);
    backdrop-filter: blur(4px);
}

.pdf-viewer-overlay.is-open {
    display: block;
}

.pdf-viewer-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 72rem;
    height: calc(100vh - 2rem);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(31, 46, 35, 0.28);
}

.pdf-viewer-body {
    flex: 1;
    min-height: 0;
    background: var(--surface-color);
}

.pdf-viewer-body iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}