TL;DR: how tf do you get over the ugly duckling syndrome?

Context: For some reason I've never really considered myself attractive, and possibly "average" at best. I did lose close to 40lbs over the year, and managed to finally get somewhat lean.

I've had female co-workers and other random women tell me I'm attractive, and don't understand how I'm still single blah blah blah. Personally though it's something I've never really considered, and believe I got a ton of work to still do.