/* Dashboard des missions */

.cdv-dashboard-filters {
    animation: fadeIn 0.5s ease-in;
}

.cdv-dashboard-filters select,
.cdv-dashboard-filters input {
    height: 40px;
    font-size: 14px;
}

.cdv-missions-stats {
    animation: fadeIn 0.7s ease-in;
}

.cdv-missions-stats > div {
    transition: transform 0.3s ease;
}

.cdv-missions-stats > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Table styles */
.wp-list-table {
    animation: fadeIn 0.9s ease-in;
}

.wp-list-table tbody tr {
    transition: background-color 0.2s ease;
}

.wp-list-table tbody tr:hover {
    background-color: #f0f0f1;
}

/* Status colors */
.cdv-status {
    transition: all 0.3s ease;
}

/* Modal */
#photo-modal {
    animation: fadeIn 0.3s ease-in;
}

#photo-modal > div {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Export button */
.button-secondary {
    transition: all 0.3s ease;
}

.button-secondary:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Responsive dashboard */
@media (max-width: 1200px) {
    .cdv-dashboard-filters > form > div {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .cdv-dashboard-filters > form > div {
        grid-template-columns: 1fr !important;
    }
    
    .cdv-missions-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .wp-list-table {
        font-size: 12px;
    }
}

/* Print styles */
@media print {
    .cdv-dashboard-filters,
    .button {
        display: none !important;
    }
}
