.analytics-filter-buttons {
    display: flex;
    flex-wrap: wrap;      /* Allows buttons to wrap to the next line */
    justify-content: center; /* Center them horizontally */
    gap: 4px;            /* Space between buttons */
    margin-bottom: 30px;
}

.analytics-filter-buttons button {
    padding: 12px 18px;
    margin: 0 10px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    background: #e0e0e0;
    color: #333;
}

.analytics-filter-buttons button.active,
.analytics-filter-buttons button:hover {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.analytics-chart-container {
    width: 90%;
    height: 480px;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}