.form-check.form-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.form-check-input {
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 10px;
    position: relative;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease-in-out;
}

.form-check-input:checked {
    background-color: #007bff;
}

.form-check-input::before {
    content: "";
    width: 18px;
    height: 18px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: transform 0.3s ease-in-out;
}

.form-check-input:checked::before {
    transform: translateX(20px);
}
