/* assets/css/rtl.css — RTL overrides for Arabic */
body.rtl { font-family: 'Cairo', 'DM Sans', sans-serif; }

/* Mirror layout */
.rtl .nav-inner   { flex-direction: row-reverse; }
.rtl .nav-links   { flex-direction: row-reverse; }
.rtl .nav-right   { margin-left: 0; margin-right: auto; }
.rtl .logo        { margin-right: 0; margin-left: 10px; flex-direction: row-reverse; }
.rtl .hero        { flex-direction: row-reverse; }
.rtl .hero-body   { text-align: right; }
.rtl .hero-flow   { left: 38px; right: auto; }
.rtl .hero-btns   { flex-direction: row-reverse; }
.rtl .hf-step     { flex-direction: row-reverse; }
.rtl .stat-card::after { left: auto; right: 0; }
.rtl .tl-row      { flex-direction: row-reverse; }
.rtl .tl-content  { text-align: right; padding-top: 3px; padding-right: 0; padding-left: 0; }
.rtl .panel-title { flex-direction: row-reverse; }
.rtl .filter-bar  { flex-direction: row-reverse; }
.rtl .form-group  { text-align: right; }
.rtl .form-input,
.rtl .form-select,
.rtl .form-textarea { text-align: right; }
.rtl .form-actions { flex-direction: row-reverse; }
.rtl .hero-tag    { flex-direction: row-reverse; }
.rtl .live-dot-wrap { flex-direction: row-reverse; }
.rtl .footer-inner { direction: rtl; }
.rtl .footer-bar  { flex-direction: row-reverse; }
.rtl .fl-col      { text-align: right; }
.rtl .sec-head    { flex-direction: row-reverse; }
.rtl .prod-body   { text-align: right; }
.rtl .prod-spec   { flex-direction: row-reverse; }
.rtl .cc-top      { flex-direction: row-reverse; }
.rtl .cc-info     { text-align: right; }
.rtl .track-head  { flex-direction: row-reverse; }
.rtl .tl-row:not(:last-child)::before { left: auto; right: 12px; }
.rtl .form-decl   { text-align: right; }
.rtl .table-wrap  { direction: rtl; }
.rtl table        { text-align: right; }
.rtl th, .rtl td  { text-align: right; }
.rtl .td-actions  { justify-content: flex-end; flex-direction: row-reverse; }
.rtl .sco-layout  { direction: rtl; }
.rtl .contact-grid{ direction: rtl; }
.rtl .about-grid  { direction: rtl; }
.rtl .flash       { text-align: right; }
.rtl .flash-close { margin-left: 0; margin-right: 8px; }
.rtl .notif-strip { flex-direction: row-reverse; text-align: right; }
.rtl .doc-card    { flex-direction: row-reverse; text-align: right; }
.rtl .detail-item { text-align: right; }
.rtl .stat-card   { text-align: right; }
.rtl .cc-stat     { text-align: center; }
.rtl .hero-title  { text-align: right; }
.rtl .hero-desc   { text-align: right; }

/* Hero flow direction for RTL */
.rtl .hf-step { flex-direction: row-reverse; }
.rtl .hf-num  { }

/* Buttons */
.rtl .btn-loi  { direction: rtl; }
.rtl .btn-primary, .rtl .btn-outline, .rtl .btn-ghost { direction: rtl; }

/* Footer links */
.rtl .footer-links { flex-direction: row-reverse; }

/* Adjust padding for RTL */
.rtl .stat-card { padding-left: 16px; padding-right: 22px; }
.rtl .stat-card::after { left: auto; right: 0; border-radius: 0 2px 2px 0; }

/* Ticker - keep LTR for prices */
.rtl .ticker-inner { direction: ltr; }

/* Nav active border */
.rtl .nl.active { border: 1px solid var(--ab); }
.rtl .sidebar-link { border-left: none; border-right: 2px solid transparent; }
.rtl .sidebar-link.active { border-right-color: var(--a); }
