.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
    padding: 5px 8px;
}

.slider.round:before {
    border-radius: 50%;
}

.slider.round .label-left{
    float: left;
    display: inline-block;
    color: #efefef;
}

.slider.round .label-right{
    float: right;
    display: inline-block;
    color: #093658;
}

/* Global Loading */
#GlobalLoading500{
    background: rgb(88 88 88 / 79%);
    height: 100vh;
    position: fixed;
    text-align: center;
    top: 0;left: 0;
    width: 100%;
    z-index: 99999999999;
}
@keyframes busMoving {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes roadMoving {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -40px 0;
    }
}

#loadingPasarex.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.loading-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-container {
    transform: translateY(-15rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 45px 80px;
    box-shadow:
            0 0 3px rgba(0, 224, 255, 0.04),
            0 0 4px rgba(0, 224, 255, 0.025),
            0 0 7px rgba(0, 224, 255, 0.015);
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.loading-bus {
    width: 70px;
    height: 70px;
}

.loading-road {
    width: 350px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 2px;
}

.loading-road-animation {
    height: 100%;
    width: 100%;
    background-image: repeating-linear-gradient(90deg, #ffffff 0px, #ffffff 20px, transparent 20px, transparent 40px);
    background-size: 40px 3px;
    animation: roadMoving 1.2s linear infinite;
}

.loading-text-primary {
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.loading-text-secondary {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
}
@media only screen and (min-width: 600px) {
    #GlobalLoading500 > .loading_container {
        background: rgb(255 255 255 / 90%);
        border-radius: 4px;
        font-size: 1.5em;
        min-height: 10vh;
        margin: 30vh 5%;
        padding: 20px;
        min-width: 90%;
    }
}
@media only screen and (min-width: 1000px) {
    #GlobalLoading500 > .loading_container {
        background: rgb(255 255 255 / 90%);
        border-radius: 4px;
        font-size: 1.5em;
        min-height: 10vh;
        margin: 30vh 20%;
        padding: 20px;
        min-width: 60%;
    }
}
@media only screen and (min-width: 1600px) {
    #GlobalLoading500 > .loading_container {
        background: rgb(255 255 255 / 90%);
        border-radius: 4px;
        font-size: 1.5em;
        min-height: 10vh;
        margin: 30vh 40%;
        padding: 20px;
        min-width: 20%;
    }
}
#GlobalLoading500>.loading_container>.text{
    padding-top: 1em;
}
