.container {
    padding: 80px 20px 100px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.chart-container {
    width: 100%;
    max-width: 1200px; /* plus large sur PC */
    margin: auto;
    background: white;
    padding: 30px; /* un peu plus d’espace */
    border-radius: 10px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .chart-container {
        padding: 15px;
        max-width: 95%; /* occupe presque tout l’écran */
    }
}
.mobile-nav {
    display: none;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mobile-nav button {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

.mobile-nav button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Visible uniquement sur mobile */
@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
    }
}
