.constructorHead{
    background-color: #F7F8FC;
    padding: 40px;
    display: flex;
    border-radius: 20px;
    margin-bottom: 20px;
}

.photoChnageButton{
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    background: url('../../../assets/icons/photoChnageButton.svg') no-repeat center center;
    width: 36px;
    height: 36px;
}

.leftSide{
    width: 460px;
    height: 100%;
    background-color: #F7F8FC;
    border-radius: 20px;
    margin-right: 20px;
    padding: 32px;
    flex-shrink: 0;
}

.contentSection{
    width: 100%;
}

.leftSideTitle{
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #232323;
    margin-bottom: 20px;
}

.asideActionsSection{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.searchArea{
    position: relative;
    margin-right: 20px;
    width: 100%;
}

.searchArea input{
    width: 100%;
    border-radius: 6px;
    padding: 8px 20px;
    height: 40px;
    background: #fff;
    border: none;
}

.searchArea button{
    width: 42px;
    height: 42px;
    background: url('../../../assets/icons/icon-search.svg') no-repeat center center;
    border: none;
    position: absolute;
    right: 0;
    top: 0;
}

.constructorPublishButton{
    border-radius: 4px;
    width: 42px;
    height: 42px;
    background: #FFF url('../../../assets/icons/icon-publish.svg') no-repeat center center;
    border: none;
    flex-shrink: 0;
    margin-right: 8px;
}

.constructorSaveButton{
    border-radius: 4px;
    width: 42px;
    height: 42px;
    background: #efffdf url('../../../assets/icons/icon-save-green.svg') no-repeat center center;
    border: none;
    flex-shrink: 0;
}

.contentSectionHeader{
    display: flex;
    border-radius: 20px;
    padding: 40px;
    background: #f7f8fc;
    align-items: center;
    margin-bottom: 20px;
}

.editorSection{
    border-radius: 20px;
    padding: 40px;
    background: #f7f8fc;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.editorAddButtonWrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}

.editorAddButton {
    width: 36px;
    height: 36px;
    background: url('../../../assets/icons/constructor-add-button.svg') no-repeat center center;
    margin-left: -55px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.editorAddButton.rotated {
    transform: rotate(45deg);
}

.contentSectionType{
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #9aa1aa;
    margin-bottom: 8px;
}

.contentSectionName{
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #232323;
}

.contentSectionActions{
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.contentSectionActions button{
    flex-shrink: 0;
    margin-left: 10px;
}

.contentSectionSettingsButton{
    border-radius: 4px;
    width: 48px;
    height: 48px;
    background: #fff url('../../../assets/icons/icon-settings.svg') no-repeat center center;
    border: none;
}

.contentSectionDeleteButton{
    border-radius: 4px;
    width: 48px;
    height: 48px;
    background: #fdf0ed url('../../../assets/icons/icon-trash-red.svg') no-repeat center center;
    border: none;
}

.textEditorContainer {
    width: 100%;
    margin-bottom: 16px;
}

.textEditorContent {
    width: 100%;
    cursor: pointer;
}

.textEditorContent h1 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #232323;
}

.textEditorContent h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #232323;
}

.textEditorContent h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #232323;
}

.textEditorContent p {
    margin-bottom: 16px;
    line-height: 1.5;
    color: #232323;
}

.textEditorContent strong,
.textEditorContent b {
    font-weight: 600;
}

.textEditorContent em,
.textEditorContent i {
    font-style: italic;
}

.textEditorContent u {
    text-decoration: underline;
}

.textEditorContent s,
.textEditorContent del {
    text-decoration: line-through;
}

.textEditorContent ul {
    list-style-type: disc;
    margin: 16px 0;
    padding-left: 24px;
}

.textEditorContent ol {
    list-style-type: decimal;
    margin: 16px 0;
    padding-left: 24px;
}

.textEditorContent li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.textEditorContent li::marker {
    color: #232323;
}

.textEditorContent table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
}

.textEditorContent table td,
.textEditorContent table th {
    border: 1px solid #e2e8f0;
    padding: 8px;
}

.textEditorActions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.textBlock {
    margin-bottom: 20px;
}

.textBlock:last-child {
    margin-bottom: 0;
}

.constructorPage {
    padding: 20px;
    padding-top: 0;
}

.constructorFooter{
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.constructorLessonTypeButton{
    border-radius: 4px;
    width: 100%;
    height: 48px;
    background: #fff;
    border: none;
    width: 110px;
    height: 110px;
    cursor: pointer;
    background: #f7f8fc;
    border-radius: 4px;
    border: 2px solid #f7f8fc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #afb2b7;
    transition: all 0.3s ease;
    &:nth-child(1)::before{
        content: '';
        width: 34px;
        height: 34px;
        display: block;
        background: url('@assets/icons/icon-lesson-type-lesson.svg') no-repeat center center;
    }
    &:nth-child(2)::before{
        content: '';
        width: 34px;
        height: 34px;
        display: block;
        background: url('@assets/icons/icon-lesson-type-test.svg') no-repeat center center;
    }
    &:hover{
        border-color: #d4f8ad;
        color: #91CF4F;
        transition: all 0.3s ease;
    }
    &:nth-child(1):hover::before{
        background-image: url('@assets/icons/icon-lesson-type-lesson-active.svg');
    }
    &:nth-child(2):hover::before{
        background-image: url('@assets/icons/icon-lesson-type-test-active.svg');
    }
    &.active{
        color: #91CF4F;
        border-color: #91CF4F;
    }
    &.active:nth-child(1)::before{
        background-image: url('@assets/icons/icon-lesson-type-lesson-active.svg');
    }
    &.active:nth-child(2)::before{
        background-image: url('@assets/icons/icon-lesson-type-test-active.svg');
    }
}