@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800&display=swap');


.light-theme {
    --primary: #F7F8FAff !important;
    --secondary: #2D2D4Cff !important;
    --text_color: #5F61EEff !important;
    --accent_color: #2D2D4Cff !important;

}

.dark-theme {
    --primary: #2D2D4Cff !important;
    --secondary: #F7F8FAff !important;
    --text_color: #9A9AA3ff !important;
    --accent_color: #F7F8FAff !important;
}

.svg-icon {
    width: 40px;
    height: 40px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.energy_status-pages canvas {
    width: 100vw;
}

* {
    color: var(--secondary);
    font-size: 0.9vw;
}

li {
    list-style-type: none;

}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td,
th {
    text-align: left;
    padding: 8px;
}

.sorting_1 {
    background-color: var(--primary) !important;
}

.dateSection {
    color: var(--secondary) !important;
    background-color: rgba(255, 255, 255, 0);
    height: 5vh;
    position: fixed;
    top: 0;
    right: 0;
    margin-top: 1.5vh !important;
    margin-right: 2vw !important;
}

.copyright-section{
    color: var(--secondary) !important;
    background-color: var(--text_color);
    font-size: x-small;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
    margin-right: 1.5vw;
    margin-bottom: 5px;
    padding: 2px;
    border-radius: 5px;
}

.home-section {
    position: relative;
    min-height: 90vh;
    left: 78px;
    width: calc(100% - 78px);
    /* transition: all 0.5s ease; */
    z-index: 2;
    max-height: 90vh;
    margin-top: 5vh;
    
}

.tabcontent {
    margin-right: 20px;
    margin-left: 20px;
}

.panel {
    display: flex;
    box-sizing: border-box;
    gap: 1%;
    width: 100%;
    margin-bottom: 5px;
    background: var(--primary) !important;
}

.panel .panel-container-item {

    flex: 20%;
    border-radius: 5px !important;
    background: var(--primary) !important;
}

.panel-section-data {
    height: 30vh !important;
    overflow-y: auto;
    border-top: 1px solid var(--secondary);
}


.panel-section-title h5 {
    font-weight: bold !important;
    margin-top: 3%;
}

.electricity-status {
    display: flex;
    width: 100%;
    font-size: 0.9vw;
    justify-content: space-between;
    border: none !important;
    border-bottom: 2px solid var(--secondary) !important;
    border-radius: 0 !important;

}

.electricity-status div {
    height: 10%;
    border: none !important;
}

.chart-section {
      /* display: block; */
    margin-left: auto;
    margin-right: auto;
    height: fit-content;
    width: 100%;
}

.title-chart-section {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    height: 3vh;
    width: 100%;
    padding-top: auto;
    margin-bottom: 30px;
}

.title-chart-section div {
    width: 5vw;
    height: 100%;
}

.data_status li {
    border-bottom: 2px solid var(--secondary) !important;
}

.data_status .status_connection {
    float: right;
}

.hide {
    display: none;
}

.smartplug-toggle {
    border: 2px solid var(--secondary) !important;
    border-radius: 5px;
}

.UtilWidth {
    font-size: 0.85vw;
}


@media (max-width: 800px) {

    .panel {
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .panel-container-item {
        margin-bottom: 10px;
        border-radius: 0px !important;
        height: fit-content;
    }

    .dateSection {
        color: var(--secondary) !important;
        top: 0;
        position: absolute;
        right: 0;
    }

    .panel-container-item {
        flex: 100%;
    }
}

/* NEW NAVBAR */
.progress2 {
    padding: 6px;
    border-radius: 30px;
    background: var(--accent_color);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25),
        0 1px rgba(255, 255, 255, 0.08);
}

.progress-bar2 {
    height: 15px;
    border-radius: 30px;
    max-width: 100%;
    background-image: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.05));
    /* transition: 0.4s linear; */
    transition-property: width, background-color;
}

.progress-moved .progress-bar2 {
    width: 100%;
    background-color: var(--text_color);
}

/* Effect Loading */
.lds-dual-ring {
    display: inline-block;
    width: 50%;
    height: 50%;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid black;
    border-color: black transparent black transparent;
    animation: lds-dual-ring 1.2s linear infinite;
    margin-top: 35%;
    margin-left: auto;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}