/**
 * Print PDF Styles
 * Styles for PDF generation functionality
 */

/* PDF Download Link - Simple text link style */
.pdf-download-btn,
.pdf-download-btn.button,
button.pdf-download-btn,
.woocommerce .pdf-download-btn,
.price-calculator .pdf-download-btn {
    background: none !important;
    background-color: transparent !important;
    color: rgb(241, 136, 21) !important;
    border: none !important;
    padding: 8px 0 !important;
    cursor: pointer;
    font-size: 13px !important;
    font-weight: 400 !important;
    transition: color 0.2s ease;
    margin: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline !important;
    box-shadow: none !important;
    outline: none !important;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.0) !important;
}

.pdf-download-btn:hover,
.pdf-download-btn.button:hover,
button.pdf-download-btn:hover {
    background: none !important;
    background-color: transparent !important;
    color: #333 !important;
    text-decoration: underline !important;
}

.pdf-download-btn:active,
.pdf-download-btn.button:active {
    background: none !important;
    color: #000 !important;
}

.pdf-download-btn:disabled {
    color: #aaa !important;
    cursor: not-allowed;
    text-decoration: none !important;
}

/* PDF Button in different containers */
.price-calculator .pdf-download-btn,
.calculator-form .pdf-download-btn,
#app .pdf-download-btn {
    width: auto;
    justify-content: flex-start;
}

/* Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pdf-download-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* PDF Preview styles (if needed for future enhancements) */
.pdf-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.pdf-preview-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

/* Print styles for better PDF output */
@media print {
    .pdf-download-btn {
        display: none;
    }

    body {
        font-family: Arial, sans-serif;
        color: black;
        background: white;
    }
}
