.switch{
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.switch input{
    opacity: 0;
    width: 0;
    height: 0;

}
.slider{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: hsl(0, 16%, 30%);
    transition: .4s;
    border-radius: 24px;
}
.slider:before{
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: rgb(255, 255, 255);
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider{
    background-color: rgb(131, 53, 255);
}
input:checked + .slider::before{
    transform: translateX(26px);
}
 
.custom-dropdown{
    width: 400px;
    height: 45px;
    padding: 10px;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    cursor: pointer;
    outline: none;
}

.custom-dropdown :focus{
    border-color: #7861ff;
}

.custom-dropdown option{
    background-color: white;
    padding: 10px;
    color: #333;
}

.custom-dropdown option:checked{
    background-color: #7b61ff !important;
    color: white;
}
.button1 {
    height: 30px;
    width: 90px;
    cursor: pointer;
}
.button2{
    height: 30px;
    width: 90px;
    position: relative;
    left: 220px;
    cursor: pointer;
}
.button1 input[type="button"]:hover{
    background-color: rgb(111, 67, 151);
    cursor:pointer;
}