/**
 * PDF Export Button Styles
 * Simple floating button for PDF export
 */

/* Main export button - positioned in bottom right corner */
.pdf-export-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.pdf-export-button:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
    transform: translateY(-2px);
}

.pdf-export-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.4);
}

.pdf-export-button i {
    font-size: 18px;
}

/* Hide button when printing or in print-pdf mode */
@media print {
    .pdf-export-button {
        display: none !important;
    }
}

html.reveal-print .pdf-export-button,
html[data-pdf-format] .pdf-export-button {
    display: none !important;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .pdf-export-button {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Accessibility improvements */
.pdf-export-button:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Hide on overview mode */
.reveal.overview .pdf-export-button {
    opacity: 0.3;
    pointer-events: none;
}

/* Export notification animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Export notification styling */
.pdf-export-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 10001;
    max-width: 400px;
    font-family: 'Lato', sans-serif;
}
