/* Right-to-left presentation. IDs, field values and native WHMCS handlers are unchanged. */
html[dir="rtl"] { direction: rtl; }
html[dir="rtl"] body.weeby-theme,
html[dir="rtl"] body.weeby-document { direction: rtl; text-align: right; font-family: Tahoma,Arial,sans-serif; }
html[dir="rtl"] .weeby-theme :is(h1,h2,h3,h4,h5,h6,.page-title,.stat-value,.brand,.btn),
html[dir="rtl"] .weeby-document :is(h1,h2,h3,h4,h5,h6,.btn) { letter-spacing: normal; text-transform: none; font-family: inherit; }
html[dir="rtl"] .weeby-theme :is(.weeby-site,.weeby-client,.weeby-native-content,.weeby-order-content) { font-family: Tahoma,Arial,sans-serif; }
html[dir="rtl"] .weeby-theme :is(input,textarea,select,button) { font-family: inherit; }
html[dir="rtl"] .weeby-theme :is(input[type="email"],input[type="url"],input[type="tel"],input[name="domain"],input[name="sld"],input[name="tld"],input[name="hostname"],input[name="epp"],input[name="transfersecret"],.domain-name,.domain-input-group input,.service-subtitle,.price-cell,.stat-value,.amount,.total-due-today,.weeby-checkout-total) { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .weeby-theme :is(input[type="email"],input[type="url"],input[type="tel"],input[name="domain"],input[name="hostname"]) { text-align: left; }
html[dir="rtl"] .weeby-client .app-sidebar { inset: 0 0 0 auto; border-right: 0; border-left: 1px solid #ffffff12; }
html[dir="rtl"] .weeby-client .app-body { margin-left: 0; margin-right: 240px; }
html[dir="rtl"] .weeby-client .app-nav > a.active::before { left: auto; right: 0; }
html[dir="rtl"] .weeby-client .app-nav .nav-count { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .weeby-client .app-top-actions { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .weeby-client .workspace-search > :is(.icon,svg) { left: auto; right: 12px; }
html[dir="rtl"] .weeby-client .workspace-search input { padding-left: 12px; padding-right: 38px; }
html[dir="rtl"] .weeby-client .account-button { text-align: right; padding-left: 0; padding-right: 4px; }
html[dir="rtl"] .weeby-client .weeby-popup { left: 0; right: auto; text-align: right; }
html[dir="rtl"] .weeby-theme .weeby-extension-menu .dropdown-toggle::after { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .weeby-theme .weeby-context-tools > summary .icon { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .weeby-theme :is(.text-left,.text-sm-left,.table th,.table td,.card-header,.panel-heading,.list-group-item,.dropdown-menu) { text-align: right; }
html[dir="rtl"] .weeby-theme .text-right { text-align: left !important; }
html[dir="rtl"] .weeby-theme :is(.float-right,.pull-right) { float: left !important; }
html[dir="rtl"] .weeby-theme :is(.float-left,.pull-left) { float: right !important; }
html[dir="rtl"] .weeby-theme :is(.mr-auto,.ml-auto) { margin-left: 0 !important; margin-right: 0 !important; }
html[dir="rtl"] .weeby-theme .mr-auto { margin-left: auto !important; }
html[dir="rtl"] .weeby-theme .ml-auto { margin-right: auto !important; }
html[dir="rtl"] .weeby-theme .mr-1 { margin-right: 0 !important; margin-left: .25rem !important; }
html[dir="rtl"] .weeby-theme .mr-2 { margin-right: 0 !important; margin-left: .5rem !important; }
html[dir="rtl"] .weeby-theme .mr-3 { margin-right: 0 !important; margin-left: 1rem !important; }
html[dir="rtl"] .weeby-theme .ml-1 { margin-left: 0 !important; margin-right: .25rem !important; }
html[dir="rtl"] .weeby-theme .ml-2 { margin-left: 0 !important; margin-right: .5rem !important; }
html[dir="rtl"] .weeby-theme .ml-3 { margin-left: 0 !important; margin-right: 1rem !important; }
html[dir="rtl"] .weeby-theme .custom-control { padding-left: 0; padding-right: 1.5rem; }
html[dir="rtl"] .weeby-theme .custom-control-label::before,
html[dir="rtl"] .weeby-theme .custom-control-label::after { left: auto; right: -1.5rem; }
html[dir="rtl"] .weeby-theme .form-check { padding-left: 0; padding-right: 1.25rem; }
html[dir="rtl"] .weeby-theme .form-check-input { margin-left: 0; margin-right: -1.25rem; }
html[dir="rtl"] .weeby-theme .checkbox-inline,
html[dir="rtl"] .weeby-theme .radio-inline { padding-left: 0; padding-right: 20px; }
html[dir="rtl"] .weeby-theme .checkbox-inline input,
html[dir="rtl"] .weeby-theme .radio-inline input { margin-left: 0; margin-right: -20px; }
html[dir="rtl"] .weeby-theme :is(.input-group-prepend,.input-group-append) .input-group-text { border-radius: 0; }
html[dir="rtl"] .weeby-theme .input-group > :first-child { border-radius: 0 var(--weeby-radius,8px) var(--weeby-radius,8px) 0; }
html[dir="rtl"] .weeby-theme .input-group > :last-child { border-radius: var(--weeby-radius,8px) 0 0 var(--weeby-radius,8px); }
html[dir="rtl"] .weeby-theme .input-group > .input-group-append { margin-left: 0; margin-right: -1px; }
html[dir="rtl"] #order-standard_cart .prepend-icon .field { padding-right: 40px; padding-left: 12px; }
html[dir="rtl"] #order-standard_cart .prepend-icon .field-icon { left: auto; right: 0; }
html[dir="rtl"] #order-standard_cart .prepend-icon .field-icon i { color: var(--action); }
html[dir="rtl"] #order-standard_cart .intl-tel-input,
html[dir="rtl"] #order-standard_cart .iti { direction: ltr; text-align: left; }
html[dir="rtl"] #order-standard_cart .intl-tel-input input,
html[dir="rtl"] #order-standard_cart .iti input { padding-left: 112px !important; padding-right: 12px !important; }
html[dir="rtl"] #order-standard_cart .intl-tel-input .country-list,
html[dir="rtl"] #order-standard_cart .iti__country-list { direction: ltr; text-align: left; }
html[dir="rtl"] #order-standard_cart .view-cart-items .item-price,
html[dir="rtl"] #order-standard_cart .view-cart-items .item-title { float: none; }
html[dir="rtl"] #order-standard_cart .view-cart-items .item-price { text-align: left; }
html[dir="rtl"] #order-standard_cart .view-cart-items .item .item-price .remove-item { margin-left: 0; margin-right: 12px; }
html[dir="rtl"] .weeby-checkout-back svg,
html[dir="rtl"] .weeby-theme :is([data-lucide="arrow-right"],[data-lucide="arrow-left"],[data-lucide="chevron-right"],[data-lucide="chevron-left"],.attention-chevron),
html[dir="rtl"] .weeby-checkout-progress .step-connector { transform: scaleX(-1); }
html[dir="rtl"] .weeby-theme .dropdown-toggle::after,
html[dir="rtl"] .weeby-theme .breadcrumb-item + .breadcrumb-item::before { margin-left: .5em; margin-right: 0; }
html[dir="rtl"] .weeby-theme .modal-header .close { margin-left: -1rem; margin-right: auto; }
html[dir="rtl"] .weeby-theme .mega-menu,
html[dir="rtl"] .weeby-theme .resources-menu { left: auto; right: 0; text-align: right; }
html[dir="rtl"] .weeby-theme :is(.footer-column,.mega-group-title,.mega-service,.resource-menu-link,.service-tile,.feature-card,.service-detail-card) { text-align: right; }
html[dir="rtl"] .weeby-theme :is(.brand,.weeby-checkout-brand) { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .weeby-theme .pagination { padding-right: 0; }
html[dir="rtl"] .weeby-theme .pagination .page-item:first-child .page-link { border-radius: 0 .25rem .25rem 0; }
html[dir="rtl"] .weeby-theme .pagination .page-item:last-child .page-link { border-radius: .25rem 0 0 .25rem; }
html[dir="rtl"] .weeby-document :is(.text-right,.pull-right) { text-align: left !important; }
html[dir="rtl"] .weeby-document .pull-right { float: left !important; }
html[dir="rtl"] .weeby-document .pull-left { float: right !important; }
html[dir="rtl"] .weeby-document :is(th,td,.dropdown-menu,.text-left) { text-align: right; }
html[dir="rtl"] .weeby-document :is(input[type="email"],input[type="url"],input[type="tel"],.invoice-col address,.invoice-container .table-responsive .text-right) { direction: ltr; unicode-bidi: isolate; }
@media (min-width:992px) and (max-width:1199px) {
 html[dir="rtl"] .weeby-client .app-body { margin-right: 220px; }
}
@media (max-width:991px) {
 html[dir="rtl"] .weeby-client .app-sidebar { transform: translateX(100%); }
 html[dir="rtl"] .weeby-client .app-body { margin-right: 0; }
 html[dir="rtl"] .weeby-account.weeby-sidebar-open .app-sidebar { transform: translateX(0); }
}
@media (max-width:767px) {
 html[dir="rtl"] .weeby-client .weeby-popup { left: -10px; right: auto; max-width: calc(100vw - 24px); }
 html[dir="rtl"] #order-standard_cart .view-cart-items .item-price { text-align: right; }
}
@media (prefers-reduced-motion:reduce) {
 html[dir="rtl"] .weeby-client .app-sidebar { transition: none; }
}
/* The public header keeps its navigation control visible at narrow Arabic widths. */
@media (max-width:575px) {
 html[dir="rtl"] .weeby-public .site-nav .nav-inner { gap: 10px; min-width: 0; }
 html[dir="rtl"] .weeby-public .site-nav .nav-actions { margin-left: 0; margin-right: auto; gap: 10px; min-width: 0; }
 html[dir="rtl"] .weeby-public .site-nav .nav-actions > .btn { display: none; }
 html[dir="rtl"] .weeby-public .site-nav .nav-toggle { flex: 0 0 36px; width: 36px; padding: 7px; }
 html[dir="rtl"] .weeby-public .site-nav .brand { min-width: 0; max-width: calc(100% - 90px); }
 html[dir="rtl"] .weeby-public .site-nav .brand > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
 html[dir="rtl"] .weeby-public .site-nav .weeby-native-menus { flex: none; }
 html[dir="rtl"] .weeby-public .site-nav .weeby-native-menus .weeby-popup { position: fixed; top: 72px; left: 12px; right: 12px; width: auto; max-width: none; max-height: calc(100dvh - 88px); overflow: auto; overscroll-behavior: contain; }
}
