.mg-chart-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.mg-chart-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.mg-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mg-btn:hover {
    background: #f0f0f0;
}

.mg-btn.active {
    background: #004437;
    color: #fff;
    border-color: #004437;
}

/* Force dark green tooltip for better readability */
.apexcharts-tooltip {
    background: #004437 !important;
    border-color: #004437 !important;
    color: #fff !important;
}

.apexcharts-tooltip-title {
    background: #003329 !important;
    /* Slightly darker for title */
    border-bottom: 1px solid #005545 !important;
    font-family: inherit !important;
}

.apexcharts-tooltip-text-y-value,
.apexcharts-tooltip-text-y-label,
.apexcharts-tooltip-text-z-value,
.apexcharts-tooltip-text-z-label {
    color: #fff !important;
}