/* ═══════════════════════════════════════════════
   FreePDFtxt — language switcher + RTL
═══════════════════════════════════════════════ */

/* The language picker was removed: languages live at their own URLs
   (/de/…), and search engines find them through the hreflang tags in
   <head>. Nothing in the UI offers a language menu.
   The RTL rules below still matter — they apply whenever a visitor
   loads a /<lang>/ URL directly. */

/* ── RTL (Arabic) ────────────────────────────────────────────────────────
   Only the things that are genuinely direction-dependent are flipped.
   Logical properties would be cleaner, but the existing stylesheet uses
   physical left/right throughout, so these are targeted overrides. */
[dir="rtl"] .lang-pick-menu,
[dir="rtl"] .acct-menu { right: auto; left: 0; }
[dir="rtl"] .lang-pick-opt.sel svg { margin-left: 0; margin-right: auto; }
[dir="rtl"] .flash-wrap { right: auto; left: 22px; }
[dir="rtl"] .mega-link:hover { transform: translateX(-3px); }
[dir="rtl"] .login-btn:hover svg { transform: translateX(-3px); }
[dir="rtl"] .soon-tag { margin-left: 0; margin-right: auto; }
[dir="rtl"] .dtable th, [dir="rtl"] .dtable td { text-align: right; }
[dir="rtl"] .plan-feats, [dir="rtl"] .price-feats { text-align: right; }
/* Arrows and chevrons point the other way in RTL. */
[dir="rtl"] .chev, [dir="rtl"] .tool-arrow { transform: scaleX(-1); }
@media (max-width: 640px) { [dir="rtl"] .flash-wrap { left: 12px; right: 12px; } }
