/* ─────────────────────────────────────────
   Mashaweeri — RTL Overrides
   Applied for Arabic and Urdu
   ───────────────────────────────────────── */

[dir="rtl"] body {
    font-family: 'Segoe UI', Tahoma, 'Arial Unicode MS', Arial, sans-serif;
}

[dir="rtl"] .kv-value {
    text-align: start;
}

[dir="rtl"] .lang-switcher {
    flex-direction: row-reverse;
}

/* Ensure logical properties work consistently */
[dir="rtl"] .toast-container {
    inset-inline: var(--space-4);
}

/* Urdu-specific font stack */
.lang-ur body,
[lang="ur"] {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* Arabic-specific adjustments */
.lang-ar body,
[lang="ar"] {
    font-family: 'Segoe UI', Tahoma, 'Arial Unicode MS', Arial, sans-serif;
}

/* Flip arrow icons in RTL when needed (future nav) */
[dir="rtl"] .icon-arrow-start::before {
    content: '→';
}

[dir="ltr"] .icon-arrow-start::before {
    content: '←';
}
