.pdf-thumb-wrapper-9bf4c077 {
    display: block;
    width: 100%;
}

.pdf-thumb-container-9bf4c077 {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.pdf-thumb-container-9bf4c077:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.pdf-thumb-container-9bf4c077 img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lightbox/Overlay Styling */
.pdf-viewer-overlay-9bf4c077 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 20px;
    box-sizing: border-box;
}

/* Offsets for logged-in admin bar users */
body.admin-bar .pdf-viewer-overlay-9bf4c077 {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .pdf-viewer-overlay-9bf4c077 {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.pdf-modal-container-9bf4c077 {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 85%;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: pdfZoomIn_9bf4c077 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pdfZoomIn_9bf4c077 {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.pdf-close-btn-9bf4c077 {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    z-index: 1000001;
    transition: color 0.2s, transform 0.2s;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.pdf-close-btn-9bf4c077:hover {
    color: #e33;
    transform: scale(1.1);
}

.pdf-iframe-wrapper-9bf4c077 {
    width: 100%;
    height: 100%;
    position: relative;
}

.pdf-iframe-wrapper-9bf4c077 iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}
