/* EMYDPRO language direction support. Keeps existing layout, only adapts text flow for HE/AR. */
html[dir="rtl"] body{direction:rtl}
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="password"],
html[dir="rtl"] input[type="number"],
html[dir="rtl"] input[type="date"],
html[dir="rtl"] input[type="time"],
html[dir="rtl"] .auth-code-input,
html[dir="rtl"] .profile-code-input{direction:ltr;text-align:left}
html[dir="rtl"] input[type="text"],
html[dir="rtl"] textarea{direction:rtl;text-align:right}
html[dir="rtl"] .landing-language select,
html[dir="rtl"] #editLanguage{direction:rtl}
html[dir="rtl"] .d-table,
html[dir="rtl"] .table-wrap{direction:rtl}
html[dir="rtl"] .d-table td,
html[dir="rtl"] .d-table th{text-align:right}
html[dir="rtl"] .notification-item-head,
html[dir="rtl"] .notification-message-meta{direction:rtl}
html[dir="rtl"] .notification-message-body{direction:rtl;text-align:right}
html[dir="rtl"] .profile-code-input{direction:ltr;text-align:center}


/* Dashboard HE/AR: keep the approved physical layout and scrollbar position.
   Only text flow/alignment becomes RTL; grids, sidebar and page geometry stay unchanged. */
body.emydpro-fixed-ltr{direction:ltr}
body.emydpro-fixed-ltr.emydpro-rtl input[type="text"],
body.emydpro-fixed-ltr.emydpro-rtl textarea,
body.emydpro-fixed-ltr.emydpro-rtl select{direction:rtl;text-align:right}
body.emydpro-fixed-ltr.emydpro-rtl input[type="email"],
body.emydpro-fixed-ltr.emydpro-rtl input[type="password"],
body.emydpro-fixed-ltr.emydpro-rtl input[type="number"],
body.emydpro-fixed-ltr.emydpro-rtl input[type="date"],
body.emydpro-fixed-ltr.emydpro-rtl input[type="time"]{direction:ltr;text-align:left}
body.emydpro-fixed-ltr.emydpro-rtl :is(h1,h2,h3,h4,p,label,.muted,.title,.d-card-title,.profile-card-title,.profile-section-heading,.note,.tag,.mainbadge,.notification-message-body,.notification-message-meta){direction:rtl;text-align:right}
body.emydpro-fixed-ltr.emydpro-rtl .navbtn,
body.emydpro-fixed-ltr.emydpro-rtl .mobile-drawer-link{direction:rtl;text-align:right}
body.emydpro-fixed-ltr.emydpro-rtl .notification-message-body,
body.emydpro-fixed-ltr.emydpro-rtl .notification-message-meta{direction:rtl;text-align:right}


/* V87 — Landing HE/AR: preserve the approved physical composition.
   Logo stays left, language/login controls stay right, hero copy stays in the left content zone.
   Only text flow changes to RTL. */
body.emydpro-fixed-ltr.emydpro-rtl .landing-head,
body.emydpro-fixed-ltr.emydpro-rtl .landing-head-actions,
body.emydpro-fixed-ltr.emydpro-rtl .landing-language,
body.emydpro-fixed-ltr.emydpro-rtl .landing-actions,
body.emydpro-fixed-ltr.emydpro-rtl .landing-features-main,
body.emydpro-fixed-ltr.emydpro-rtl .landing-benefits{direction:ltr}
body.emydpro-fixed-ltr.emydpro-rtl .landing-hero-copy,
body.emydpro-fixed-ltr.emydpro-rtl .landing-eyebrow,
body.emydpro-fixed-ltr.emydpro-rtl .landing-hero-copy h1,
body.emydpro-fixed-ltr.emydpro-rtl .landing-hero-copy p,
body.emydpro-fixed-ltr.emydpro-rtl .landing-feature-main,
body.emydpro-fixed-ltr.emydpro-rtl .landing-benefit,
body.emydpro-fixed-ltr.emydpro-rtl .landing-actions button,
body.emydpro-fixed-ltr.emydpro-rtl .landing-login-top,
body.emydpro-fixed-ltr.emydpro-rtl .language-current{direction:rtl}
@media (min-width:1024px){
  body.emydpro-fixed-ltr.emydpro-rtl .landing-hero-copy{align-items:flex-start}
  body.emydpro-fixed-ltr.emydpro-rtl .landing-hero-copy :is(h1,p,.landing-eyebrow){text-align:right}
}
@media (max-width:1023px){
  body.emydpro-fixed-ltr.emydpro-rtl .landing-hero-copy :is(h1,p,.landing-eyebrow){text-align:center}
}
