/* Export Functionality Styles */

.export-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.export-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    min-width: 100px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.export-option:hover {
    background-color: rgba(67, 97, 238, 0.1);
    border-color: var(--primary-color);
}

.export-option i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.export-date-range {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.export-date-range h4 {
    margin-bottom: 1rem;
}

/* PDF Styles */
.pdf-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    color: #333;
}

.pdf-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #4361ee;
}

.pdf-header h1 {
    color: #4361ee;
    margin-bottom: 0.5rem;
}

.pdf-summary {
    margin-bottom: 2rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-item {
    padding: 1rem;
    background-color: #f5f7fa;
    border-radius: 8px;
    text-align: center;
}

.summary-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.summary-item p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.pdf-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.pdf-table th,
.pdf-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.pdf-table th {
    background-color: #f5f7fa;
    font-weight: 600;
}

.pdf-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.pdf-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .export-options {
        justify-content: center;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .pdf-container {
        padding: 0;
    }
    
    .pdf-table {
        page-break-inside: avoid;
    }
    
    .pdf-summary {
        page-break-after: always;
    }
}