/*
 * Right-to-left (Arabic) overrides for custom.css. Loaded after custom.css only
 * when <html dir="rtl">. Mirrors every left/right-specific rule in custom.css.
 */
[dir="rtl"] .hero-section::before { right: auto; left: -120px; }
[dir="rtl"] .hero-section::after { left: auto; right: -120px; }
[dir="rtl"] .cta-banner::before { right: auto; left: -60px; }
[dir="rtl"] .cta-banner::after { left: auto; right: -50px; }

/* .progress-bar is flex: its text follows the page direction on its own. */

/* Paste/clear button sits on the opposite side; URLs stay readable left-to-right. */
[dir="rtl"] .download-form .btn-action { right: auto; left: 0.75rem; }
[dir="rtl"] .download-form .form-control { unicode-bidi: plaintext; text-align: right; }

[dir="rtl"] .stats-card,
[dir="rtl"] .download-meta .meta-info { text-align: right; }

[dir="rtl"] .media-badge { left: auto; right: 1rem; }
[dir="rtl"] .list-section ul { padding-left: revert; padding-right: 0; }

/* File names / URLs inside cards are Latin text. */
[dir="rtl"] .download-file-name { unicode-bidi: plaintext; }
