/* export.css - Modal styles for export functionality */

/* Modal overlay */
.export-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal content */
.export-modal-content {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Modal header */
.export-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.export-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #333;
}

/* Modal body */
.export-modal-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Export buttons */
.export-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f5f5f5;
    color: #333;
}

.export-btn:hover {
    background-color: #0077cc;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 119, 204, 0.3);
}

.export-btn:active {
    transform: translateY(0);
}

/* Export preview */
.export-preview {
    padding: 1rem 1.5rem;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #666;
    border-radius: 0 0 12px 12px;
    max-height: 100px;
    overflow: hidden;
}

.export-preview strong {
    color: #333;
}

/* Print styles */
@media print {
    .export-modal {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .export-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .export-modal-body {
        padding: 1rem;
    }
    
    .export-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}
