.course-category-filter-list {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 2px;
    margin-top: 6px;
}

.course-category-filter-list::-webkit-scrollbar {
    width: 6px;
}

.course-category-filter-list::-webkit-scrollbar-thumb {
    background: #c5cdd6;
    border-radius: 8px;
}

.course-category-filter-row {
    padding: 10px 8px;
    margin-top: 6px;
    border-radius: 8px;
    transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.course-category-filter-row label {
    max-width: calc(100% - 36px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}

.course-category-filter-row:hover {
    background: rgba(23, 19, 71, 0.04);
}

.course-category-filter-row.is-active {
    background: rgba(43, 150, 107, 0.08);
}

.course-category-filter-all {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
    font-weight: 700;
    box-shadow: 0 1px 0 #eef0f3;
}

.course-category-filter-all:hover,
.course-category-filter-all.is-active {
    background: #fff;
}

.course-category-filter-all.is-active {
    background: rgba(43, 150, 107, 0.08);
}

.course-category-filter-child {
    position: relative;
    padding-left: 22px;
}

.course-category-filter-child:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-radius: 2px;
    background: #e5e7eb;
}

.course-category-filter-child label {
    color: #6b7280;
}

.course-category-active-bar {
    gap: 8px;
}

.course-category-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(43, 150, 107, 0.1);
    color: #1f6b4d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.course-category-clear {
    color: #1f6b4d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
}

.course-category-clear:hover {
    color: #155a40;
}

.course-category-empty {
    background: #fff;
    box-shadow: 0 12px 23px 0 rgba(62, 73, 84, 0.04);
}

.rtl .course-category-filter-list {
    padding-right: 0;
    padding-left: 2px;
}

.rtl .course-category-filter-child {
    padding-left: 8px;
    padding-right: 22px;
}

.rtl .course-category-filter-child:before {
    left: auto;
    right: 10px;
}
