/* ===== ENHANCEMENTS SUPPLÉMENTAIRES ===== */

/* Menu années */
.year-navigation {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 20, 50, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.year-label {
    color: #fff;
    font-size: 12px;
}

.year-select {
    padding: 6px 12px;
    background: linear-gradient(135deg, #4a9eff, #00d4ff);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
}

.year-select option {
    background: #1a1a40;
}

/* Bouton toggle illustrator */
.btn-toggle-illustrator {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 10px 16px;
    background: rgba(44, 62, 80, 0.95);
    border: 2px solid #00d4ff;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-toggle-illustrator:hover {
    background: #00d4ff;
}

/* Animation glitch */
.chart-view.glitch-transition {
    animation: glitchEffect 0.3s ease-out;
}

@keyframes glitchEffect {
    0%, 100% { transform: translate(0); opacity: 1; }
    25% { transform: translate(-3px, 3px); opacity: 0.8; }
    50% { transform: translate(3px, -3px); opacity: 0.9; }
    75% { transform: translate(-3px, -3px); opacity: 0.85; }
}

/* Valeurs en mise à jour */
.metric-value.updating {
    animation: valueUpdate 0.6s ease-out;
}

@keyframes valueUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); color: #00d4ff; }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .year-navigation {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
    }
    
    .year-select {
        font-size: 12px;
        padding: 5px 10px;
    }
}

