Hi,
Welcome to health care magic,
Based on your question,my opinion is as follows.
Clay colored stools is normally due to bile obstruction.
However, after a period of
diarrhea, it can occur.
Loperamide, in addition to reducing bowel movement can affect biliary duct, resulting in pale stools.
If you had a single episode then you need not to be worried.
If it repeat, you will require
ultrasound of abdomen along with serum
bilirubin evaluation, particularly conjugated bilirubin.
Meanwhile,Take plenty of fluids with oral rehydration salts and continue with your usual diet. Not to worry.
Hope it helps.
Any further queries, happy to help again.
Regards,