My question involves criminal law for the state of: Maryland

Okay so I was caught shoplifting at my local Target. These plain-clothes security guys grabbed me before I walked outside and took me to some back room. They took my ID and put me in their holding room. They called the police and told me the merchandise equaled up to almost $400. I was told I cannot come back to that Target ever and that if I did, I would be arrested for trespassing. When the police came, they gave me a sheet a paper and said that I was basically being arrested without being taken in. I also have to show up for a court date that they haven't given me yet. I really just want to know what could happen to me. I don't have a lawyer and don't have the money to hire one. Also, I wanted to know if this would get me fired from my current job or prevent me from getting future jobs. Will this be on a permanent record? Am I going to go to jail? This is my first time ever doing anything concerning the police.