/*default*/
@import './default/typography';
@import './default/variables';

/* Product Option Metabox Styles */
.ffw-visible {
    display: block !important;
}
.ffw-hide {
    display: none !important;
}
.ffw-widefat {
    max-width: 25rem;
}
.ffw-overflow-hidden {
    overflow: hidden;
}
#woocommerce-product-data ul.wc-tabs li.faq_for_woocommerce_options.faq_for_woocommerce_tab a:before {
    content: "\f223";
}
table {
    &.wp-list-table {
        .column-product_tag {
            width: 5% !important;
        }
    }
}

.ffw-get-pro-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--blue-lite);
    padding: 5px 10px;
    font-weight: 700;
    color: var(--success-dark);
    font-size: 14px;
    position: absolute;
    top: 0;
    right: 0;

    img {
        width: 20px;
        margin-right: 5px;
    }
}

.ffw-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 30px;

    input {
        opacity: 0;
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 9999;
        margin: 0;
    }

    input:checked + .ffw-switch-slider {
        background-color: var(--blue-dark);
    }

    input:focus + .ffw-switch-slider {
        box-shadow: 0 0 1px var(--blue-dark);
    }

    input[type="checkbox"]:before{
        display: none;
    }

    input:checked + .ffw-switch-slider:before {
        -webkit-transform: translateX(24px);
        -ms-transform: translateX(24px);
        transform: translateX(24px);
    }

    .ffw-switch-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;

        &:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

        &.ffw-switch-round {
            border-radius: 34px;

            &:before {
                border-radius: 50%;
            }
        }
    }
}

.ffw_page_ffw-dashboard, .ffw_page_woocommerce-faq {
    #wpcontent {
        background: var(--secondary-backgraund);
        height: auto;
    }
}

#ffw_product_data {
    .ffw-product-publish-msg {
        background: #e95b5b;
        padding: 5px 20px;
        color: #fff;
    }
    .ffw-product-loader {
        position: absolute;
        width: 80%;
        z-index: 9999;
        top: 0;
        right: 0;
        bottom: 0;
        display: none;
    }

    .ffw-product-loader-overlay {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(240, 248, 255, 0.60);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        z-index: 9999;
    }

    .ffw-sortable-options-wrapper {
        padding: 10px;
        box-sizing: border-box;

        .ffw-product-form-heading {
            padding: 0 1em;
            margin-bottom: 20px;

            h3 {
                margin: 0;
                margin-bottom: 10px;
            }

            p {
                margin: 0;
                padding: 0;
            }
        }
    }

    .ffw-sortable-options-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 0 1em;
        margin-bottom: 20px;

        .select2-container {
            min-width: 300px;
            width: auto !important;
        }
    }

    .ffw-options-header-btn {
        border: none;
        padding: 5px 10px;
        border-radius: 3px;
        color: #fff;
        font-weight: 500;
        cursor: pointer;
        transition: .3s ease;

        &.ffw-add-new {
            background: #1e90ff;

            &:hover {
                background: #1e90ff;
            }
        }

        &.ffw-delete-all {
            background: #ff4757;

            &:hover {
                background: #ee5253;
            }
        }
    }

    .ffw-sortable-options-body {
        width: 100%;
    }

    .ffw-metaboxes-wrapper {
        width: 100%;
    }

    .ffw-metabox {
        background: #fff;
        border-bottom: 1px solid #eee;
        margin: 0!important;

        &.closed {
            border-radius: 3px;
        }

        h3 {
            cursor: pointer;
            padding: .5em .75em .5em 1em !important;
            margin: 0 !important;
            font-size: 1em !important;
            overflow: hidden;
            zoom: 1;

            strong {
                line-height: 26px;
                font-weight: 700;
            }

            a {

                &.ffw-meta-btn {
                    font-weight: 400;
                    line-height: 26px;
                    text-decoration: none;
                    position: relative;
                    visibility: hidden;
                    float: right;
                    margin-top: .25em;
                    margin-right: 8px;
                }

                &.ffw-single-delete-btn {
                    color: red;
                }

                &.ffw-single-edit-btn {
                    color: #0073aa;
                }
            }

            .ffw-sort-icon {
                font-weight: 400;
                line-height: 26px;
                text-decoration: none;
                position: relative;
                visibility: hidden;
                float: right;
                margin-top: .25em;
                margin-right: 8px;
                cursor: move;
                &:before {
                    content: "\f333";
                    font-family: Dashicons;
                    text-align: center;
                    line-height: 28px;
                    color: #999;
                    display: block;
                    width: 17px;
                    height: 100%;
                }
            }

            &:hover {
                .ffw-handle-item, a.ffw-single-delete-btn, a.ffw-single-edit-btn, span.ffw-sort-icon, .ffw-sort {
                    visibility: visible;
                }
            }
        }

        &.open {
            h3 {
                .ffw-handle-item {
                    &:before {
                        content: "\f142" !important;
                    }
                }
            }
        }

        .ffw-metabox-content {
            background-color: #fdfdfd;
            border-top: 1px solid #eee;
            padding: 1em 2em;
        }
    }

    table td.sort::before {
        content: "\f333";
        font-family: Dashicons, serif;
        text-align: center;
        line-height: 1;
        color: #999;
        display: block;
        width: 17px;
        float: left;
        height: 100%;
    }
}

/* Admin Notice Styles */
.ffw-notice {

    &.ffw-discount-notice {
        padding: 0 !important;
        border: none;

        .ffw-get-discount {
            background: url('../images/discount-banner-2022.png') no-repeat;
            background-size: contain;
            height: 85px;
            width: 100%;
            min-height: 80px;
            width: 100%;
            background-position: center;
            background-color: #000000;
            display: flex;
            justify-content: center;
            align-items: center;

            .ffw-get-discount-button {
                background: orangered;
                padding: 5px 20px;
                border-radius: 3px;
                color: #fff;
                position: absolute;
                right: 30px;
                box-shadow: 0px 5px 14px -3px #fff;
                font-size: 16px;
            }
        }

    }

    .ffw-review-notice-logo {
        background: url("../images/Logo.png") no-repeat;
        background-size: cover;
        width: 80px;
        height: 80px;
        float: left;
        margin-right: 10px;
    }

    &.notice-info {
        border-left-color: #fad54d;
        font-size: 16px !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .button {
        &[data-response="given"] {
            background: #fad54d;
            border-color: #fad54d;
            color: #18181a;
        }
    }
}

body {
    overflow-x: hidden;
}

.ffw-note {
    color: #ee5253;
}

@keyframes slideInOut { 
    0% { 
        opacity: 0; 
        visibility: hidden; 
        transform: translateY(-200px); 
    } 

    50% { 
        opacity: 0.5; 
        visibility: visible; 
        transform: translateY(0); 
    } 

    100% { 
        opacity: 1; 
        visibility: visible; 
        transform: translateY(0); 
    } 
}

.ffw-metabox-wrapper {
    .ffw-input-item-wrap {
        display: flex;
        flex-direction: column;

        label {
            font-size: 18px;
        }
    }

    tr {
        label {
            position: relative;
            display: flex;
            justify-content: flex-start;
            align-items: center;

            .ffw-get-pro-badge {
                position: relative;
                margin-left: 10px;
                text-align: center;
            }
        }
    }

    .select2-container {
        min-width: 300px;

        .select2-search__field {
            min-width: 200px;
        }
    }

}

.ffw-admin-wrapper {

    .ffw-contianer{
        max-width: 1440px;
        width: 100%;
        padding: 30px 20px;
        margin: 0 auto;
    }

    /* header section start */ 
    .ffw-dashboard-header-wrapper{
        background-color: var(--secondary-black-backgraund);
        position: relative;
        margin: -25px -25px 0px -25px;
        .ffw-contianer{
            display: flex;
            flex-direction: column;
            padding: 68px 72px;
            .ffw-header-cover{
                margin-bottom: 68px;
                .ffw-header-background-images{
                    img{
                        position: absolute;
                        bottom: 0;
                        &:nth-child(1){
                            left: 36px;
                        }
                        &:nth-child(2){
                            left: 52%;
                        }
                        &:nth-child(3){
                            right: 0;
                        }
                    }
                    

                }
                .ffw-header-title{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    position: relative;
                    z-index: 9999;

                    @media screen and (max-width: 1200px) {
                        flex-direction: column;
                    }

                    .ffw-header-logo{
                        display: flex;
                        align-items: center;
                        cursor: pointer;
                        max-width: 360px;

                        @media screen and (max-width: 1200px) {
                            max-width: 520px;
                        }

                        img{
                            margin-right: 16px;
                            width: 70px;
                        }

                        .ffw-header-logo-wrapper{
                            display: flex;
                            flex-direction: column;
                            .ffw-logo-text{
                                margin-bottom: 8px;
                                margin-top: 18px;
                                color: #fad319;
                                font-size: 28px;
                            }
                            p{
                                color: #CFD8E1;
                                
                            }
                        }
                        .ffw-logo-text{
                            .ffw-version{
                                font-size: 14px;
                                font-style: normal;
                                font-weight: 400;
                                line-height: 20px;
                                margin-left: 5px;
                            }
                        }
                        
                    }
                    /*ffw-header-menus-start*/ 
                    .ffw-header-menus{
                        display: flex;
                        align-items: center;
                        list-style-type: none;
                        margin: 0;

                        .ffw-header-menu-items{
                            margin-right: 20px;
                            cursor: pointer;
                            display: flex;
                            align-items: center;
                            color: var(--neutral-white);
                            text-decoration: underline;
                            &:hover{
                                color: var(--secondary-backgraund-dark);
                            }
                            img{
                                margin-right: 4px;
                            }
                            
                        }

                        .ffw-primary-btn {
                            text-decoration: none;
                        }
                    }
                }
            }
            
        }
        /*xplainer-main-menu-start*/ 
        .ffw-main-menu-wrapper{
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--blue-lite);
            .ffw-main-menu{
                display: flex;
                align-items: center;
                list-style-type: none;
                text-align: center;
                margin: 0;
                .ffw-menu{
                    border-right: 1px solid var(--neutral-white);
                    cursor: pointer;
                    transition: .2s ease-in-out;
                    margin: 0;

                    &:last-child{
                        border: none;
                    }

                    a{
                        color: var(--neutral-white);
                        padding: 12px 24px;
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 600;
                        line-height: 24px;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        span:first-child {
                            margin-right: 5px;
                        }
                    }

                    &:hover{
                        background-color: var(--secondary-backgraund);
                        a{
                            color: var(--blue-lite);
                        }
                    }
                }
                .active{
                    background-color: var(--secondary-backgraund);
                    a{
                        color: var(--blue-lite);
                    }
                }
            }
        }
        /*xplainer-main-menu-end*/ 
    }

    /* Dahsboard body style start */
    .ffw-dashboard-body-section-wrapper{
        .ffw-contianer{
            max-width: 1440px;
            width: 100%;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            padding: 24px 0;
            padding-right: 20px;
    
            .ffw-left-side{
                display: flex;
                align-items: center;
                flex-direction: column;
                width: calc(100% - 370px);

                @media screen and (max-width: 1200px) {
                    width: calc(100% - 300px);
                }

                .ffw-testimonial{
                    background-color: var(--neutral-white);
                    border-radius: 8px;
                    padding: 24px 24px;
                    position: relative;
                    width: 100%;
                    
                    .ffw-tesimonial-heading{

                        margin-bottom: 36px;
                        .ffw-tesimonial-heading-title{
                            margin-bottom: 0;
                        }
                        .tesimonial-sub-heading{
                            color: var(--primary-text-color);
                        }
                    }
                    .ffw-review-img{
                        position: absolute;
                        top: 24px;
                        right: 24px;
                        img{
                        }
                    }
                    .ffw-tesimonial-contents{
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-direction: column;
                        .ffw-star-imegas{
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            margin-bottom: 16px;
                        }
                        .ffw-testimonial-text-wrapper{
                            background-color: #F7F8F9;
                            border-radius: 8px;
                            max-width: 400px;
                            width: 100%;
                            position: relative;
                            &::before{
                                content: "";
                                background: url(../images/quote_left.png) no-repeat;
                                width: 64px;
                                height: 64px;
                                display: block;
                                position: absolute;
                                top: -30px;
                                left: -35px;
                            }
                            &::after{
                                content: "";
                                background: url(../images/quote_right.png) no-repeat;
                                width: 64px;
                                height: 64px;
                                display: block;
                                position: absolute;
                                bottom: -30px;
                                right: -33px;
                            }
                            .ffw-testimonial-text{
                                padding: 24px 24px;
                                color: var(--primary-text-color);
                                span{
                                    color: var(--blue-lite);
                                }
                                .ffw-text-bolds{
                                    color: #1E242D;
                                }
                            } 
                        }
                        .ffw-profile-photo{
                            margin-top: 16px;
                            img{
                                
                            }
                        }
                        
                    }
                }

                .ffw-iframe-section-wrapper{
                    margin-top: 20px;
                    width: 100%;
                    iframe{
                        width: 100%;
                        height: 420px;
                        border-radius: 8px;

                        @media screen and (max-width: 1200px) {
                            height: 380px;
                        }

                        @media screen and (max-width: 1400px) {
                            height: 460px;
                        }
                        
                        @media screen and (min-width: 1600px) {
                            height: 580px;
                        }
                    }
                }
                .ffw-money-back-section-wrapper{
                    background-color: var(--neutral-white);
                    margin-top: 20px;
                    border-radius: 8px;
                    .money-back-section{
                        display: flex;
                        align-items: center;
                        padding: 24px 24px;
                        img{

                        }
                        .money-back-contents{
                            margin-left: 16px;
                            .money-back-content-heading{
                                margin-bottom: 0;
                            }
                            .money-back-content-para{
                                margin-bottom: 16px;
                            }
                            img{

                            }
                        }
                    }
                }
                .ffw-free-vs-pro-section-wrapper{
                    background-color: var(--neutral-white);
                    margin-top: 20px;
                    border-radius: 8px;
                    .ffw-free-vs-pro-section{    
                        padding: 24px 24px;
                        .ffw-free-vs-pro-heading{
                            margin-bottom: 0px;
                        }
                        .ffw-free-vs-pro-sub-heading{
                            margin-bottom: 32px;
                        }
                        .ffw-free-vs-pro-features-name-wrapper{
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            p{
                                color: var(--heading-color);
                                font-weight: 600;
                            }
                            .ffw-free-vs-pro-text{
                                display: flex;
                                align-items: center;
                                justify-content: space-between;
                                .ffw-free{
                                    padding-right: 45px;
                                }
                                .ffw-pro{
                                    padding-right: 15px;
                                }
                            }
                        }

                        table {
                            &.ffw-free-vs-pro-table {
                                border-collapse: collapse;
                                
                                tr{
                                    border-bottom: 1px solid #DDE3E9;

                                    &:first-child {
                                        border: none;
                                    }
                                    &:last-child {
                                        border: none;
                                    }

                                    td:first-child {
                                        padding-bottom: 16px;
                                        padding-top: 16px;

                                        p {
                                            margin-bottom: 0;

                                            &:first-child {
                                                color: #420972;
                                                font-weight: 600;
                                            }

                                            &:nth-child(2){  
                                                padding-right: 32px;
                                                font-size: 14px;
                                            }
                                        }
                                    }

                                    th {
                                        color: var(--heading-color);
                                        font-weight: 600;
                                        font-size: 16px;
                                        padding-bottom: 10px;

                                        &:first-child {
                                            text-align: left;
                                        }
                                        
                                    }

                                    td:nth-child(2), td:nth-child(3) {
                                        width: 80px;
                                        text-align: center;
                                    }
                                }
                                
                            }
                            
                        }
                    }
                }
                
                
                
            }
            .ffw-right-side{
                width: 350px;

                @media screen and (max-width: 1200px) {
                    width: 280px;
                }

                h3 {
                    margin-bottom: 24px;
                }

                .ffw-rate-us-wrapper{
                    background-color: var(--neutral-white);
                    padding: 24px 24px;
                    display: flex;
                    flex-direction: column;
                    border-radius: 8px;
                    .ffw-rate-us-heading{
                        margin-bottom: 5px;
                    }
                    .ffw-rate-us-content{
                        margin-bottom: 24px;
                    }
                    .ffw-secondary-btn{
                        background-color: var(--primary-backgraund);
                        text-align: center;
                        &:hover{
                            background-color: var(--blue-lite);
                        }
                    }
                }
                .ffw-why-pro-wrapper{
                    background-color: var(--neutral-white);
                    margin-top: 20px;
                    border-radius: 8px;
                    padding: 24px 24px;
                    .ffw-why-pro-haading{

                    }
                    .ffw-why-pro-features{
                        display: flex;
                        flex-direction: column;
                        list-style-type: none;
                        
                        .ffw-why-pro-features-contents{
                            display: flex;
                            align-items: center;
                            color: var(--heading-color);
                            margin-bottom: 16px;
                            img{
                                margin-right: 12px;
                            }
                            .ffw-more-anchor{
                                padding-left: 35px;
                                cursor: pointer;
                                color: var(--heading-color);
                                &:hover{
                                    color: var(--blue-lite);
                                }
                            }

                            span{
                                font-size: 16px;
                            }
                        }
                        
                    }
                    .ffw-secondary-btn{
                        background-color: var(--green);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        &:hover{
                            background-color: var(--green-dark);
                        }

                        img{
                            margin-right: 20px;
                        }
                    }
                }
                .ffw-notification-wrapper{
                    background-color: var(--neutral-white);
                    margin-top: 20px;
                    border-radius: 8px;
                    padding: 24px 24px;
                    .ffw-notification-heading{

                    }
                    .ffw-notification-item-wrapper{
                        display: flex;
                        flex-direction: column;
                        list-style-type: none;
                        .ffw-notification-item{
                            display: flex;
                            align-items: center;
                            color: var(--heading-color);
                            margin-bottom: 24px;
                            img{
                                margin-right: 16px;
                            }
                        }
                    }
                }
                .ffw-other-plugin-section-wrapper{
                    background-color: var(--neutral-white);
                    margin-top: 20px;
                    border-radius: 8px;
                    padding: 24px;
                    
                    .ffw-other-plugin-item{
                        display: flex;
                        align-items: center;
                        margin-bottom: 24px;
                        img{
                            align-self: flex-start;
                            width: 80px;
                        }
                        .ffw-other-plugin-contents{
                            margin-left: 16px;
                            .ffw-other-plugin-content-heading{
                                a {
                                    font-size: 20px;
                                    font-style: normal;
                                    font-weight: 600;
                                    line-height: 28px;
                                    color: var(--heading-color);
                                }
                            }
                        }
                    }
                }
                .ffw-free-xplainer-wrapper{
                    background-color: var(--neutral-white);
                    margin-top: 20px;
                    border-radius: 8px;
                    padding: 24px 24px;
                    .ffw-free-xplainer{

                    }
                    .ffw-free-xplainer-features{
                        display: flex;
                        flex-direction: column;
                        list-style-type: none;
                        
                        
                        .ffw-free-xplainer-features-content{
                            display: flex;
                            align-items: center;
                            margin-bottom: 16px;
                            color: var(--heading-color);
                            img{
                                margin-right: 12px;
                            }
                            .ffw-get-started-anchor{
                                text-decoration-line: underline;
                                color: var(--blue-lite);
                                padding-left: 35px;
                                &:hover{
                                    color: var(--primary-backgraund);
                                }
                            }

                            span {
                                font-size: 16px;
                            }
                        }
                        
                    }
                }
            }
        }
    }

    /* Dahsboard footer style start */
    .ffw-dashboard-footer-wrapper{
        background-color: var(--primary-backgraund);
        .ffw-contianer{
            max-width: 1440px;
            width: 100%;
            padding: 48px 104px;
            margin: 0 auto;
            .ffw-footer-inner{
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                
                .ffw-dashboard-logo-area {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    margin-bottom: 30px;

                    h2 {
                        margin: 0;
                        margin-left: 15px;
                        color: var(--success-dark);
                    }

                    img {
                        width: 50px;
                        margin-top: 5px;
                    }
                }
                .ffw-footer-contents{
                    margin-bottom: 32px;
                    color: #A4B6C5;
                    padding: 0px 200px;
                    text-align: center;
                }
                .ffw-footer-menus{
                    display: flex;
                    align-items: center;
                    list-style-type: none;
                    margin-bottom: 32px;
                    .ffw-footer-menu{
                        color: var(--neutral-white);
                        margin-right: 32px;
                        text-decoration: underline;
                        &:hover{
                            color: var(--secondary-backgraund-dark);
                        }
                    }
                }
                .ffw-footer-icons{
                    .ffw-Social-media-icons{
                        display: flex;
                        list-style-type: none;
                        img{
                            margin-right: 24px; 
                            cursor: pointer;
                            transform: scale(1);
                            transition: .2s ease-in-out;
                            &:hover{
                                transform: scale(1.4);
                            }
                        }
                        
                        
                    }
                    
                }
            }
        }
        
    }

    /* AI Page Styles */
    .ffw-ai-wrapper {
        .ffw-contianer {
            display: flex;
            justify-content: center;

            .ffw-ai-content {
                background: #fff;
                padding: 24px;
                border-radius: 8px;

                .ffw-form-group {
                    display: flex;
                    flex-direction: column;
                    margin-bottom: 15px;
                }

                form {
                    margin-top: 20px;

                    label {
                        color: var(--heading-color);
                        font-weight: 600;
                        font-size: 16px;
                        padding-bottom: 10px;
                        line-height: 1;

                        span {
                            font-weight: 400;
                        }
                    }

                    input, textarea, select {
                        padding: 5px 10px;

                        &:focus {
                            outline: 1px solid var(--blue-lite);
                        }
                    }

                    input[type="text"], textarea {
                        background: #eeeeee;
                    }
    
                    input[type="submit"], button[type="submit"] {
                        background: var(--blue-lite);
                        border-radius: 4px;
                        padding: 12px 16px;
                        color: #fff;
                        cursor: pointer;
                        border: none;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        svg {
                            width: 18px;
                            margin-right: 5px;
                            fill: #fff;
                        }

                        span {
                            font-size: 14px;
                            line-height: 18px;
                        }
                    }

                    .select2-container .select2-selection--single {
                        height: 40px;
                    }

                    .select2-container .select2-selection--single .select2-selection__rendered {
                        padding-left: 10px;
                        line-height: 40px;
                    }

                    .select2-container--default .select2-selection--single .select2-selection__arrow {
                        top: 7px;
                        right: 5px;
                    }
                }

                h3 {
                    margin: 0;
                }

                p {
                    font-size: 14px;
                }

                .ffw-ai-form-content, .ffw-ai-result-content {
                    width: 100%;
                    max-width: 400px;
                }

                .ffw-ai-result-content {
                    opacity: 0;
                    visibility: hidden; 
                    display: none;
                    animation: slideInOut 1s ease-in-out; 

                    .ffw-ai-result-content-header {
                        margin-bottom: 20px;
                        a {
                            color: #000;
                            display: flex;
                            align-items: center;
                            margin-bottom: 10px;
                            font-weight: 400;
                            font-size: 14px;
                        }
                    }

                    .ffw-ai-result-action {
                        display: flex;
                        justify-content: space-between;

                        label {
                            cursor: pointer;
                        }

                        .ffw-ai-selected-count {
                            color: var(--blue-lite);
                        }
                    }

                    .ffw-ai-result-form {
                        .ffw-ai-result-item-group {
                            display: flex;
                            margin-bottom: 10px;

                            input[type=text], textarea{
                                width: calc(100% - 30px);
                                margin: 0;
                                margin-bottom: 5px;
                            }

                            .ffw_ai_result_item_content {
                                width: 100%;

                                .ffw-ai-result-item-inner-group {
                                    display: flex;
                                    align-items: center;

                                    span {
                                        &.ffw-ai-result-icon {
                                            margin-left: 10px;
                                            font-size: 30px;
                                        }
                                    }

                                    textarea {
                                        background: #f4f5ff;
                                    }
                                }

                            }
                        }

                        a {
                            &.ffw-ai-result-cancel {
                                color: #000;
                                font-size: 14px;
                                font-weight: 400;
                                margin-left: 10px;

                                &:hover {
                                    text-decoration: underline;
                                }
                            }
                        }
                    }

                    .ffw-ai-result-form-footer {
                        display: flex;
                        justify-content: flex-start;
                        align-items: center;
                    }

                    &.ffw-ai-result-content-active {
                        opacity: 1;
                        visibility: visible;
                        display: block;
                    }
                }
            }
        }
    }

    /* Template Page Styles */
    .ffw-template-wrapper{
        .ffw-contianer{
            max-width: 1440px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            flex-wrap: wrap;
            padding: 30px;
            margin: auto;

            .ffw-item-wrapper{
                display: flex;
                flex-direction: column;
                width: calc(33% - 30px);
                border: 1px solid #ddd;
                border-radius: 2px;
                transition: all .2s ease-in-out;
                margin: 0 15px;
                margin-bottom: 40px;

                &:hover{
                    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

                    .ffw-item-inner{
                        background: rgba(0, 0, 0, .5);

                        .ffw-layout-img{
                            opacity: 0.3;
                        }
                        .ffw-hover-buttons{
                            opacity: 1;
                        }
                    }
                }
                .ffw-item-inner{
                    position: relative;

                    

                    .ffw-layout-img{
                        opacity: 1;
                        transition: .5s ease-in-out;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                    }
                    .ffw-hover-buttons{
                        transform: 0.5s ease;
                        opacity: 0;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        text-align: center;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        a {
                            display: flex;
                            justify-self: center;
                            align-items: center;
                            font-size: 16px;
                            padding: 8px 15px;
                            text-decoration: none;
                            border-radius: 3px;
                            transition: .2s ease-in-out;
                            margin: 0 5px;
                            cursor: pointer;

                            span:first-child {
                                margin-right: 5px;
                            }
                        }


                        .ffw-template-preview-button{
                            background-color: #f5f6f7;
                            color: #000;
                            &:hover{
                                background-color: #d2d3d3;
                            }
                        }
                        .ffw-hover-active-button{
                            background-color: var(--blue-lite);
                            color: #fff;

                            img {
                                width: 20px;
                                display: inline-block;
                                margin-right: 5px;
                            }

                            &:hover{
                                background-color: var(--success-dark);
                                color: var(--primary-backgraund);
                            }
                        }
                    }
                }

                .ffw-layout-img-heading{
                    padding: 8px 15px;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    h2{
                        font-size: 16px;
                        font-weight: 500;
                        text-align: center;
                        margin: 0;
                        color: #000;
                    }
                }

                &.ffw-template-active {

                    .ffw-layout-img-heading {
                        background: var(--blue-lite);

                        h2{
                            color: #fff;
                        }
                    }

                    .ffw-item-inner{
                        background: rgba(0, 0, 0, .5);

                        .ffw-layout-img{
                            opacity: 0.3;
                        }

                        
                    }

                    &:hover {
                        .ffw-hover-buttons{
                            .ffw-hover-active-button{
                                display: none;
                            }
                        }
                    }
                }
                
            }
        }

        /* template popup styles */ 
        .ffw-template-popup-wrapper{
            background-color: rgb(0 0 0 / 50%);
            position: fixed;
            padding: 30px;
            top: 0;
            left: 0;
            right: 0;
            display: none;
            transition: .5s ease-in-out;
            z-index: 999999;
            overflow-y: scroll;
            width: 100%;
            height: 100%;

            &.ffw-active{
                display: block;
            }
            
            .ffw-template-popup-inner{
                width: 100%;
                background-color: $background_color;
                
                .ffw-layout-name{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 20px 30px;
                    border-bottom: 1px solid #D4D8DE;
                    background: #fff;
                    
                    .ffw-title{
                        font-size: 24px;
                        font-weight: 600;
                        margin: 0;
                        color: #000;
                    }
                    .ffw-template-popup-close-button{
                        font-size: 30px;
                        transition: .2s ease-in;
                        cursor: pointer;
                        width: 30px;
                        height: 30px;

                        &:hover{
                            background-color: #d8dee6;
                        }
                    }
                }

                .ffw-temp-img{
                    padding: 20px 0px;
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    img {
                        width: 1050px;

                        @media screen and (max-width: 1100px) {
                            width: 750px;
                        }
                    }
                }
                
            }
        }
    }

    /* Setting Page Styles */
    &.ffw-setting-wrap {
        margin: 10px 20px 0 2px;

        .ffw-go-pro-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.2);
            z-index: 99999;

            .ffw-go-pro-modal-card {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                -webkit-transform: translate(-50%, -50%);
                display: flex;
                justify-content: center;
                align-items: center;
                background: #fff;
                width: 100%;
                max-width: 450px;
                box-shadow: 0px 40px 120px rgb(23 57 97 / 10%);
                transition: all 0.3s ease-in-out 0s;
                border-radius: 5px;

                .ffw-go-pro-modal-card-inner {
                    position: relative;
                    width: 100%;
                    height: 100%;
                    padding: 30px;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    #ffw-popup-close {
                        position: absolute;
                        right: 10px;
                        top: 10px;
                        color: gray;
                    }

                    .ffw-go-pro-modal-content {
                        text-align: center;
                        padding: 20px 10px 0;

                        .ffw-go-pro-icon {
                            img {
                                width: 150px;
                            }
                        }

                        h3 {
                            font-size: 24px;
                            text-transform: uppercase;
                            color: #222;
                            margin-top: 30px;
                        }

                        .ffw-go-pro-modal-link {
                            text-align: center;
                            padding: 11px 17px;
                            line-height: 1;
                            font-size: 16px;
                            font-weight: 500;
                            font-family: "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
                            border-radius: 5px;
                            cursor: pointer;
                            text-transform: capitalize;
                            -webkit-transition: all 0.3s ease-in-out 0s;
                            transition: all 0.3s ease-in-out 0s;
                            -webkit-transition-property: color, background, border, box-shadow;
                            -webkit-transition-property: color, background, border, -webkit-box-shadow;
                            transition-property: color, background, border, -webkit-box-shadow;
                            transition-property: color, background, border, box-shadow;
                            transition-property: color, background, border, box-shadow, -webkit-box-shadow;
                            text-decoration: none;
                            display: inline-block;
                            margin-top: 0;
                        }

                        p {
                            font-size: 14px;
                            font-weight: 400;
                            color: #727272;
                            margin-bottom: 20px;
                        }
                    }
                }


            }

        }

        p {
            &.ffw-setting-description {
                margin: 10px 0 0;
                color: #646970;
                font-size: 12px;

                span {
                    margin-right: 5px;
                    font-size: 14px;
                    float: left;
                    line-height: 19px;
                }
            }
        }

        .submit {
            margin: 0;
            padding: 0;
            margin-left: 20px;
        }

        input {
            &[type="submit"] {
                background: var(--blue-lite);
                color: #fff;
                border-radius: 4px;
                border: 1px solid var(--blue-lite) !important;
                margin-left: 10px;
            }

            &:focus {
                outline: 1px solid var(--blue-lite);
            }
        }

        .ffw-setting-header {
            background: linear-gradient(341deg,#9b59b6,#732fc5 75%);
            color: #fff !important;
            padding: 25px;
            margin-bottom: 20px;
            position: relative;

            h1 {
                color: #fff;
                font-size: 28px;
                font-weight: 700;
                .ffw-plugin-version {
                    font-size: 14px;
                    color: #ddd;
                }
            }

            p{
                color: #fff;
                margin: 0;
            }

            a.ffw-go-pro-top-link {
                display: flex;
                justify-content: center;
                align-items: center;
                background: #fff;
                color: #d3135a;
                padding: 7px 15px;
                text-transform: uppercase;
                border: 1px solid #fff;
                position: absolute;
                right: 25px;
                top: 50%;
                transform: translateY(-50%);
                font-weight: 600;
                text-decoration: none;
                transition: 0.3s;
                border-radius: 3px;

                &:hover {
                    color: var(--blue-lite);
                    transform: translateY(calc(-50% - 3px));
                }
            }
        }

        form {
            .ffw-settings-inner {
                width: 100%;
            }

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

            nav {
                position: relative;
                padding: 0px 20px;
                margin-top: 30px;

                @media screen and (max-width: 1200px) {
                    position: sticky;
                    padding: 10px;
                    margin-top: 30px;
                    top: 30px;
                    z-index: 99999;
                    background: #fff;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    border-radius: 5px;

                    .nav {
                        padding: 0;
                    }

                    .ffw-nav-submit {
                        right: 10px !important;
                    }
                }

                a.nav-item.nav-link {
                    color: #000;
                    border: 1px solid #e7e7e7 !important;
                    border-radius: 0;

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

                    &.active {
                        background: var(--blue-lite);
                        color: #fff;
                        border: 1px solid var(--blue-lite) !important;
                    }
                }

                .ffw-nav-submit {
                    position: absolute;
                    top: 50%;
                    right: 20px;
                    transform: translateY(-50%);
                }
            }

            .tab-content {
                .tab-pane {
                    background:  $background_color; //previous 'aliceblue'

                    .ffw-setting-form {

                        a {
                            font-size: inherit;
                            color: var(--blue-lite);
                            text-decoration: underline;
                        }

                        table {
                            margin: 0;

                            tbody {
                                display: flex;
                                flex-wrap: wrap;

                                tr {
                                    width: calc(50% - 20px);
                                    padding: 15px 20px;
                                    box-sizing: border-box;
                                    background: #fff;
                                    margin-left: 10px;
                                    margin-right: 10px;
                                    margin-bottom: 20px;
                                    position: relative;
                                    border-radius: 8px;

                                    @media screen and (max-width: 1200px) {
                                        width: calc(100% - 20px);
                                    }

                                    th {
                                        width: 100%;
                                        display: flex;
                                        margin: 0;
                                        padding: 0;
                                        font-size: 16px;

                                        @media screen and (max-width: 1400px) {
                                            max-width: 170px;
                                        }
                                    }

                                    td {
                                        margin: 0;
                                        padding: 10px 0;

                                        .ffw-setting-description  {
                                            font-size: 13px;
                                            span {
                                                line-height: 24px;
                                            }
                                        }
                                    }

                                    .ffw-get-pro-wrapper {
                                        display: flex;
                                        align-items: center;
                                    }
                                }
                            }
                        }


                        h6 {
                            font-size: 20px;
                            margin: 30px 0px;
                            margin-top: 0;
                            padding: 0;
                            position: relative;
                            align-self: flex-start;

                            &:after {
                                content: '';
                                width: 200px;
                                height: 2px;
                                background: #ab6cff;
                                display: block;
                                position: absolute;
                                left: 2px;
                                bottom: -6px;
                            }
                        }

                    }


                    .ffw-setting-wrapper {
                        display: flex;
                        justify-content: space-between;
                        align-items: flex-start;
                        flex-wrap: wrap;
                        padding: 15px 20px;

                        .ffw-setting-form {

                            #ffw_before_faq_html_ifr, #ffw_after_faq_html_ifr {
                                min-height: 150px !important;
                                height: auto !important;
                            }

                            input.ffw-api-key {
                                min-width: 250px;
                            }

                            input[type="submit"] {
                                background: var(--blue-lite);
                                outline: none;
                                border: none;

                                &:hover {
                                    background: #8a46db;
                                }
                            }
                        }
                        
                        .opt-body-right-child{
                            display: flex;
                            flex-direction: column;
                            align-items: flex-start;

                            .opt-body-right-contents{
                                width: 100%;
                                padding: 20px;
                                background-color: #FFFFFF;
                                margin-left: 8px;
                                margin-right: 8px;
                                gap: 16px;
                                margin-bottom: 20px;
                                border-radius: 8px;

                                .opt-right-side-bar{
                                    .opt-right-side-bar-title{
                                        display: flex;
                                        align-items: center;
                                        .opt-right-side-bar-title-heading {
                                            margin-left: 10px;
                                        }
                                        
                                        h4 {
                                            margin: 0;
                                        }
                                    }
                                    .opt-right-side-bar-para{
                                        font-weight: 400;
                                        font-size: 14px;
                                        line-height: 150%;
                                        margin-top: 10px;
                                    }
                                    .opt-right-side-bar-input{
                                        padding: 8px 16px;
                                        margin-top: 10px;
                                        margin-bottom: 10px;
                                        border: 1px solid #CFD8E1;
                                        border-radius: 4px;
                                    }
                                    .opt-right-side-bar-btn{
                                        display: inline-block;
                                        padding: 5px 15px;
                                        background: var(--blue-soft);
                                        border: 1px solid var(--blue-dark);
                                        border-radius: 4px;
                                        text-decoration: none;
                                        transition: .3s ease;

                                        .opt-right-side-bar-span{
                                            font-weight: 600;
                                            font-size: 14px;
                                            line-height: 17px;
                                            color: var(--blue-dark);
                                        }

                                        &:hover {
                                            background: var(--blue-lite);
                                            border: 1px solid var(--blue-lite);

                                            .opt-right-side-bar-span{
                                                color: #fff;
                                            }
                                        }
                                    }
                                }
                            }
                        }


                        #ffw-preview {
                            width: 35%;
                            max-width: 550px;
                            margin-top: 25px;
                            padding: 5px 15px;
                            box-sizing: border-box;
                            background: #fff;
                            border: 3px solid #7f54b3;
                            border-radius: 3px;

                            img {
                                width: 100%;
                            }

                            .ffw-preview-title {
                                text-align: center;
                                background: #7f54b3;
                                color: #fff;
                                font-size: 16px;
                                padding: 5px 5px;
                                margin: 15px 0;
                                line-height: 1;
                            }
                        }

                        &.ffw-template-wrapper{
                            /*ffw-menu*/
                            .ffw-main-wrapper{

                                &.ffw-deactivate{
                                    display: none;
                                }
                                .ffw-layout-tabs-wrapper{
                                    .contianer{
                                        max-width: 100%;
                                        width: calc(100% - 60px);
                                        padding: 30px 50px;
                                        .ffw-layout-main-menu{
                                            display: flex;
                                            align-items: center;
                                            list-style-type: none;
                                            .ffw-layout-menu{
                                                text-decoration: none;
                                                padding: 10px 25px;
                                                border-radius: 5px;
                                                font-size: 18px;
                                                color: #000;
                                                transition: 0.2s ease-in;
                                                font-weight: 600;
                                                margin-right: 10px;
                                                &.active{
                                                    background-color: #d8dee6;
                                                    color: #9330F5;
                                                }
                                                &:hover{
                                                    background-color: #d8dee6;
                                                    
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }

                    table {
                        textarea {
                            &.ffw-custom-css {
                                min-height: 200px;
                                min-width: 300px;
                            }
                        }

                        .ffw_question_font_size, .ffw_answer_font_size {
                            margin-right: 5px;
                        }
                        .ffw_question_font_size_label, .ffw_answer_font_size_label {
                            font-size: 18px;
                        }
                    }

                    &#ffw-comment {
                        .ffw-right-side {
                            margin-top: 53px;
                        }
                    }
                }
            }
        }

    }
}

.wp-list-table {
    tbody {
        .column-faqs_type {
            span {
                background: #222222;
                padding: 4px 10px;
                border-radius: 4px;
                color: #fff;
                display: inline-block;

                &.faqs_type-global {
                    background: var(--blue-dark);
                }
            }
        }
    }
}

.ffw-shortcode-tab-wrapper {
    max-width: 900px;
    width: 100%;
    margin: auto;

    h3 {
        margin: 0;
    }

    p {
        font-size: 14px;
        color: inherit;
        margin: 0;
    }

    .ffw-shortcode-items {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        .ffw-shortcode-box {
            display: flex;
            flex-direction: column;
            border-bottom: 1px solid #e5e7eb;
            padding: 20px;
            background-color: #fff;
            border-radius: 6px;
            
            h4 {
                font-size: 16px;
                font-weight: 600;
                color: #000;
                margin: 0;
            }
    
            .ffw-shortcode-header-box {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                gap: 10px;
    
    
                .ffw-shortcode {
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 30px;
                    padding: 5px 12px;
                    background-color: #f0f0f1;
                    color: #000;
                    border-radius: 4px;
                    margin: 0;
                }
    
                .ffw-shortcode-icons-box {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    gap: 8px;
    
                    svg {
                        cursor: pointer;
                        fill: #000;
                        transition: fill 0.2s ease, background-color 0.2s ease;
    
                        &:hover {
                            fill: #ffd54d;
                        }
                    }
    
                    .ffw-shortcode-copy-icon-box {
                        background-color: #f0f0f1;
                        padding: 10px;
                        border-radius: 4px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        cursor: pointer;
                        transition: background-color 0.2s ease;
                        position: relative;
    
                        &:hover {
                            background-color: #ffd54d;
                        }
    
                        .ffw-shortcode-copy-icon {
                            path {
                            fill: #18181b;
                            }
                        }
    
                        /* Tooltip */
                        .ffw-tooltip {
                            visibility: hidden;
                            opacity: 0;
                            background: #31373d;
                            color: #fff;
                            text-align: center;
                            border-radius: 5px;
                            padding: 4px 8px;
                            font-size: 12px;
                            position: absolute;
                            bottom: 125%;
                            left: 50%;
                            transform: translateX(-50%);
                            white-space: nowrap;
                            transition: opacity 0.3s ease;
                            z-index: 10;
    
                            &::after {
                            content: "";
                            position: absolute;
                            top: 100%;
                            left: 50%;
                            margin-left: -5px;
                            border-width: 5px;
                            border-style: solid;
                            border-color: #31373d transparent transparent transparent;
                            }
                        }
    
                        &:hover .ffw-tooltip {
                            visibility: visible;
                            opacity: 1;
                        }
                    }
                }
            }

            .ffw-shortcode-header-and-shortcode-box {
                display: flex;
                align-items: center;
                justify-content: space-between;

                .ffw-shortcode-info {
                    max-width: calc(100% - 350px);
                }
            }
        }
    }

}

