/* ==========================================================================
   Rigicon AI Widget — RTL Override (Arabic)
   --------------------------------------------------------------------------
   v1.4.3: The FAB position is NO LONGER auto-flipped to bottom-left for RTL.
   The widget stays in the same screen corner across all languages so the
   user always knows where to find it. Only the INTERNAL flow of options
   (icon-first vs text-first) and the panel header identity row are
   mirrored, since those are about reading direction not screen position.
   ========================================================================== */

/* Flip option card flex direction so the icon sits on the right (RTL natural)
   and text reads from the right edge */
[dir="rtl"] .riaw-option,
body.riaw-rtl .riaw-option {
  flex-direction: row-reverse;
  text-align: right;
}

/* Mirror the panel header identity row (avatar + title order) */
[dir="rtl"] .riaw-panel-identity,
body.riaw-rtl .riaw-panel-identity {
  flex-direction: row-reverse;
}
