/**
 * Frontend PDF Download Styles
 * 
 * Styles for PDF download button states
 * 
 * @package PDF_Generator
 * @since 1.1.0
 */

/* Disabled state for PDF download button */
.btn-download-pdf.pdf-downloading,
.btn-download-pdf.pdf-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}

.btn-download-pdf.pdf-downloading a,
.btn-download-pdf.pdf-disabled a {
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Ensure button is clickable when not disabled */
.btn-download-pdf:not(.pdf-downloading):not(.pdf-disabled) {
    cursor: pointer;
}

.btn-download-pdf:not(.pdf-downloading):not(.pdf-disabled) a {
    cursor: pointer;
}

/* Fixed width container for animated dots to prevent button resizing */
.pdf-dots-container {
    display: inline-block !important;
    width: 30px !important;
    text-align: left !important;
}

/* Prevent button from resizing during animation */
.btn-download-pdf.pdf-downloading .elementor-button,
.btn-download-pdf.pdf-downloading .elementor-button-text {
    white-space: nowrap;
}
