<?php
// Prevent Direct Access
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>

<?php

// If current user can "read" means it can see the admin panel and top bar so we should add admin styles
if( current_user_can('read') ){
?>

<style>

body.rtl #wpadminbar * {
	font-family: "admin-primary-font", "segoe ui", "tahoma";
}

body #wp-admin-bar-elementor_edit_page {
	white-space: nowrap;
}

body.rtl .elementor-add-section-drag-title,
body.rtl .elementor-select-preset-title {
	font-family: "admin-primary-font", "segoe ui", "tahoma";
	font-style: normal;
}

</style>

<?php } ?>
