/* 
 * Elementor RTL fixes for Arabic pages
 * Version: 1.0.0
 */

/* Make Elementor containers RTL */
.arabic-page .elementor {
    direction: rtl;
}

.arabic-page .elementor-section,
.arabic-page .elementor-column,
.arabic-page .elementor-widget-container {
    direction: rtl;
    text-align: right;
}

/* Elementor fonts */
.arabic-page .elementor-widget-container {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

/* Reverse column order */
.arabic-page .elementor-row {
    flex-direction: row-reverse;
}

/* Elementor containers (Flexbox Container) */
.arabic-page .e-con {
    direction: rtl;
}

.arabic-page .e-con-inner {
    flex-direction: row-reverse;
}

/* Text editor widget */
.arabic-page .elementor-text-editor {
    text-align: right;
}

/* Heading widget */
.arabic-page .elementor-heading-title {
    text-align: right;
}

/* Icon list */
.arabic-page .elementor-icon-list-item {
    direction: rtl;
}

.arabic-page .elementor-icon-list-icon {
    margin-left: 8px;
    margin-right: 0;
}

.arabic-page .elementor-icon-list-text {
    padding-right: 0;
    padding-left: 0;
}

/* Image box */
.arabic-page .elementor-image-box-wrapper {
    flex-direction: row-reverse;
    text-align: right;
}

.arabic-page .elementor-image-box-img {
    margin-left: 15px;
    margin-right: 0;
}

.arabic-page .elementor-image-box-content {
    text-align: right;
}

/* Buttons */
.arabic-page .elementor-button {
    direction: rtl;
}

.arabic-page .elementor-button-content-wrapper {
    flex-direction: row-reverse;
}

.arabic-page .elementor-button-icon {
    margin-left: 8px;
    margin-right: 0;
}

/* Forms */
.arabic-page .elementor-field-group {
    direction: rtl;
}

.arabic-page .elementor-field-group input,
.arabic-page .elementor-field-group textarea,
.arabic-page .elementor-field-group select {
    direction: rtl;
    text-align: right;
}

/* Email/URL fields stay LTR */
.arabic-page .elementor-field-type-email input,
.arabic-page .elementor-field-type-url input {
    direction: ltr;
    text-align: left;
}

/* Form labels */
.arabic-page .elementor-field-label {
    text-align: right;
}

/* Navigation menu widget (if used in page content) */
.arabic-page .elementor-nav-menu--layout-horizontal .elementor-nav-menu > li {
    float: right;
}

.arabic-page .elementor-nav-menu--dropdown {
    direction: rtl;
}

.arabic-page .elementor-nav-menu--dropdown .elementor-item {
    text-align: right;
}

.arabic-page .elementor-nav-menu--dropdown .elementor-sub-item {
    text-align: right;
}

/* Tabs widget */
.arabic-page .elementor-tabs .elementor-tab-title {
    text-align: right;
}

.arabic-page .elementor-tabs .elementor-tab-content {
    text-align: right;
}

/* Accordion widget */
.arabic-page .elementor-accordion .elementor-tab-title {
    text-align: right;
}

.arabic-page .elementor-accordion .elementor-accordion-icon {
    left: auto;
    right: 15px;
}

.arabic-page .elementor-accordion .elementor-tab-content {
    text-align: right;
}

/* Toggle widget */
.arabic-page .elementor-toggle .elementor-tab-title {
    text-align: right;
}

.arabic-page .elementor-toggle .elementor-toggle-icon {
    left: auto;
    right: 0;
}

/* Counter widget */
.arabic-page .elementor-counter {
    text-align: right;
}

.arabic-page .elementor-counter-number-wrapper {
    text-align: right;
}

.arabic-page .elementor-counter-title {
    text-align: right;
}

/* Progress bar */
.arabic-page .elementor-progress-wrapper {
    direction: rtl;
}

.arabic-page .elementor-progress-text {
    text-align: right;
}

.arabic-page .elementor-progress-percentage {
    left: auto;
    right: 0;
}

/* Testimonial */
.arabic-page .elementor-testimonial-content {
    text-align: right;
}

.arabic-page .elementor-testimonial-name {
    text-align: right;
}

.arabic-page .elementor-testimonial-job {
    text-align: right;
}

.arabic-page .elementor-testimonial-meta {
    text-align: right;
}

/* Social icons */
.arabic-page .elementor-social-icons-wrapper {
    text-align: right;
}

/* Divider */
.arabic-page .elementor-divider {
    text-align: right;
}

/* Alert */
.arabic-page .elementor-alert {
    text-align: right;
}

.arabic-page .elementor-alert-title {
    text-align: right;
}

.arabic-page .elementor-alert-description {
    text-align: right;
}

/* Call to Action */
.arabic-page .elementor-cta__content {
    text-align: right;
}

.arabic-page .elementor-cta__title {
    text-align: right;
}

.arabic-page .elementor-cta__description {
    text-align: right;
}

/* Price Table */
.arabic-page .elementor-price-table {
    text-align: right;
}

.arabic-page .elementor-price-table__header {
    text-align: right;
}

.arabic-page .elementor-price-table__features-list {
    text-align: right;
}

.arabic-page .elementor-price-table__feature-inner {
    text-align: right;
}

/* Blockquote */
.arabic-page .elementor-blockquote {
    text-align: right;
}

.arabic-page .elementor-blockquote__content {
    text-align: right;
}

.arabic-page .elementor-blockquote__author {
    text-align: right;
}

/* Star Rating */
.arabic-page .elementor-star-rating {
    direction: rtl;
}

/* Image Carousel */
.arabic-page .elementor-image-carousel-wrapper {
    direction: rtl;
}

/* Reviews */
.arabic-page .elementor-testimonial__text {
    text-align: right;
}

/* Google Maps - keep LTR */
.arabic-page .elementor-widget-google_maps {
    direction: ltr;
}

/* Video widget - keep LTR controls */
.arabic-page .elementor-video {
    direction: ltr;
}

/* Code widget - keep LTR */
.arabic-page .elementor-code-wrapper {
    direction: ltr;
    text-align: left;
}

/* Sitemap */
.arabic-page .elementor-sitemap-section {
    text-align: right;
}

/* Search Form */
.arabic-page .elementor-search-form__container {
    direction: rtl;
}

.arabic-page .elementor-search-form__input {
    direction: rtl;
    text-align: right;
}

/* Author Box */
.arabic-page .elementor-author-box {
    text-align: right;
}

.arabic-page .elementor-author-box__text {
    text-align: right;
}

/* Post Info */
.arabic-page .elementor-post-info {
    text-align: right;
}

.arabic-page .elementor-post-info__item {
    direction: rtl;
}

/* Breadcrumbs */
.arabic-page .elementor-breadcrumbs {
    direction: rtl;
    text-align: right;
}
