.ecbs-gauges {
    display: flex;
    flex-wrap: wrap;
}

.ecbs-single-gauge {
    width: 25%;
}

.ecbs-gauge-value {
    text-align: center;
}

.ecbs-gauge-title {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ecbs-gauge-title img {
    display: inline-block;
    width: 50px;
}

.ecbs-tabs {
    display: flex;
    gap: 1px;
}

.ecbs-tabs .ecbs-tab {
    background: #eaeaea;
    padding: 5px 10px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border: 1px solid #EEE;
    cursor: pointer;
}

.ecbs-tabs .ecbs-tab.active {
    background: #FFF;
    border-bottom: 0;
}

.ecbs-tab-content {
    /*background: #FFF;*/
}

.ecbs-tab-content .ecbs-time-series {
    padding-top: 20px;
    display: none;
}

.ecbs-tab-content .ecbs-time-series:first-child {
    display: block;
}

.ecbs-tab-content .ecbs-time-series h3 {
    margin-top: 0;
    text-align: center;
    text-transform: capitalize;
}

.ecbs-single-gauge canvas {
    margin: auto !important;
}

/* -- Mobile Styling -- */
@media (max-width: 767px) {

    .ecbs-gauges,
    .elementor-widget-ecbs-time-series,
    .elementor-widget-ecbs-device-chart {
        max-width: 900px;
        margin: auto;
        padding: 0rem 0rem;
        flex-direction: column;
    }

    .ecbs-single-gauge {
        margin: auto;
        display: block !important;
        width: auto;
        margin-bottom: 3rem !important;
    }


}

/* -- Tablet Styling -- */
@media (min-width: 768px) and (max-width: 1023px) {

    .ecbs-gauges,
    .elementor-widget-ecbs-time-series,
    .elementor-widget-ecbs-device-chart {
        max-width: 900px;
        margin: auto;
        padding: 0rem 0rem;
    }

    .ecbs-single-gauge canvas {
        width: 230px !important;
        height: 120px !important;
    }
}

/* -- Desktop Styling -- */
@media (min-width: 1025px) {

    .ecbs-gauges,
    .elementor-widget-ecbs-time-series,
    .elementor-widget-ecbs-device-chart {
        padding: 0rem 3rem;
        max-width: 1400px;
        margin: auto;
    }
}
