/* RTL Overrides for Arabic Language */
body {
    direction: rtl;
    text-align: right;
}

header .desktop-nav, .footer-links {
    gap: 25px;
}

.language-btn::after {
    margin-right: 5px; /* Use margin-right for RTL */
    margin-left: 0;
}

.language-dropdown {
    right: auto;
    left: 0;
}

.language-dropdown a {
    text-align: right;
}

.ts-input-wrapper {
    flex-direction: row-reverse;
}

#mobile-menu-toggle {
    margin-left: 0;
    margin-right: auto; /* Push toggle to the left */
}

.ts-results-area, .ts-modal-content {
    text-align: right;
}

.ts-loading::before {
    margin-right: 0;
    margin-left: 12px;
}

.ts-error::before {
    margin-right: 0;
    margin-left: 10px;
}

.ts-file-info p strong {
    display: inline-block;
    margin-left: 8px; /* Add space after the label */
}

.ts-action-button svg, .ts-support-button svg, .ts-bookmark-button svg {
    margin-right: 0;
    margin-left: 8px; /* Icon on right for RTL */
}

.ts-share-buttons {
    justify-content: flex-start; /* Align to end (right in RTL) */
}
.ts-file-info p, .ts-section-title, .ts-message p, h2, h3, h4 , .features-list {text-align: right !important;}
li {text-align: right !important;}