/* ContentReply - RTL addon. Activated automatically when js/i18n.js sets
   <html dir="rtl"> for Arabic. Mirrors layout only - colors, sizes and
   component tokens are untouched. */

body.rtl { direction: rtl; text-align: right; }
body.rtl .nav { flex-direction: row-reverse; }
body.rtl .user { flex-direction: row-reverse; }
body.rtl .head-actions { flex-direction: row-reverse; }
body.rtl .filters { flex-direction: row-reverse; }
body.rtl .tabs { flex-direction: row-reverse; }

body.rtl .card-head { flex-direction: row-reverse; }
body.rtl .card-actions { flex-direction: row-reverse; }
body.rtl .card-actions .left { margin-right: 0; margin-left: auto; }
body.rtl .option { flex-direction: row-reverse; }
body.rtl .editor-foot { flex-direction: row-reverse; }

body.rtl .subtabs { flex-direction: row-reverse; }
body.rtl .plan-head { flex-direction: row-reverse; }
body.rtl .usage-item-head { flex-direction: row-reverse; }
body.rtl .team-table th, body.rtl .team-table td { text-align: right; }
body.rtl .team-actions { flex-direction: row-reverse; justify-content: flex-start; }
body.rtl .invite-bar { flex-direction: row-reverse; }

body.rtl .btn-ghost[id*="Refresh"] { transform: scaleX(-1); display: inline-block; }
body.rtl .btn-ghost[id*="Refresh"] * { transform: scaleX(-1); display: inline-block; }

.lang-switch { border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 13px;
  font-family: inherit; background: #fff; color: var(--ink); }
body.rtl .lang-switch { margin-left: 0; margin-right: 8px; }
