Although you have lost weight, your muscle mass has increased, which may make your body look stronger and more stylish. Muscle is denser than fat, so when you increase muscle mass, your body may become more compact, but your weight will drop.
In addition, you may increase the intensity and frequency of strength training, which will also lead to the destruction and reconstruction of muscles, thus increasing muscle mass.
In short, don't just focus on weight, but ignore physical changes and health. If your exercise plan in the gym is balanced and comprehensive, including aerobic exercise and weight training, combined with a healthy diet, then your body may become healthier and more in shape, not just losing weight.