﻿.barZeChart {
    display: flex;
    margin: 0 auto;
    min-height: 150px;
    /*
    max-width: 1400px;
    */
    max-width: 96%;
    gap: 1em;
    font-size: 1em;
    font-weight: 600;
}
    /*
    .barZeChart *:not(i) {
        font-family: monospace !important;
    }
    */

    .barZeChart .BarHeading {
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 600;
        margin-bottom: 1em;
        color: #fff;
    }

    .barZeChart .bLeft,
    .barZeChart .bRight {
        padding: 10px 0;
        flex: 1 1;
        margin: 0;
        border: 0;
    }

    .barZeChart .barcontainer {
        cursor: pointer;
        transition: transform .1s;
        will-change: transform;
        padding: 0.2em 0;
    }

        .barZeChart .barcontainer:hover {
            transform: scale(1.02);
        }

    .barZeChart .flowOverviewBar {
        color: rgb(36, 255, 100);
        /*
        background-color: var(--darkreader-bg--color-bg);
        */
        border-radius: 5px;
        padding: 0.25em 0.5em;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        transition: filter .2s;
    }

        .barZeChart .flowOverviewBar span,
        .barZeChart .flowOverviewBar b {
            color: #fff;
            margin: 0;
            padding: 0;
            border: 0;
            vertical-align: baseline;
        }

    .barZeChart .flowOverviewBarRowFill {
        background: linear-gradient(to right, rgba(0, 128, 0, 1), rgba(0, 128, 0, 0));
        left: 0;
        opacity: .9;
        z-index: 0;
        border-radius: 5px;
        position: absolute;
        top: 0;
        bottom: 0;
        transition: width 0.8s ease;
        animation: widthAnimation 1s ease forwards;
    }


    .barZeChart .stockName {
        z-index: 2;
        margin-right: auto;
    }

    .barZeChart .CenterName {
        position: absolute;
        left: 0;
        top: 0.2em;
        right: 0;
        text-align: center;
        z-index: 3;
        color: var(--color-text-step);
        margin: 0 1em;
        opacity: 0;
        transition: opacity .15s;
    }

        .barZeChart .CenterName:hover {
            opacity: 1;
        }

.dataTable .flowOverviewBarRowFill {
    background: linear-gradient(to right, rgb(2 60 224), rgba(0, 128, 0, 0));
    transition: width 0.8s ease;
    animation: widthAnimation 1s ease forwards;
}


.barZeChart .FlowOverviewBarRight {
    text-align: right;
    opacity: 1;
    color: rgb(0, 255, 75);
    margin-left: 0.7em;
    z-index: 2;
    display: flex;
    font-weight: bold;
}

    .barZeChart .FlowOverviewBarRight .FlowOverviewBarRight1,
    .barZeChart .FlowOverviewBarRight .FlowOverviewBarRight2 {
        min-width: 10ch;
    }

    .barZeChart .FlowOverviewBarRight .FlowOverviewBarRight1 {
        opacity: 0.6;
    }


.barZeChart .bRight .flowOverviewBarRowFill {
    background: linear-gradient(to left, rgb(255, 0, 0), rgb(255, 0, 0,0));
    left: auto;
    right: 0;
}

.barZeChart .bRight .FlowOverviewBarRight {
    color: rgb(255,0,0);
}

.barZeChart .bRight .FlowOverviewBarRight,
.barZeChart .bRight .flowOverviewBar {
    flex-direction: row-reverse;
    text-align: left;
}

@keyframes widthAnimation {
    from {
        width: 1px; /* 初始宽度 */
    }
}

@media (max-width: 992px) {
    .barZeChart {
        width: 160%!important;
        max-width:initial;
    }
}