/* Add styles for the toggle control */
.customize-control-toggle {
    margin-bottom: 20px;
}

.customize-control-title {
    display: block;
    margin-bottom: 10px;
}

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

.customize-control-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

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

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);
}



/* updated toggle-control */
.customize-control-switch{
    width: 56px;
    height: 26px;
    background-color: #BFBFBF;
    border-radius: 99px;
}

.customize-control-switch::after{
    content: '';
    display: inline-block;
    height: 8px;
    width: 8px;
    border: 3px solid #fff;
    border-radius: 50%;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.customize-control-switch::before{
    content: "";
    display: inline-block;
    height: 8px;
    width: 0;
    border: 1px solid #FFFFFF;
    position: absolute;
    z-index: 99;
    left: 16px; 
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none
}
.slider{
    box-shadow: 0px 1px 3px 0px #00000033 inset;
    background-color: transparent;
    border-radius: 99px;
}

.slider:before{
    left: 8px;
    bottom: 50%;
    transform: translateY(50%);
    height: 16px; 
    width: 16px;
    box-shadow: 0px 1px 2px 0px #00000033;
}
input:checked + .slider{
    background-color: #2563EB
}

input:checked + .slider:before{
    transform: translate(24px, 50%)
}

.customize-control-title{
    margin-bottom: 0;
}
.customize-control-wrapper{
    position: relative;
    padding-right: 60px;
    padding-top: 12px;
}
.customize-control-switch{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}
.customize-control-description{
    font-style: normal;
}