.pdf-download-btn {
    display: block;
    text-align: center;
    margin: 0 auto;
    color: #2c7be5;
    cursor: pointer;
    width: max-content;
    font-weight: bold;
}

.pdf-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.pdf-popup-box {
    background: #fff;
    padding: 28px;
    width: 360px;
    max-width: 90%;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.pdf-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all .2s ease;
}

.pdf-ad {
    margin: 18px 0;
    display: flex;
    justify-content: center;
}

.progress-wrapper {
    width: 100%;
    height: 10px;
    background: #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 12px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #6fdc6f, #4caf50);
    background-size: 200% 100%;
    animation: progressMove 1.2s linear infinite;
}

@keyframes progressMove {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.progress-text {
    margin-top: 10px;
    font-size: 14px;
}

.pdf-real-download {
    display: none;
    margin-top: 16px;
}

.pdf-real-download button {
    padding: 9px 18px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ccc;
    border-top: 2px solid #333;
    border-radius: 50%;
    margin-left: 6px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}