/**
 * TaskBoosters — RTL Stylesheet (Arabic)
 * Loaded when lang=ar or body.rtl
 */

body.rtl,
html[lang="ar"] body {
    direction: rtl;
    text-align: right;
}

/* Nav */
body.rtl .tb-nav { flex-direction: row-reverse; }
body.rtl .tb-nav-menu { flex-direction: row-reverse; }
body.rtl .tb-nav-search-icon { left: auto; right: 11px; }
body.rtl .tb-nav-search input { padding: 9px 38px 9px 14px; }
body.rtl .tb-nav-actions { flex-direction: row-reverse; }
body.rtl .tb-dropdown { left: auto; right: 0; }
body.rtl .tb-lang-dropdown { right: 0; left: auto; }

/* Cards */
body.rtl .tb-card-header { flex-direction: row-reverse; }
body.rtl .tb-card-meta { text-align: right; }
body.rtl .tb-card-stats { flex-direction: row-reverse; }
body.rtl .tb-card-footer { flex-direction: row-reverse; }
body.rtl .tb-card-sponsored-badge { right: auto; left: 10px; }

/* Tool Detail */
body.rtl .tb-tool-header-inner { flex-direction: row-reverse; }
body.rtl .tb-tool-header-actions { align-items: flex-start; }
body.rtl .tb-tool-tabs-nav ul { flex-direction: row-reverse; }
body.rtl .tb-breadcrumb { flex-direction: row-reverse; }
body.rtl .tb-info-row { flex-direction: row-reverse; }

/* Pros Cons */
body.rtl .tb-pros ul li,
body.rtl .tb-cons ul li { flex-direction: row-reverse; }
body.rtl .tb-features-list li { flex-direction: row-reverse; }
body.rtl .tb-plan-features { text-align: right; }
body.rtl .tb-plan-features li { flex-direction: row-reverse; }

/* Forms */
body.rtl .tb-label { text-align: right; }
body.rtl .tb-form-group { text-align: right; }

/* Footer */
body.rtl .tb-footer-grid { direction: rtl; }
body.rtl .tb-footer-col ul { text-align: right; }
body.rtl .tb-footer-bottom { flex-direction: row-reverse; }

/* Sections */
body.rtl .tb-section-header { flex-direction: row-reverse; }
body.rtl .tb-rank-row { flex-direction: row-reverse; }

/* Prompt copy button */
body.rtl .tb-copy-btn { right: auto; left: 10px; }

/* Back to top */
body.rtl #tb-back-top { right: auto; left: 24px; }

/* Sidebar */
body.rtl .tb-sidebar-card { text-align: right; }
body.rtl .tb-tool-body { direction: rtl; }

/* Hero */
body.rtl .tb-hero { direction: rtl; }
body.rtl .tb-hero-stats { flex-direction: row-reverse; }
body.rtl .tb-hero-btns { flex-direction: row-reverse; }

/* Search */
body.rtl .tb-search-big { flex-direction: row-reverse; }
body.rtl .tb-filters-bar { flex-direction: row-reverse; }
