.header--dashboard {
    .header__site-link {
        i {
            margin-left: 0;
            margin-right: 1em;

            &:before {
                content: '\e8fd';
            }
        }
    }
}

.ps-block--stat {
    .ps-block__content {
        padding-left: 0;
        padding-right: 28px;
    }
}

.menu {
    > li {
        > a {
            i {
                margin-right: 0;
                margin-left: 12px !important; // Match the LTR spacing
            }

            &:after {
                right: auto;
                left: 0;
            }
        }

        // RTL support for 2-level menu
        &.has-children > a {
            padding-right: 0;
            padding-left: 15px; // RTL padding for menu arrow

            .menu-arrow {
                margin-left: 0;
                margin-right: 10px; // RTL gap between text and arrow
            }

            &.submenu-toggle {
                .menu-arrow {
                    margin-left: 0;
                    margin-right: 10px;
                }
            }
        }
    }
}

.menu-submenu {
    padding-left: 0;
    padding-right: 20px;
    border-left: none;
    border-right: 2px solid #f0f0f0;
    margin-left: 0;
    margin-right: 15px;

    li a {
        i {
            margin-right: 0;
            margin-left: 12px; // Match the consistent spacing
        }

        &:hover,
        &.active {
            padding-left: 0;
            padding-right: 10px;
        }
    }
}

.ps-block--user-wellcome {
    .ps-block__right {
        padding-left: 0;
        padding-right: 10px;
    }
}

.ps-block__action {
    i {
        &:before {
            content: '\e8fd';
        }
    }
}

.ps-sidebar {
    .ps-sidebar__top {
        padding-right: 0;
        padding-left: 30px;
    }
}

@media screen and (min-width: 1680px) {
    .ps-dashboard {
        .ps-section__right {
            padding-left: 0;
            padding-right: 80px;
        }

        .ps-section__left {
            padding-right: 0;
            padding-left: 75px;
        }
    }

    .ps-sidebar {
        .ps-sidebar__top {
            padding-right: 0;
            padding-left: 60px;
        }
    }
}

@media screen and (min-width: 1200px) {
    .ps-dashboard {
        .ps-section__left {
            padding-right: 0;
            padding-left: 30px;
        }

        .ps-section__right {
            padding-left: 0;
            padding-right: 30px;
            border-left: none;
            border-right: 1px solid #e6e6e6;
        }
    }

    .ps-main {
        .ps-main__sidebar {
            padding: 60px 60px 60px 0;
        }
    }
}
