.custom-slider-widget {
    height: 80%;
    width: 100%;
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.custom-slider-widget .temperature-bar,
.custom-slider-widget .battery-bar,
.custom-slider-widget .energy-bar,
.custom-slider-widget.tank-bar
{
    width: 30%;
    aspect-ratio: 3 / 5;
}
    
.custom-slider-widget .info-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.custom-slider-widget .value-display {
    justify-content: center;
    align-content: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.custom-slider-widget .widget-name {
    align-content: center;
    font-size: 0.95rem;
}

.widget-template.custom-slider {
    width: 27vmin;
    height: 15vmin;
}





/* === MEDIA === */

/* Mobile  */

@media (max-width: 699px) {
    .custom-slider-widget .widget-name {
        font-size: 0.85rem;
    }

    .custom-slider-widget .value-display {
        font-size: 0.85rem;
    }
}

/* WVGA / WVGA-Narrow (720x480, 800x480) */

@media (min-width: 700px) and (max-width: 880px) {
}

/* WSVGA / XGA (1024x600, 1024x768) */

@media (min-width: 881px) and (max-width: 1150px) {
    .custom-slider-widget .widget-name {
        font-size: 0.85rem;
    }

    .custom-slider-widget .value-display {
        font-size: 0.85rem;
    }
}

/* WXGA / HD720 / SXGA (1280x720/800/1024) */

@media (min-width: 1151px) and (max-width: 1600px) {

    .custom-slider-widget .widget-name {
        font-size: 0.85rem;
    }

    .custom-slider-widget .value-display {
        font-size: 0.85rem;
    }
}

/* HD / WUXGA (1920x1080, 1920x1200) */

@media (min-width: 1601px) and (max-width: 2879px) {
    /* standard styles */
}

/* 4K (3840x2160) */

@media (min-width: 2880px) {

    .custom-slider-widget .widget-name {
        font-size: 1.75rem;
    }

    .custom-slider-widget .value-display {
        font-size: 1.75rem;
    }
}