.creator-lms-page {

    .creator-lms-course-assignment {
        .creator-lms-assignment-accordion {
            padding: 0 24px;
            border-radius: 14px;
            background-color: #FFF;
            box-shadow: 0px 1px 2px 0px #DBDDE1;
        }

        .creator-lms-accordion-item {
            border-radius: 0;
            border: none;
            border-bottom: 1px solid #EBECED;
            margin-bottom: 0;
            position: relative;

            &:last-child {
                border-bottom: 0;
            }

            &::before {
                content: "";
                position: absolute;
                left: -24px;
                top: 0;
                width: calc(100% + 48px);
                height: 100%;
                background-color: #FCFCFC;
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
            }

            &.active {
                background-color: transparent;
                box-shadow: none;
                border-bottom-color: #E4E8ED;

                &:before {
                    opacity: 1;
                    visibility: visible;
                }

                &:first-child:before {
                    border-top-left-radius: 14px;
                    border-top-right-radius: 14px;
                }
                &:last-child:before {
                    border-bottom-left-radius: 14px;
                    border-bottom-right-radius: 14px;
                }

                .creator-lms-accordion-head {
                    .arrow-icon {
                        transform: rotate(180deg);
                    }
                }
            }
        }

        .creator-lms-accordion-head {
            padding: 16px 0;
            position: relative;
            z-index: 1;
            display: flex;
            flex-flow: row wrap;
            align-items: center;
            justify-content: space-between;
            gap: 10px;

            .score {
                color: var(--creator-lms-heading-color);
                font-size: 14px;
                font-weight: 500;
                line-height: 1.3;
                width: 100px;
            }

            .status {
                border-radius: 100px;
                display: inline-block;
                font-size: 13px;
                font-weight: 500;
                line-height: 1;
                padding: 7px 10px;
                background-color: #efefef;
                width: 83px;
                text-align: center;

                &.approved {
                    background: rgba(25, 170, 50, 0.2);
                    color: #19AA32;
                }

                &.pending {
                    background: rgba(255, 129, 26, 0.2);
                    color: #FF811A;
                }
            }

            .arrow-icon {
                transition: all 0.3s ease;

                svg {
                    display: block;
                }
            }

        }

        .creator-lms-accordion-title {
            color: var(--creator-lms-heading-color);
            font-size: 14px;
            font-weight: 500;
            line-height: 1.5;
            width: 45%;
            max-width: 250px;
            padding-right: 0;
        }

        .creator-lms-accordion-body {
            position: relative;
            z-index: 1;
            padding: 0;
        }

        .creator-lms-table {
            border-radius: 0;
            background-color: transparent;
            box-shadow: none;

            .creator-lms-tr {
                border-bottom-color: #E4E8ED;
                &:first-child {
                    border-top: 1px solid #E4E8ED;
                }

                .creator-lms-td {
                    &:first-child {
                        padding-left: 20px;
                    }
                    &.status > span {
                        text-transform: capitalize;
                    }
                    &.status > span.approved {
                        background: rgba(25, 170, 50, 0.2);
                        color: #19AA32;
                    }
                    &.action {
                        padding-right: 0;
                        width: 30px;
                    }
                }
            }
        }

        .creator-lms-table-pagination {
            padding: 20px 0;
        }

    }

}

@media screen and (max-width: 1199px) {
    .creator-lms-page .creator-lms-course-assignment .creator-lms-table .creator-lms-tr .creator-lms-td-handle + .creator-lms-td {
        font-size: 13px;
    }
    .creator-lms-page .creator-lms-course-assignment .creator-lms-accordion-title {
        font-size: 13px;
    }
    .creator-lms-page .creator-lms-course-assignment .creator-lms-accordion-head .score {
        font-size: 13px;
    }
    .creator-lms-page .creator-lms-course-assignment .creator-lms-accordion-head .status {
        font-size: 12px;
    }

}

@media screen and (max-width: 767px) {
    .creator-lms-page .creator-lms-course-assignment .creator-lms-table .creator-lms-tr .creator-lms-td-handle {
        top: 13px;
    }

    .creator-lms-page .creator-lms-course-assignment .creator-lms-table .creator-lms-mobile-td .status:before, 
    .creator-lms-page .creator-lms-course-assignment .creator-lms-table .creator-lms-mobile-td .submission-date:before {
        width: 86px;
    }

    .creator-lms-page .creator-lms-course-assignment .creator-lms-table .creator-lms-tr .creator-lms-td:first-child {
        padding-left: 16px;
        padding-right: 0;
    }
    .creator-lms-page .creator-lms-course-assignment .creator-lms-table .creator-lms-tr .creator-lms-td.status {
        padding-right: 0;
    }
}

@media screen and (max-width: 575px) {
    .creator-lms-page .creator-lms-course-assignment .creator-lms-assignment-accordion {
        padding: 0 16px;
        border-radius: 10px;
    }
    .creator-lms-page .creator-lms-course-assignment .creator-lms-accordion-head {
        justify-content: flex-start;
        gap: 5px;
        padding-right: 35px;
    }
    .creator-lms-page .creator-lms-course-assignment .creator-lms-accordion-title {
        width: 100%;
        max-width: 100%;
    }
    .creator-lms-page .creator-lms-course-assignment .creator-lms-accordion-head .status {
        font-size: 10px;
        padding: 6px 8px;
        width: 67px;
    }
    .creator-lms-page .creator-lms-course-assignment .creator-lms-accordion-head .score {
        width: 90px;
    }
    .creator-lms-page .creator-lms-course-assignment .creator-lms-accordion-head .arrow-icon {
        position: absolute;
        top: 24px;
        right: 10px;
    }

    .creator-lms-page .creator-lms-course-assignment .creator-lms-table-pagination {
        padding: 16px 0;
    }

}
