/* ==========================================================
   PDFSeva PDF Download System
========================================================== */

.pdfseva-wrapper {
    margin: 20px 0 30px;
}

/* ==========================================================
   Viewer
========================================================== */

#pdfseva-pdf-viewer {
    width: 100%;
    height: 500px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background: #fff;
}

/* ==========================================================
   Feedback Row
========================================================== */

.pdfseva-feedback-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.pdfseva-helpful-btn,
.pdfseva-not-helpful-btn {
    border: 1px solid #dcdcdc;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all .2s ease;
}

.pdfseva-helpful-btn:hover,
.pdfseva-not-helpful-btn:hover {
    background: #f5f5f5;
}

/* ==========================================================
   Download Button
========================================================== */

.pdfseva-download-row {
    text-align: center;
    margin-top: 18px;
}

.pdfseva-download-btn {
    display: inline-block;
    text-decoration: none;
    background: #2e7d32;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all .2s ease;
}

.pdfseva-download-btn:hover {
    background: #1b5e20;
    color: #fff !important;
}

/* ==========================================================
   Actions
========================================================== */

.pdfseva-action-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.pdfseva-report-btn,
.pdfseva-share-btn {
    border: 1px solid #dcdcdc;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all .2s ease;
}

.pdfseva-report-btn:hover,
.pdfseva-share-btn:hover {
    background: #f5f5f5;
}

/* ==========================================================
   Stats
========================================================== */

.pdfseva-stats {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #666;
}

.pdfseva-stats span {
    margin: 0 10px;
}

/* ==========================================================
   Active State
========================================================== */

.pdfseva-helpful-btn:disabled,
.pdfseva-not-helpful-btn:disabled,
.pdfseva-report-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ==========================================================
   Mobile
========================================================== */

@media (max-width: 768px) {

    #pdfseva-pdf-viewer {
        height: 420px;
    }

    .pdfseva-feedback-row,
    .pdfseva-action-row {
        flex-direction: column;
        align-items: center;
    }

    .pdfseva-helpful-btn,
    .pdfseva-not-helpful-btn,
    .pdfseva-report-btn,
    .pdfseva-share-btn {
        width: 100%;
        max-width: 280px;
    }

    .pdfseva-download-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .pdfseva-stats span {
        display: block;
        margin: 5px 0;
    }

}