/* ===== INDICATEURS DE NAVIGATION ===== */
.navigation-indicator {
    position: fixed;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(255, 107, 139, 0.95) 0%, rgba(74, 111, 165, 0.95) 100%);
    padding: 15px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
}

.navigation-indicator.horizontal {
    top: 50%;
    right: 30px;
    transform: translateY(-50%) scale(0.8);
}

.navigation-indicator.vertical {
    top: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
}

.navigation-indicator.show {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.navigation-indicator.vertical.show {
    transform: translateX(-50%) scale(1);
}

.indicator-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.indicator-icon {
    font-size: 2rem;
    font-weight: 700;
    animation: pulse 0.6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.indicator-text {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ===== ANIMATIONS AU SURVOL DES STATS ===== */
.stat-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.stat-item:hover {
    transform: scale(1.05) translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(255, 107, 139, 0.3) !important;
}

.stat-item:hover .stat-value {
    font-size: 1.8rem;
    color: #ff6b8b;
    text-shadow: 0 0 20px rgba(255, 107, 139, 0.6);
}

.stat-item:hover .stat-label {
    font-weight: 700;
    color: #fff;
}

.stat-item:hover .stat-icon {
    transform: rotate(360deg) scale(1.2);
    color: #ff6b8b;
}

.stat-icon {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ANIMATIONS DES LÉGENDES ===== */
.legend-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.legend-item:hover {
    transform: scale(1.1) !important;
    font-weight: 700 !important;
}

.legend-color {
    transition: all 0.3s ease;
}

.legend-item:hover .legend-color {
    transform: scale(1.3);
    box-shadow: 0 0 15px currentColor;
}

/* ===== ANIMATIONS DES FOOTERS DE GRAPHIQUES ===== */
.chart-footer {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    padding: 10px;
}

.chart-footer:hover {
    transform: scale(1.02) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.chart-footer:hover .summary-item {
    font-size: 1.1em;
    font-weight: 600;
}

.summary-item {
    transition: all 0.3s ease;
}

/* ===== AIDE NAVIGATION CLAVIER ===== */
.keyboard-help {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(20, 20, 50, 0.95) 0%, rgba(40, 20, 60, 0.95) 100%);
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.keyboard-help:hover {
    opacity: 1;
    transform: scale(1.05);
}

.keyboard-help-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.keyboard-help-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
    font-size: 0.85rem;
    color: #d0d0ff;
}

.keyboard-key {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

/* ===== ANIMATIONS DES GRAPHIQUES ===== */
.chart-container {
    animation: chartFadeIn 0.6s ease-out;
}

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

/* Animation de transition entre graphiques */
.chart-view.active {
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== EFFET DE GLOW SUR LES ÉLÉMENTS INTERACTIFS ===== */
.mode-btn:hover,
.chart-tab:hover,
.btn-chart-control:hover {
    box-shadow: 0 0 20px rgba(107, 204, 178, 0.5);
    transform: translateY(-2px);
}

/* ===== ANIMATIONS DES VALEURS NUMÉRIQUES ===== */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-value {
    animation: countUp 0.5s ease-out;
}

/* Effets désactivés - fond blanc propre */
