/**
 * pdf-print.css
 * On-screen styles for the "Save as PDF" export button injected by pdf-export.js.
 * The print tab itself ships its own self-contained styles, so this file only
 * styles the button shown inside each tool's results panel.
 *
 * @since 6.0.0
 * @author Fernando Tellado
 */

.pdfx-export-bar {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 14px;
}

.pdfx-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    background: var(--color-bg-tertiary);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 7px 14px;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.pdfx-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pdfx-btn svg {
    flex-shrink: 0;
}

@media print {
    .pdfx-export-bar {
        display: none;
    }
}
