The experience bar in the trading GUI is styled like the experience bar in Bedrock Edition, and doesn't match the style of the player experience bar in Java Edition.