/*
 * rtl.css — WordPress auto-loads this file when is_rtl() is true (Arabic).
 *
 * Since Arabic is the PRIMARY language, the base CSS is already RTL-aware
 * using logical properties (padding-inline-*, margin-inline-*, inset-inline-*).
 * This file handles the small number of cases that cannot be expressed with
 * logical properties alone.
 */

/* Arrows: in Arabic (RTL), "forward" arrows point left — flip is already the
   default in components.css. When LTR (English) is active, rtl.css is NOT
   loaded, so the LTR state is the un-flipped base. */

/* Number counter direction for step numbers */
.steps { counter-reset: s; }

/* Ensure select dropdowns open in the correct direction */
select { text-align-last: right; }

/* Override any third-party plugin that forces LTR on form elements */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
    direction: rtl;
    text-align: right;
}
