﻿.switch {
    position: relative;
    display: inline-block;
    width: 40px; /* Adjusted width */
    height: 20px; /* Adjusted height */
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: gainsboro;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
        position: absolute;
        content: "";
        height: 16px; /* Adjusted height */
        width: 16px; /* Adjusted width */
        left: 2px; /* Adjusted left */
        bottom: 2px; /* Adjusted bottom */
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }
.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.slider-labels span {
        color: lightseagreen;
        font-weight: bold;
    }
/* Rounded sliders */
.slider.round {
    border-radius: 20px; /* Adjusted border-radius */
}

.slider.round:before {
        border-radius: 50%;
    }



input:checked + .slider {
    background-color:   lightseagreen;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px); /* Adjusted transformation */
    -ms-transform: translateX(20px); /* Adjusted transformation */
    transform: translateX(20px); /* Adjusted transformation */
}



.sliderF {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    position: relative;
}

 .sliderF::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: lightseagreen;
        cursor: pointer;
        border-radius: 50%;
    }

.sliderF::-moz-range-thumb {
        width: 25px;
        height: 25px;
        background: lightseagreen;
        cursor: pointer;
        border-radius: 50%;
    }

.tooltipF {
    position: absolute;
    top: 40px;
    background-color: lightseagreen;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltipF::after {
        content: "";
        position: absolute;
        top: 100%;
        left: calc(50% - 5px);
        border-width: 5px;
        border-style: solid;
        border-color: lightseagreen transparent transparent transparent;
    }

#plus_master {
    padding: 10px; /* Adjust this value to increase or decrease the padding */
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

#plus_master:hover {
        background-color: #f5f5f5; /* Change this color to the one you want */
    }

.centered-alert {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    z-index: 9999;
    border-color: green;
    border: 2px solid green;
}

