

html[dir="rtl"] body { text-align: right; }

html[dir="rtl"] .text-left  { text-align: right !important; }
html[dir="rtl"] .text-right { text-align: left !important; }

html[dir="rtl"] .ml-auto { margin-left: 0 !important; margin-right: auto !important; }
html[dir="rtl"] .mr-auto { margin-right: 0 !important; margin-left: auto !important; }
html[dir="rtl"] .mx-auto { margin-left: auto !important; margin-right: auto !important; }

html[dir="rtl"] .float-left  { float: right !important; }
html[dir="rtl"] .float-right { float: left !important; }


html[dir="rtl"] [class*="ml-"] { margin-left: 0 !important; }
html[dir="rtl"] [class*="pl-"] { padding-left: 0 !important; }
html[dir="rtl"] [class*="mr-"] { margin-right: 0 !important; }
html[dir="rtl"] [class*="pr-"] { padding-right: 0 !important; }

html[dir="rtl"] .ml-1 { margin-right: .25rem !important; }
html[dir="rtl"] .ml-2 { margin-right: .5rem !important; }
html[dir="rtl"] .ml-3 { margin-right: .75rem !important; }
html[dir="rtl"] .ml-4 { margin-right: 1rem !important; }
html[dir="rtl"] .ml-5 { margin-right: 1.25rem !important; }
html[dir="rtl"] .ml-6 { margin-right: 1.5rem !important; }
html[dir="rtl"] .ml-8 { margin-right: 2rem !important; }
html[dir="rtl"] .mr-1 { margin-left: .25rem !important; }
html[dir="rtl"] .mr-2 { margin-left: .5rem !important; }
html[dir="rtl"] .mr-3 { margin-left: .75rem !important; }
html[dir="rtl"] .mr-4 { margin-left: 1rem !important; }
html[dir="rtl"] .mr-6 { margin-left: 1.5rem !important; }
html[dir="rtl"] .mr-8 { margin-left: 2rem !important; }

html[dir="rtl"] .pl-1 { padding-right: .25rem !important; }
html[dir="rtl"] .pl-2 { padding-right: .5rem !important; }
html[dir="rtl"] .pl-3 { padding-right: .75rem !important; }
html[dir="rtl"] .pl-4 { padding-right: 1rem !important; }
html[dir="rtl"] .pl-5 { padding-right: 1.25rem !important; }
html[dir="rtl"] .pl-6 { padding-right: 1.5rem !important; }
html[dir="rtl"] .pl-8 { padding-right: 2rem !important; }
html[dir="rtl"] .pr-1 { padding-left: .25rem !important; }
html[dir="rtl"] .pr-2 { padding-left: .5rem !important; }
html[dir="rtl"] .pr-3 { padding-left: .75rem !important; }
html[dir="rtl"] .pr-4 { padding-left: 1rem !important; }
html[dir="rtl"] .pr-5 { padding-left: 1.25rem !important; }
html[dir="rtl"] .pr-6 { padding-left: 1.5rem !important; }
html[dir="rtl"] .pr-8 { padding-left: 2rem !important; }

html[dir="rtl"] .left-0 { left: auto !important; right: 0 !important; }
html[dir="rtl"] .right-0 { right: auto !important; left: 0 !important; }
html[dir="rtl"] .left-1 { left: auto !important; right: .25rem !important; }
html[dir="rtl"] .right-1 { right: auto !important; left: .25rem !important; }
html[dir="rtl"] .left-2 { left: auto !important; right: .5rem !important; }
html[dir="rtl"] .right-2 { right: auto !important; left: .5rem !important; }
html[dir="rtl"] .left-4 { left: auto !important; right: 1rem !important; }
html[dir="rtl"] .right-4 { right: auto !important; left: 1rem !important; }


html[dir="rtl"] .space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-left: 0 !important; margin-right: .25rem !important; }
html[dir="rtl"] .space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0 !important; margin-right: .5rem !important; }
html[dir="rtl"] .space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0 !important; margin-right: .75rem !important; }
html[dir="rtl"] .space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 0 !important; margin-right: 1rem !important; }
html[dir="rtl"] .space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 0 !important; margin-right: 1.5rem !important; }


html[dir="rtl"] .fa-arrow-right,
html[dir="rtl"] .fa-arrow-left,
html[dir="rtl"] .fa-chevron-right,
html[dir="rtl"] .fa-chevron-left,
html[dir="rtl"] .fa-angle-right,
html[dir="rtl"] .fa-angle-left,
html[dir="rtl"] .lucide-arrow-right,
html[dir="rtl"] .lucide-arrow-left,
html[dir="rtl"] .lucide-chevron-right,
html[dir="rtl"] .lucide-chevron-left {
  transform: scaleX(-1);
}


html[dir="rtl"] aside.admin-glass {
  left: auto !important;
  right: 0 !important;
  border-right: 0 !important;
  border-left: 1px solid var(--admin-line, #e5e7eb);
}
html[dir="rtl"] #admin-wrap {
  padding-left: 0 !important;
  padding-right: 15rem !important;
}
@media (max-width: 1023px) {
  html[dir="rtl"] #admin-wrap { padding-right: 0 !important; }
}
html[dir="rtl"] .admin-sidebar { border-right: 0; border-left: 1px solid var(--admin-line, #e5e7eb); }
html[dir="rtl"] .admin-content { text-align: right; }


html[dir="rtl"] .ins-back i,
html[dir="rtl"] .ins-act--go i { transform: scaleX(-1); }


html[dir="rtl"] code,
html[dir="rtl"] pre,
html[dir="rtl"] .font-mono { direction: ltr; unicode-bidi: isolate; text-align: left; }


html[dir="rtl"] .ml-auto { margin-left: 0 !important; margin-right: auto !important; }
html[dir="rtl"] .mr-auto { margin-right: 0 !important; margin-left: auto !important; }

