/* Alalaas public + customer-panel language control. Scoped to avoid changing old components. */
.al-i18n-control {position:relative;display:inline-flex;align-items:center;z-index:4150;font-family:inherit;direction:ltr;flex:0 0 auto}
.al-i18n-control *, .al-i18n-control *::before, .al-i18n-control *::after{box-sizing:border-box}
.al-i18n-trigger{border:1px solid rgba(255,255,255,.38);background:rgba(255,255,255,.10);color:inherit;min-height:32px;border-radius:8px;padding:5px 10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;box-shadow:none}
.al-i18n-trigger:hover,.al-i18n-trigger:focus-visible{outline:none;background:rgba(255,255,255,.18)}
.al-i18n-icon{font-size:16px;line-height:1}.al-i18n-caret{font-size:11px;opacity:.8}
.al-i18n-menu{position:absolute;top:calc(100% + 9px);right:0;width:168px;max-width:calc(100vw - 30px);border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(17,24,39,.20);border:1px solid #e5e7eb;padding:6px;display:none;z-index:5001;direction:ltr}
.al-i18n-control.is-open .al-i18n-menu{display:block}
.al-i18n-option{width:100%;border:0;background:#fff;color:#182235;border-radius:8px;display:flex;justify-content:space-between;align-items:center;padding:11px 12px;font:inherit;font-size:13px;cursor:pointer;text-align:left}
.al-i18n-option:hover{background:#fff1f2;color:#c31f26}
.al-i18n-option[aria-selected=true]{background:#fff1f2;color:#b91c25;font-weight:800}
.al-i18n-option .al-i18n-check{visibility:hidden}.al-i18n-option[aria-selected=true] .al-i18n-check{visibility:visible}
.al-i18n-panel-slot{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:7px}
.al-i18n-panel-slot .al-i18n-trigger{background:#fff;border-color:#d7dfe8;color:#263348;min-height:36px}
.al-i18n-panel-slot .al-i18n-trigger:hover{background:#fff3f4;color:#bd202a}
.al-i18n-panel-slot.al-i18n-floating{position:fixed;right:18px;bottom:18px;top:auto;z-index:1200;box-shadow:0 4px 16px #0002;border-radius:10px}
.al-i18n-panel-slot.al-i18n-floating .al-i18n-menu{top:auto;bottom:calc(100% + 8px)}
html[dir="rtl"] body{direction:rtl}
html[dir="rtl"] .al-i18n-control{direction:ltr}
/* Keep values, currency and phone numbers legible in both scripts. */
html[dir="rtl"] input[type="tel"],html[dir="rtl"] input[type="number"],html[dir="rtl"] input[type="email"],html[dir="rtl"] .wallet-stat-value,html[dir="rtl"] .wallet-amount-credit,html[dir="rtl"] .wallet-amount-debit{direction:ltr;unicode-bidi:isolate;text-align:left}
html[dir="rtl"] .customer-sidebar{left:auto!important;right:0!important;direction:rtl}
html[dir="rtl"] .customer-panel-wrapper{padding-left:0!important;padding-right:260px!important}
html[dir="rtl"] .customer-header{left:0!important;right:260px!important;direction:rtl}
html[dir="rtl"] .customer-content,html[dir="rtl"] .customer-sidebar-menu-area{direction:rtl}
html[dir="rtl"] .customer-wallet-page{padding-left:28px!important;padding-right:284px!important}
html[dir="rtl"] .customer-wallet-page .customer-topbar{direction:rtl}
html[dir="rtl"] .customer-wallet-page .wallet-table th,html[dir="rtl"] .customer-wallet-page .wallet-table td{text-align:right}
html[dir="rtl"] .customer-sidebar .menu-label,html[dir="rtl"] .customer-sidebar .logout-label{text-align:right}
html[dir="rtl"] .al-i18n-menu{text-align:left}
/* No RTL mirroring of brand logos, imagery, icons, or the payment gateway logos. */
@media(max-width:991px){
 html[dir="rtl"] .customer-panel-wrapper{padding-right:0!important}
 html[dir="rtl"] .customer-header{right:0!important}
 html[dir="rtl"] .customer-wallet-page{padding-right:16px!important;padding-left:16px!important}
 .al-i18n-control .al-i18n-trigger{min-height:35px}
}
@media(max-width:640px){.al-i18n-trigger{font-size:11px;padding:5px 7px}.al-i18n-menu{right:0}.al-i18n-panel-slot.al-i18n-floating{bottom:72px;right:14px}}
