/* ... existing styles ... */

.chart-wrapper {
    position: relative;
    height: 300px;
    /* Fixed height for charts */
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
}

.chart-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}

.btn.active {
    background-color: var(--accent);
    color: #0b0c10;
}