.quizpress-tools-page-wrap {
    display: flex;
    .quizpress-tools-page {
        background: #FFFFFF;
        border: 1px solid var(--quizpress-border-color);
        border-radius: 8px;
        margin-right: 30px;
        flex-basis: 0;
        flex-grow: 1;
        flex-basis: 75%;
        &__loader {
            display: flex;
            justify-content: center;
            min-height: 450px;
        }

        .quizpress-tools-page-heading {
            padding: 2px 0;
            font-weight: 500;
            font-size: 21px;
            line-height: 27px;
        }

        &__lists {
            width: 100%;
            background: var(--quizpress-gray-color);
            border-bottom: 1px solid var(--quizpress-border-color);
            border-radius: 8px 8px 0px 0px;
            .quizpress-list-items {
                display: flex;
                justify-content: flex-start;
                align-items: center;
                margin: 0;
                a {
                    text-decoration: none;
                    color: #2C2C31;

                    &:focus {
                        box-shadow: none;
                    }
                }

                .quizpress-list-item {
                    padding: 15px 32px;
                    margin-bottom: 0;
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 130%;
                    cursor: pointer;
                    &:hover {
                        background: rgba(123, 104, 238, 0.05);
                    }

                    &:first-child {
                        border-top-left-radius: 8px;
                    }

                    .quizpress-icon {
                        font-size: 20px;
                        font-weight: 500;
                        padding: 4px 10px
                    }
                }

                .active {
                    border-bottom: 2px solid var(--quizpress-primary-color);
                    background: rgba(123, 104, 238, 0.05);
                    margin-bottom: -1px;
                }
            }
        }        
    }

    .quizpress-tools-page-cards {
        flex-basis: 0;
        flex-grow: 1;
        flex-basis: 25%;
        .quizpress-tools-card {
            background: #FFFFFF;
            border-radius: 8px;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            margin-bottom: 30px;

            &__icon {
                width: 70px;
                height: 70px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                background: rgba(123, 106, 237, 0.12);
                .quizpress-icon {
                    &--pages, &--support, &--community {
                        &::before {
                            color: var(--quizpress-primary-color);
                        }
                    }

                    &--pages, &--support {
                        font-size: 34px;
                    }

                    &--community {
                        font-size: 20px;
                    }
                }
            }

            &__title {
                font-weight: 500;
                font-size: 20px;
                color: #2C2525;
                margin: 6px 0 0 0;
                line-height: 27px;
            }

            &__description {
                margin: 10px 0;
                font-weight: 400;
                font-size: 14px;
                line-height: 180%;
                color: #707070;
            }

            &__link {
                font-weight: 500;
                font-size: 16px;
                line-height: 19px;
                color: var(--quizpress-primary-color);
                text-decoration: none;
                .quizpress-icon {
                    margin-left: 10px;
                    &--arrow-right {
                        &::before {
                            color: var(--quizpress-primary-color);
                        }
                    }
                }
            }
        }
    }
}

@media all and (max-width: 1440px) {
    .quizpress-status-items {
        &__item {
            width: calc(50% - 50px);
        }
    }

    .quizpress-tools-page-wrap .quizpress-tools-page__lists .quizpress-list-items .quizpress-list-item {
        padding: 15px 12px;
    }

    .quizpress-tools-page-wrap {
        .quizpress-tools-page {
            flex-basis: 80%;
        }

        .quizpress-tools-page-cards {
            flex-basis: 20%;
        }
    }
}

@media all and (max-width: 1280px) {
    .quizpress-tools-page-wrap {
        flex-direction: column;
        .quizpress-tools-page-cards {
            flex-direction: row;
            .quizpress-tools-card {
                width: 300px;
                height: auto;
                gap: 5px;
            }
        }

        .quizpress-tools-page {
            width: 100% !important;
        }
    }

    .quizpress-status-items {
        justify-content: space-between;
        &__item {
            width: calc(50% - 40px);
        }
    }
}

@media all and (max-width: 1024px) {
    .quizpress-tools-page-wrap {
        .quizpress-tools-page {
            &__lists {
                .quizpress-list-items {
                    .quizpress-list-item {
                        font-size: 14px;
                    }
                }
            }
        }
    }

    .quizpress-tools-page-cards {
        gap: 10px !important;
        .quizpress-tools-card {
            &__title {
                margin: 6px 0 6px 0 !important;
            }
        }
    }
}

@media all and (max-width: 480px) {
    .quizpress-status-items {
        flex-direction: column;
    }
}

// new styles
.quizpress-page-content--tools {
    display: flex;
    gap: 24px;
    &__content {
        width: 776px;
        background: #FFF;
        padding: 24px;
        box-shadow: 0px 0.5px 2px 0px rgba(16, 24, 40, 0.15);
        border-radius: 4px;
        .quizpress-tools-page-heading {
            font-size: 16px;
            margin-bottom: 24px;
            padding-bottom: 24px;
            border-bottom: 1px solid var(--quizpress-border-color);
        }

        .quizpress-list-wrap {
            margin: 24px 0;
            .rdt_Table {
                .rdt_TableHead {
                    .rdt_TableHeadRow {
                        padding: 10px 0px !important;
                        background: #F5F5F5;
                        min-height: 40px !important;
                    }
                }

                .rdt_TableBody {
                    .rdt_TableRow {
                        padding: 0;
                        min-height: 74px !important;
                        border-bottom: 1px solid var(--quizpress-border-color);
                    }
                }
            }
        }

        .quizpress-status-items {
            display: flex;
            flex-wrap: wrap;
            column-gap: 25px;
            &__item {
                margin-bottom: 10px;
                padding: 12px 12px;
                width: calc(50% - 40px);
                background: #F9FAFA;
                border: 1px solid var(--quizpress-border-color);
                border-radius: 8px;
                display: flex;
                justify-content: space-between;
                span.quizpress-wordpress-title {
                    font-weight: 400;
                    font-size: 14px;
                    color: #353A41;
                }

                span.quizpress-wordpress-data {
                    font-weight: 500;
                    font-size: 15px;
                    color: #353A41;
                    .quizpress-icon {
                        &--check {
                            &::before {
                                color: #4DD181;
                            }
                        }

                        &--close {
                            &::before {
                                color: #F4483F;
                            }
                        }
                    }
                }
            }

            .quizpress-statu-page-sub-header {
                font-weight: 500;
                font-size: 14px;
                line-height: 20px;
                margin: 30px 0;
                color: #6D6E70;
            }
        }

        .quizpress-tools-page {
            &__status {
                .quizpress-tools-tab {
                    margin-bottom: 16px;
                }

                .is-quizpress-active {
                    background: transparent;
                    color: var(--quizpress-primary-color);
                    font-weight: 500;
                    border: none;
                    padding: 0 0 8px 0;
                    cursor: default;
                    border-bottom: 1px solid var(--quizpress-primary-color);
                }
            
                .is-quizpress-default {
                    background: transparent;
                    border: none;
                    cursor: pointer;
                    position: relative;
                    &::after {
                        content: '';
                        position: absolute;
                        left: 0;
                        bottom: -8px;
                        width: 0;
                        height: 1px;
                        background: var(--quizpress-primary-color);
                        transition: width 0.3s ease;
                    }
                    &:hover::after {
                        width: 100%;
                    }
                }
            }
 
            &__quizpress-pages {
                .quizpress-tools-page-quizpress {
                    &__top {
                        border: 1px solid #ED9700;
                        border-radius: 8px;
                        padding: 20px 30px;
                        display: flex;
                        align-items: center;
                        gap: 5px;
                        justify-content: flex-start;
                        .quizpress-icon--info-circle {
                            &::before {
                                color: #ED9700;
                                font-size: 24px;
                            }
                        }
                        .quizpress-tools-page-quizpress-info {
                            padding-left: 10px;
                            font-weight: 400;
                            font-size: 16px;
                            line-height: 26px;
                        }
                    }
    
                    &__body {
                        margin-top: 20px;
                        display: flex;
                        flex-direction: column;
                        align-items: flex-start;
                        gap: 20px;
                        .quizpress-quizpress-page-title {
                            font-weight: 500;
                            font-size: 16px;
                            line-height: 130%;
                            margin-bottom: 20px;
                            display: inline-block;
                        }

                        .quizpress-table{
                            width: 100%;
                            border: none;
                            border-bottom: 1px solid var(--quizpress-border-color);
                            box-shadow: none;
                            padding: 0;
                            &__table {
                                padding-top: 0;
                            }
                            
                            &__row-cell {
                                &:nth-child(3) {
                                    justify-content: flex-start !important;
                                    .quizpress-table-title-wrap {
                                        .quizpress-table-title {
                                            width: 170px;
                                        }
                                    }
                                }
                                &:last-child {
                                    justify-content: flex-end !important;
                                    .quizpress-table-title-wrap {
                                        .quizpress-table-title {
                                            width: 170px;
                                            justify-content: flex-end;
                                        }
                                    }
                                }
                            }
                        }

                        .quizpress-btn {
                            &--regenerate {
                                min-width: 187px;
                            }
                        }
                    }
                }
            }

            &__short-code {
                .quizpress-short-code-item {
                    display: flex;
                    align-items: flex-start;
                    width: 100%;
                    padding: 0 0 24px 0;
                    &__info {
                        width: 200px;
                        h3 {
                            font-weight: 500;
                            font-size: 14px;
                            line-height: 20px;
                            color: #353C41;
                            margin: 0;
                        }
                    }

                    &__body {
                        width: calc(100% - 200px);
                        .quizpress-short-code-details {
                            width: 100%;
                            display: flex;
                            align-items: center;
                            gap: 20px;
                            .quizpress-short-code-text {
                                width: 90%;
                                position: relative;
                                &__shortcode {
                                    background: #F9FAFA;
                                    border: 1px solid var(--quizpress-border-color);
                                    border-radius: 4px;
                                    font-weight: 400;
                                    font-size: 16px;
                                    line-height: 130%;
                                    color: #353A41;
                                    width: 100%;
                                    padding: 11px 45px 11px 14px;
                                }

                                .quizpress-btn {
                                    &--copy {
                                        position: absolute;
                                        top: 1px;
                                        right: 1px;
                                        padding: 12px;
                                        border: none;
                                        background-color: transparent;
                                        border-left: 1px solid var(--quizpress-border-color);
                                        cursor: pointer;
                                        .quizpress-icon {
                                            &--duplicate {
                                                font-size: 20px;
                                                &::before {
                                                    color: var(--quizpress-primary-color);
                                                }
                                            }
                                        }
                                    }
                                }
                            }

                            .quizpress-btn {
                                &--link {
                                    width: 34px;
                                    height: 34px;
                                    background: var(--quizpress-gray-color);
                                    border: 1px solid var(--quizpress-border-color);
                                    border-radius: 50%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    cursor: pointer;
                                    text-decoration: none;
                                    .quizpress-icon {
                                        font-size: 16px;
                                    }
                                }

                                &--label {
                                    font-size: 24px;
                                    color: #8D8F93;
                                }
                            }
                        }

                        .quizpress-short-code-description {
                            padding: 4px 0 0 0;
                            p {
                                font-weight: 400;
                                font-style: italic;
                                font-size: 12px;
                                line-height: 22px;
                                color: #707070;
                                margin: 0;

                                span {
                                    color: #353A41;
                                    font-weight: 500;
                                }
                            }
                        }
                    }
                }
            }

            &__migration {
                padding: 0;
                display: flex;
                flex-direction: column;
                .quizpress-tools-page_tabs {
                    display: flex;
                    align-items: flex-start;
                    border-bottom: 1px solid var(--quizpress-border-color);
                    padding: 0 0 6px 0px;
                    cursor: pointer;
                    .is-quizpress-active {
                        background: transparent;
                        font-weight: 500;
                        border: none;
                        padding: 0px 0px;
                        cursor: default;
                        .quizpress-btn--label {
                            border-bottom: 1px solid var(--quizpress-primary-color);
                            padding: 0px 8px 8px 8px;
                        }
                    }
                
                    .is-quizpress-default {
                        background: transparent;
                        border: none;
                        cursor: pointer;
                        position: relative;
                        &::after {
                            content: '';
                            position: absolute;
                            left: 0;
                            bottom: -7px;
                            width: 0;
                            height: 1px;
                            background: var(--quizpress-primary-color);
                            transition: width 0.3s ease;
                        }
                        &:hover::after {
                            width: 100%;
                        }
                    }
                }
                
                .quizpress-migration-tabs {
                    display: flex;
                    flex-direction: column;
                    border-right: 1px solid #EAEBEE;
                    margin-bottom: 20px;
                    min-width: 180px;
                    height: auto;

                    .quizpress-migration-tab {
                        padding: 16px 20px;
                        margin-bottom: 0;
                        font-weight: 500;
                        font-size: 16px;
                        border-left: 2px solid transparent;
                        line-height: 130%;
                        cursor: pointer;

                        &__active {
                            background: rgba(123, 104, 238, 0.05);
                            border-color: #7B68EE;
                        }

                        &:hover {
                            background: rgba(123, 104, 238, 0.05);
                        }
                    }
                }

                .quizpress-migration-content {
                    display: flex;
                    flex-direction: column;
                    gap: 20px;

                    &__list {
                        list-style: disc;
                        padding: 0 20px;
                        margin: 0;

                        li {
                            padding: 4px 0;
                            font-size: 14px;
                        }
                    }
                }

                .quizpress-tools-migration {
                    &__start {
                        display: flex;
                        gap: 20px;
                        
                        .quizpress-btn{
                            &--migration {
                                min-width: 149px;
                            }
                        }
                    }

                    &__title {
                        padding: 2px 0;
                        font-weight: 600;
                        font-size: 18px;
                        line-height: 27px;
                        margin: 0;
                    }
                }

                .quizpress-migration-warning-text {
                    display: flex;
                    align-items: center;
                    gap: 15px;
                    padding: 16px 20px;
                    border: 1px solid #ED9700;
                    border-radius: 8px;
                    font-size: 16px;
                    margin: 0;

                    .warning-text {
                        font-weight: 500;
                    }

                    .quizpress-icon {
                        margin-top: 4px;

                        &::before {
                            color: #ED9700;
                            font-size: 18px;
                        }
                    }
                }

                .quizpress-migration-items {
                    background: black;
                    color: #fff;
                    padding: 16px;
                    border-radius: 4px;
                    min-height: 50px;

                    .quizpress-migration-item {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                        font-size: 14px;
                        border: #7B68EE;
                        pointer-events: none;
                        padding-top: 10px;

                        input {
                            margin-top: 2px;
                            width: 20px;
                            height: 20px;

                            &::before {
                                padding: 2px 0 0 2px;
                            }
                        }
                    }
                }
            }

            &__export-import {
                .quizpress-tools-page-form-heading {
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                    margin: 0;
                    font-size: 14px;
                    margin-bottom: 16px;

                    &__sub-title {
                        font-size: 12px;
                        color: var(--quizpress-secondary-gray-color);
                        line-height: 20px;
                        font-weight: 400;
                    }
                }

                .quizpress-tools-page{
                    &-export, &-import {
                        &__section {
                            display: flex;
                            justify-content: space-between;
                            border: 1px solid var(--quizpress-border-color);
                            padding: 16px;
                            border-radius: 4px;
                            &--items {
                                display: flex;
                                gap: 8px;
                                p {
                                    border-radius: 4px;
                                    padding: 10px;
                                }
                            }

                            .disable {
                                color: rgba(60, 67, 74, 0.5);
                            }
    
                            .quizpress-btn {
                                margin-top: 16px;
                            }
                            .quizpress-import {
                                margin: 24px 0;
                            }
                        }
                    }
                }

                form {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    margin-bottom: 35px;

                    .quizpress-form-group {
                        flex-direction: row;
                        gap: 10px;
                        margin-bottom: 0;
                        align-items: center;

                        &--label {
                            min-width: 150px;
                            font-size: 16px;
                            font-weight: 500 !important;
                        }

                        label {
                            font-size: 14px;
                            font-weight: 400;
                        }

                        input {
                            margin-right: 5px;
                        }
                    }

                    p, label {
                        margin: 0;
                    }

                    .quizpress-export-import-title {
                        font-size: 16px;
                        font-weight: 500;
                        margin: 0;
                    }

                    .quizpress-export {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                    }
                
                    .quizpress-import-content {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                    }

                    .quizpress-select {
                        width: 160px;
                        .quizpress-react-select__control {
                            height: 45px;
                        }
                    }

                    .quizpress-import {
                        display: flex;
                        align-items: center;
                        gap: 24px;
                    }

                    .quizpress-export, .quizpress-import {
                        &__title {
                            font-size: 16px;
                            font-weight: 500;
                            margin: 0;
                        }
                    }

                    .quizpress-import-response {
                        display: flex;
                        flex-direction: column;
                        align-items: flex-start;
                        gap: 10px;
                        margin-top: 20px;

                        &__title {
                            font-size: 14px;
                            font-weight: 500;
                            margin: 0;
                        }

                        &__item {
                            font-size: 14px;
                            font-weight: 400;
                            margin: 0;
                            display: flex;
                            flex-direction: row;
                            column-gap: 15px;
                        }
                    }
                }
            }
        }
    }

    .quizpress-tools-radio {
        &__lesson-items {
            display: flex;
            gap: 8px;
        }
        &__lesson-item {
            display: flex;
            align-items: center;
            gap: 8px;
            input[type="radio"] {
                margin-bottom: -2px;
            }
        }
    }
    
    .quizpress-btn {
        &--lesson-migrator {
            margin-top: 24px;
        }
    }
}

.quizpress-table{
    &--lesson-migrator {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin-bottom: 24px;
        .quizpress-table__container {
            .quizpress-table__table {
                padding-top: 0;
            }
        }
    }
}

.quizpress-tab-panel {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 .5px 2px 0 rgba(16,24,40,.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 16px;
    transition: all .5s ease;
    width: 320px
}

.quizpress-tab-panel__item {
    position: relative
}

.quizpress-tab-panel__item .quizpress-tab-item {
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #0f0e16;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    line-height: 20px;
    padding: 10px 8px;
    width: 100%
}

.quizpress-tab-panel__item .quizpress-tab-item--is-active,.quizpress-tab-panel__item .quizpress-tab-item:hover {
    background: #f5f5f5;
    color: #0f0e16
}

.quizpress-tab-panel__item .quizpress-icon--arrow-down {
    pointer-events: none;
    position: absolute;
    right: 10px;
    top: 10px;
    transition: all .5s ease
}