/* Modal overlay */
.pdf-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.pdf-modal-overlay.active {
    display: flex;
}

.pdf-modal {
    position: relative;
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    height: 85%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.pdf-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 26px;
    color: #fff;
    background: #000;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}