/* Domix V2 — RTL Overrides */

/* ===================================================================
   Mockup Refinements for RTL
   =================================================================== */
.is-rtl .dx-chat-bubble {
    text-align: right;
}
.is-rtl .dx-chat-bubble.dx-user {
    align-self: flex-end;
    border-radius: 12px 12px 0 12px;
}
.is-rtl .dx-chat-bubble.dx-bot {
    align-self: flex-start;
    border-radius: 12px 12px 12px 0;
}

/* Force LTR for Technical UI */
.is-rtl .dx-code-card,
.is-rtl .dx-settings-mockup,
.is-rtl .dx-assistant-mockup,
.is-rtl .dx-translation-mockup {
    direction: ltr;
}

.is-rtl .dx-lang-arrow svg {
    transform: rotate(180deg);
}

.is-rtl .dx-set-item svg {
    transform: rotate(180deg);
}

/* Marquee direction reversal */
[dir="rtl"] .dx-marquee-track {
  animation-direction: reverse;
}

/* FAQ chevron flip */
[dir="rtl"] .dx-faq-question svg {
  transform: scaleX(-1);
}
[dir="rtl"] .dx-faq-item.is-open .dx-faq-question svg {
  transform: scaleX(-1) rotate(180deg);
}

/* Nav caret */
[dir="rtl"] .dx-nav-link.has-caret::after {
  margin-inline-start: 6px;
  margin-inline-end: 0;
}

/* Language panel alignment */
[dir="rtl"] .dx-lang-panel {
  right: auto;
  left: 0;
}

/* Table first cell */
[dir="rtl"] .dx-comparison-table td:first-child {
  text-align: end;
}
