<% flash.each do |type, message| %>
<%# Map Rails flash types to Tailwind/Design System classes %>
<% css_class = case type.to_sym
when :notice then 'bg-success text-on-success'
when :alert then 'bg-error text-on-error'
else 'bg-secondary text-on-secondary'
end %>
<%= message %>
<% end %>
<% end %>