/* ====================================================================== *
 * File: rtl_directional_chevrons.css
 * Location: static/css/rtl_directional_chevrons.css
 * Description: Prevents decorative action chevrons from Unicode bidi-mirroring inside Persian RTL controls.
 * Version: 1.0.0
 * Last Modified: Thu Aug 20 2026 - 18:12
 * Dependencies: RTL document direction and rtl_directional_chevrons.js
 * ====================================================================== */

/* -------------------------------------------------------------------------- *
 * 1. Directionally isolated action chevrons
 * -------------------------------------------------------------------------- */

/* - - - 1.1. Existing decorative glyph wrappers used by buttons and links - - - */
html[dir="rtl"] :is(a, button) :is(span, b, i)[aria-hidden="true"] {
  direction: ltr;
  unicode-bidi: isolate;
}

/* - - - 1.2. Wrappers generated for inline chevrons embedded in button text - - - */
html[dir="rtl"] .rtl-action-chevron {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  font-style: normal;
}

/* ============================= End of rtl_directional_chevrons.css ============================= */