.lp_profile_course_progress thead th.sortable-header {
    position: relative;
    padding-right: 1.5em;
    cursor: pointer;
    white-space: nowrap;
}

.lp_profile_course_progress thead th.sortable-header::after {
    content: '\2195'; 
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
    line-height: 1;
    opacity: 0.3; 
    color: #555;
    transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;
}

.lp_profile_course_progress thead th.sortable-header.sort-asc::after {
    content: '\25B2'; 
    opacity: 1;
    color: #000; 
}

.lp_profile_course_progress thead th.sortable-header.sort-desc::after {
    content: '\25BC'; 
    opacity: 1;
    color: #000; 
}

.lp_profile_course_progress thead th.sortable-header:not(.sort-asc):not(.sort-desc):hover::after {
    opacity: 0.6;
}


@media screen and (max-width: 768px) {
    .learnpress-profile table.lp-list-table {
        display: block;
        width: 100%;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}


