Atomic structure and electron configuration