While submitting to brethren is scriptural, the Bible also teaches that our first submission must be to God and His Word. We look to Scripture and not human rules to understand what He asks of us.
Your pastor is likely referring to 1 Timothy 2:9, “the women [should] adorn themselves in modest apparel, not with braided hair or gold or pearls or costly clothing, but which is proper for women professing godliness with good works,” and 1 Peter 3:3, “Do not let your adornment be merely outward — arranging the hair, wearing gold, or putting on fine apparel — rather let it be the hidden person of the heart, with the incorruptible beauty of a gentle and quiet spirit, which is very precious in the sight of God.”
These verses caution against being flashy, showy or prideful, but they do not forbid combing hair, wearing jewelry or using modest adornment. The emphasis is on character, not a ban on outward appearance.
Regarding pants, the verse often cited is Deuteronomy 22:5, which prohibits men and women from intentionally dressing like the opposite gender. This was about cross-dressing, not modern clothing styles. In Bible times, everyone wore robes; in other cultures, men wore garments like kilts. Clothing styles change across history and geography.
The guiding principle is simple: Does the clothing clearly reflect your gender and honor God? If your attire is modest, appropriate, and not confusing or provocative, Scripture does not condemn it. As always, each person should follow their conscience before God.
Additional Resources:
Christian Questions Podcast
Episode #1240: Is It a Sin if I …? (Part I)
Examining whether how we dress and if gambling are sins
Preview Video
CQ Rewind Show Notes
Blog post: Can believers use artificial nails and hairpieces?