/* Text-only RTL for fa/ar — page layout stays LTR */
html.text-rtl .form-header,
html.text-rtl .form-title,
html.text-rtl .form-subtitle,
html.text-rtl .form-greeting,
html.text-rtl .input-label,
html.text-rtl .remember-toggle span,
html.text-rtl .forgot-link,
html.text-rtl .showcase-headline,
html.text-rtl .showcase-subtitle,
html.text-rtl .showcase-feature-text,
html.text-rtl .showcase-brand-tag,
html.text-rtl .email-delivery-notice__title,
html.text-rtl .email-delivery-notice__text,
html.text-rtl .terms-group label,
html.text-rtl .modal-content,
html.text-rtl .modal-content p,
html.text-rtl .modal-content ol,
html.text-rtl .modal-content h2,
html.text-rtl .stat-block-label {
  direction: rtl;
  text-align: right;
}

html.text-rtl .form-greeting {
  justify-content: flex-end;
}

html.text-rtl .login-cta,
html.text-rtl .register-cta,
html.text-rtl #resend-container,
html.text-rtl #message {
  direction: rtl;
  text-align: center;
}

html.text-rtl .input-field {
  direction: rtl;
  text-align: right;
}

html.text-rtl .input-wrapper i.field-icon {
  left: auto;
  right: 14px;
}

html.text-rtl .input-wrapper .toggle-password {
  right: auto;
  left: 14px;
}

html.text-rtl .input-field {
  padding-left: 14px;
  padding-right: 42px;
}

html.text-rtl .input-field.has-toggle {
  padding-left: 42px;
  padding-right: 42px;
}

html.text-rtl .login-btn,
html.text-rtl .register-btn {
  direction: rtl;
}

html.text-rtl .terms-group {
  direction: rtl;
}

html.text-rtl .email-delivery-notice {
  direction: rtl;
}

html.text-rtl .email-delivery-notice.is-visible {
  flex-direction: row-reverse;
}
