Also, as someone who has spent more than 24 hours in solitary confinement, I can say that doing it for a full day is pretty mild. You contemplate, use the toilet as needed, eat what's given to you, sleep and the time passes pretty quickly unless you're also being abused in some other way such as temperature extremes or having your clothes removed (I've had to deal with both and they make even brief solitary much worse)
Doing it for long stretches is a different story of course, but a day or two without "special" and basically abusive measures as mentioned above is very mild unless you have one very pathological aversion to any solitude. Claustrophobia could be a factor too but since prison is a confined place either way, it never fully stops applying (though Solitary cells are more claustrophobic than prison living outside of full lockdown.)
Padded room too, just in case.
Also, yeah, anyone thinking 24 hours in solitary is no big deal -- spend a weekend trying it for yourself. Look up the conditions, and mimic it to the best of your ability and see how it goes.