/* Shared RTL form controls: keep native select arrows outside Persian text. */
html[dir="rtl"] select,
body[dir="rtl"] select,
select[dir="rtl"] {
  direction: rtl;
  text-align: right;
  text-align-last: right;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-inline-start: 2.5rem !important;
  padding-inline-end: 0.875rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.85rem center;
  background-size: 1rem;
}
select option { direction: rtl; text-align: right; }
select:focus-visible { outline: 2px solid rgba(59,130,246,.35); outline-offset: 1px; }
