.listRow{
    display: flex;
}

.listWelcome{
    width: 50%;
    padding-right: 30px;
    flex-shrink: 0;
}

.listUserName{
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
}

.listUserHello{
    max-width: 520px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.2em;
}

.keepLearningWrapper{
    width: 50%;
    flex-shrink: 0;
}

.keepLearningSlider{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 200px;
}

.keepLearningRow{
    display: flex;
    width: 100%;
    transition: transform 300ms ease;
}

.keepLearningRowAnimating.slide-left{
    transform: translateX(-100%);
}

.keepLearningRowAnimating.slide-right{
    transform: translateX(100%);
}

.keepLearningRowNext{
    z-index: 1;
}

.keepLearningRowNext.slide-left{
    transform: translateX(100%);
    animation: slideInLeft 300ms ease forwards;
}

.keepLearningRowNext.slide-right{
    transform: translateX(-100%);
    animation: slideInRight 300ms ease forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.keepLearningCaption{
    margin-bottom: 16px;
    font-weight: 400;
    font-size: 16px;
    color: #afb2b7;
}

.keepLearningItem{
    flex-shrink: 0;
    width: calc(50% - 10px);
    margin-right: 20px;
    text-decoration: none;
}

.keepLearningItem:last-child{
    margin-right: 0;
}

.keepLearningItemImageWrapper{
    aspect-ratio: 290/160;
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.keepLearningItemImage{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 300ms ease;
}

.keepLearningItem:hover .keepLearningItemImage{
    transform: scale(1.1);
    transition: transform 300ms ease;
}

.keepLearningItemImageOverlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: background-color 300ms ease;
}

.keepLearningItem:hover .keepLearningItemImageOverlay{
    background: rgba(0,0,0,0.2);
    transition: background-color 300ms ease;
}

.keepLearningItemImageSection{
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    position: absolute;
    text-align: center;
    bottom: 20px;
    left: 0;
    padding: 0 20px;
    width: 100%;
    text-transform: uppercase;
}

.keepLearningItemSection{
    font-weight: 400;
    font-size: 14px;
    color: #b9bcc0;
    margin-bottom: 8px;
    line-height: 1.1em;
}

.keepLearningItemName{
    font-weight: 400;
    font-size: 16px;
    color: #232323;
}

.keepLearningDots{
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.keepLearningDot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #e1e5e9;
    cursor: pointer;
    transition: background-color 300ms ease;
    padding: 0;
}

.keepLearningDot:hover{
    background: #c1c5c9;
    transition: background-color 300ms ease;
}

.keepLearningDotActive{
    background: #232323;
}

.keepLearningDotActive:hover{
    background: #232323;
}

.courseGrid{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.courseGroup{
    margin-bottom: 32px;
}

.courseGroupName{
    font-weight: 400;
    font-size: 24px;
    color: #232323;
    margin-bottom: 20px;
}

.courseItem{
    background: #f7f8fc;
    border-radius: 8px;
    padding: 20px;
    width: calc(33% - 9px);
    color: #232323;
    text-decoration: none;
    transition: background-color 300ms ease;
    display: flex;
    flex-direction: column;
}

.courseItem:hover{
    background: #eeeff5;
    transition: background-color 300ms ease;
}

.courseItemImage{
    border-radius: 8px;
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-right: 16px;
}

.courseItemRow{
    display: flex;
    margin-bottom: 27px;
}

.courseItemRowNoMargin{
    margin-bottom: 0;
}

.courseItemNameStatus{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2em;
    padding: 4px 10px;
    margin-bottom: 8px;
}

.courseItemNameStatus.published{
    background: #efffdf;
    color: #91cf4f;
}

.courseItemNameStatus.unpublished{
    background: #fdf0ed;    
    color: #e93c3c;
}

.courseItemName{
    font-weight: 500;
    font-size: 18px;
    color: #232323;
    line-height: 1.2em;
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
}

.courseItemDeadline{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2em;
    color: #82879d;
    opacity: 0.5;
}
.courseItemInformation{
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.courseItemProgressWrapper{
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 8px;
}

.courseItemProgress{
    height: 8px;
    width: 100%;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
}

.courseItemProgress > div{
    height: 8px;
    background: #91cf4f;
    border-radius: 4px;
}

.courseItemProgressValue{
    font-weight: 500;
    font-size: 16px;
    color: #bcbfcc;
    text-align: right;
    width: 60px;
}


.courseItemComplete{
    font-weight: 400;
    font-size: 14px;
    color: rgba(122, 190, 50, 0.5);
    display: flex;
    align-items: center;
}

.courseItemComplete:before{
    content: '';
    width: 16px;
    height: 16px;
    margin-right: 4px;
    display: block;
    background: url("../../../assets/icons/icon_complete.png") no-repeat center;
}

.addCourseButton{
    width: calc(33% - 10px);
    min-height: 120px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #575757;
    transition: border-color 300ms ease;
}

.addCourseButton::before{
    content: '';
    width: 32px;
    height: 32px;
    display: block;
    background: url("../../../assets/icons/make-course.svg") no-repeat center;
    margin-right: 12px;
}

.addCourseButton:hover{
    border: 1px solid #656565;
    transition: border-color 300ms ease;
}


.addCourseButtonDisabled{
    opacity: 0.5;
    pointer-events: none;
}

.addCategoryButton{
    width: 100%; 
    background: #efffdf;
    border-radius: 4px;
    padding: 16px 0px;
    font-weight: 500;
    font-size: 18px;
    color: #91cf4f;
    text-align: center;
    text-decoration: none; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.addCategoryButton::before{
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    background: url("../../../assets/icons/addCategoryButton.svg") no-repeat center;
    margin-right: 12px;
}

.courseDetailNav{
    display: flex;
}

.backwardButton,
.nextButton,
.lessonsListButton,
.closeButton{
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #232323;
}

.backwardButton:before{
    width: 32px;
    height: 32px;
    content: '';
    display: block;
    background: url("../../../assets/icons/icon-backwaard.svg");
    margin-right: 12px;
}

.nextButton:before{
    width: 32px;
    height: 32px;
    content: '';
    display: block;
    background: url("../../../assets/icons/icon-backwaard.svg");
    margin-right: 12px;
    transform: rotate(180deg);
}

.lessonsListButton:before{
    width: 32px;
    height: 32px;
    content: '';
    display: block;
    background: url("../../../assets/icons/icon-lessons-list.svg");
    margin-right: 12px;
}

.closeButton:before{
    width: 32px;
    height: 32px;
    content: '';
    display: block;
    background: url("../../../assets/icons/icon-close.svg");
    margin-right: 12px;
}

.courseDetailCard{
    background: #F7F8FC;
    padding: 28px;
    border-radius: 20px;
    width: 439px;
    flex-shrink: 0;
}

.moduleList{
    display: block;
    width: 100%;
}

.lessonItem{
    display: block;
}

.lessonImageWrapper{
    position: relative;
    aspect-ratio: 278/164;
    max-width: 300px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #EDEFF7;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: background-color 300ms ease, background-size 300ms ease;
}

.lessonImageWrapper:hover{
    background-color: rgb(214, 217, 226);
    background-size: 110%;
    transition: background-color 400ms ease, background-size 400ms ease;
}

.lessonImageWrapper .completeIcon,
.lessonImageWrapper .processIcon{
    position: absolute;
    z-index: 10;
    top: 12px;
    left: 12px;
}

.lessonImage{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 300ms ease;
}

.lessonImageWrapper:hover .lessonImage{
    transform: scale(1.1);
    transition: transform 400ms ease;
}

.lessonName{
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #202020;
    margin-top: 16px;
}

.completeIcon{
    aspect-ratio: 1/1;
    max-width: 32px;
    width: 100%;
    display: block;
    background: url("../../../assets/icons/icon-complete.svg") no-repeat center;
}


.processIcon{
    aspect-ratio: 1/1;
    max-width: 32px;
    width: 100%;
    display: block;
    background: url("../../../assets/icons/icon-in-process.svg") no-repeat center;
}




.sortTopButton{
    width: 48px;
    height: 48px;
    background: url("../../../assets/icons/icon-top-arrow.svg") no-repeat center;
}

.sortBottomButton{
    width: 48px;
    height: 48px;
    background: url("../../../assets/icons/icon-bottom-arrow.svg") no-repeat center;
}

.removeButton{
    width: 48px;
    height: 48px;
    background: url("../../../assets/icons/icon-trash.svg") no-repeat center;
}

.searchArea {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.searchArea input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 14px;
    line-height: 20px;
    color: #374151;
}

.searchArea input:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.searchArea button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('../../../assets/icons/search.svg') no-repeat center;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.searchArea button:hover {
    opacity: 1;
}

.lessonContentWrapper {
    h1, h2, h3, h4, h5, h6 {
        font-weight: 600;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    a {
        color: #91CF4F !important;
        text-decoration: underline !important;
        transition: color 300ms ease;

        &:hover {
            color: #91CF4F !important;
            transition: color 300ms ease;
            text-decoration: none !important;
        }
    }

    ul, ol {
        margin-bottom: 1rem;
        padding-left: 1.5rem;
    }

    ul {
        list-style-type: disc;
    }

    ol {
        list-style-type: decimal;
    }

    li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 1rem;
    }

    th, td {
        border: 1px solid #e5e7eb;
        padding: 0.75rem;
        text-align: left;
    }

    th {
        background-color: #f9fafb;
        font-weight: 600;
    }

    tr:nth-child(even) {
        background-color: #f9fafb;
    }

    blockquote {
        border-left: 4px solid #e5e7eb;
        padding-left: 1rem;
        margin: 1rem 0;
        color: #4b5563;
    }

    code {
        background-color: #f3f4f6;
        padding: 0.2rem 0.4rem;
        border-radius: 0.25rem;
        font-family: monospace;
    }

    pre {
        background-color: #f3f4f6;
        padding: 1rem;
        border-radius: 0.5rem;
        overflow-x: auto;
        margin: 1rem 0;
    }

    img {
        max-width: 100%;
        height: auto;
        margin: 1rem 0;
        border-radius: 0.5rem;
    }

    strong {
        font-weight: 600;
    }

    em {
        font-style: italic;
    }

    u {
        text-decoration: underline;
    }

    s {
        text-decoration: line-through;
    }

    hr {
        border: 0;
        border-top: 1px solid #e5e7eb;
        margin: 1.5rem 0;
    }
}