Onycholysishttps://en.wikipedia.org/wiki/Onycholysis
Onycholysis is a common condition characterized by painless detachment of the nail from the nail bed.

Onycholysis can occur in many situations, including psoriasis. In thyrotoxicosis, it is thought to result from sympathetic overactivity. It may also be seen with infections or trauma.

Treatment
A case report suggested that drinking carrot juice daily may improve onycholysis.

☆ In the 2022 Stiftung Warentest results from Germany, consumer satisfaction with ModelDerm was only slightly lower than with paid telemedicine consultations.
  • A 34-year-old male with ring and little fingers. It is not a fungal infection.
  • Typical Onycholysis ― A simple treatment method consists of taking carotene-rich food, such as carrot juice, for patients with chronic idiopathic onychodystrophy.
References Nail pitting and onycholysis 27052048
A 43-year-old man, previously in good health, was sent to the dermatology department because his fingernails had been infected with a fungus for a year. Even after taking antifungal pills (terbinafine 250 mg), his condition didn't improve. During the check-up, the doctors found small holes and separation of the nails in seven of his fingers. He also had some red, scaly patches in his left ear and a bit of dandruff on his scalp, which made his head itch slightly. There weren't any other skin issues noticed.