.allManageSetting{
    .topProductIndex{
        display: grid;
        grid-template-columns: 1fr auto;
        background: white;
        border-radius: .3rem;
        padding: 1rem;
        .right{
            display: grid;
            grid-template-columns: repeat(auto-fit , minmax(2px , auto));
            justify-content: right;
            align-items: center;
            grid-gap: .5rem;
            span{
                color: $text1;
                font-weight: 400;
                font-size:.95rem;
            }
            a{
                color: $text1;
                font-weight: 400;
                font-size:.95rem;
                &:last-child{
                    color: $blue;
                }
            }
        }
        .filterItems{
            position: relative;
            .filterTitle{
                display: grid;
                cursor: pointer;
                grid-template-columns: auto auto;
                justify-content: center;
                grid-gap: .5rem;
                align-items: center;
                background-color: #A3AFBD;
                box-shadow: 0 2px 4px 0 rgba(163, 175, 189, 0.5);
                padding: .6rem 1rem;
                transition: all .3s ease-in-out;
                border-radius: .3rem;
                color: #FFFFFF;
                svg{
                    width: 1rem;
                    height: 1rem;
                    fill: white;
                }
                &:hover{
                    background: #394C62;
                    box-shadow: 0 4px 12px 0 rgba(163, 175, 189, 0.6) !important;
                }
            }
            .filterContent{
                position: absolute;
                top: 120%;
                left: 0;
                box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
                background: white;
                border-radius: .2rem;
                padding: .5rem;
                display: grid;
                grid-template-columns: 1fr;
                grid-gap: 1rem;
                width: 20rem;
                &::before{
                    content: '';
                    position: absolute;
                    top: -10px;
                    left: 8px;
                    border-style: solid;
                    border-width: 0 10px 10px 10px;
                    border-color: transparent transparent #fff transparent;
                }
                .filterContentItem{
                    display: grid;
                    grid-gap: .5rem;
                    label{
                        color: $text1;
                        font-weight: 300;
                        font-size:.7rem;
                    }
                    input{
                        border: 1px solid $border1;
                        padding: 0.4rem .5rem;
                        color: $text1;
                        border-radius: .3rem;
                        font-size: .7rem;
                        width: 100%;
                        transition: all .3s ease-in-out;
                        outline: transparent;
                        &:focus{
                            box-shadow: 0 3px 8px 0 rgba(0,0,0,.1);
                            border: 1px solid $blue;
                        }
                    }
                }
                button{
                    background: $green;
                    color: white;
                    box-shadow: 0 0 10px rgba(0,0,0,.05);
                    padding: .3rem;
                    text-align: center;
                    border-radius: 5px;
                }
            }
        }
    }
    .alert{
        background: rgba(0, 128, 0, 0.26);
        color: #006200;
        padding: 1rem;
        border-radius: .3rem;
        font-size: .85rem;
        font-weight: 300;
        margin-top: 1rem;
    }
    .forms{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1rem;
    }
    h3{
        font-size: 1rem;
        font-weight: 700;
        color: black;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 3px dashed $border1;
    }
    .settingMangeItems{
        background: white;
        padding: .5rem;
        box-shadow: 0 0 10px rgba(0,0,0,.05);
        border-radius: 5px;
        margin-top: 1rem;
        label{
            color: $text1;
            font-weight: 500;
            font-size: .9rem;
            margin-bottom: .5rem;
            display: grid;
            grid-template-columns: auto auto;
            justify-content: right;
            align-items: center;
            grid-gap: 1rem;
        }
        select,input{
            border: 1px solid #DFE3E7;
            padding: 0.3rem .5rem;
            color: $text1;
            background: white;
            border-radius: .3rem;
            font-size: .8rem;
            width: 100%;
            height: 2rem;
            transition: all .3s ease-in-out;
            &:focus{
                box-shadow: 0 3px 8px 0 rgba(0,0,0,.1);
                border: 1px solid $blue;
            }
        }
        textarea{
            border: 1px solid #DFE3E7;
            padding: 0.4rem .5rem;
            color: $text1;
            border-radius: .3rem;
            font-size: .7rem;
            width: 100%;
            height: 15rem;
            transition: all .3s ease-in-out;
            resize: vertical;
            outline: transparent;
            &:focus{
                box-shadow: 0 3px 8px 0 rgba(0,0,0,.1);
                border: 1px solid $blue;
            }
        }
        .abilityPost{
            background: #F5F6F8;
            padding: 1rem;
            border-radius: .2rem;
            margin-bottom: 1rem;
            .abilityTitle{
                display: grid;
                grid-template-columns: auto auto;
                justify-content: space-between;
                grid-gap: .5rem;
                align-items: center;
                i{
                    cursor: pointer;
                    svg{
                        width: 1.2rem;
                        height: 1.2rem;
                        fill: $text1;
                        transition: all .3s ease-in-out;
                    }
                    &:hover{
                        svg{
                            fill: black;
                        }
                    }
                }
            }
            .abilityTable{
                display: grid;
                grid-template-columns: 1fr;
                margin: 1rem 0;
                box-shadow: 0 0 0 0;
                border-radius: .3rem;
                overflow: hidden;
                tr{
                    display: grid;
                    grid-template-columns: 1fr auto;
                    text-align: right;
                    align-items: center;
                    grid-gap: 1rem;
                    background: white;
                    padding: 0 1rem;
                    min-height: 3.5rem;
                    border-bottom: 0;
                    th{
                        font-weight: 300;
                        color: $text1;
                        font-size: .75rem;
                        text-align: right;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        overflow: hidden;
                        padding-right: 1rem;
                    }
                    td{
                        display: grid;
                        grid-template-columns: 1fr;
                        color: $text1;
                        font-size: .7rem;
                        font-weight: 200;
                        overflow: hidden;
                        i{
                            cursor: pointer;
                            svg{
                                width: 1rem;
                                height: 1rem;
                                fill: $text1;
                            }
                        }
                        textarea{
                            border: 1px solid #DFE3E7;
                            padding: 0.3rem .5rem;
                            color: $text1;
                            border-radius: .3rem;
                            font-size: .8rem;
                            width: 100%;
                            height: 2rem;
                            transition: all .3s ease-in-out;
                            resize: vertical;
                            height: 2rem;
                            &:focus{
                                box-shadow: 0 3px 8px 0 rgba(0,0,0,.1);
                                border: 1px solid $blue;
                            }
                        }
                        $shade-10: #2c3e50 !default;
                        $shade-1: #d7dcdf !default;
                        $shade-0: #fff !default;
                        $teal: #1abc9c !default;


                        // Reset
                        * {
                            &,
                            &:before,
                            &:after {
                                box-sizing: border-box;
                            }
                        }

                        body {
                            font-family: sans-serif;
                            padding: 60px 20px;

                            @media (min-width: 600px) {
                                padding: 60px;
                            }
                        }

                        .range-slider {
                            margin: 60px 0 0 0%;
                        }


                        // Range Slider
                        $range-width: 100% !default;

                        $range-handle-color: $shade-10 !default;
                        $range-handle-color-hover: $teal !default;
                        $range-handle-size: 20px !default;

                        $range-track-color: $shade-1 !default;
                        $range-track-height: 10px !default;

                        $range-label-color: $shade-10 !default;
                        $range-label-width: 60px !default;

                        .range-slider {
                            width: $range-width;
                        }

                        .range-slider__range {
                            -webkit-appearance: none;
                            width: calc(100% - (#{$range-label-width + 13px}));
                            height: $range-track-height;
                            border-radius: 5px;
                            background: $range-track-color;
                            outline: none;
                            padding: 0;
                            margin: 0;

                            // Range Handle
                            &::-webkit-slider-thumb {
                                appearance: none;
                                width: $range-handle-size;
                                height: $range-handle-size;
                                border-radius: 50%;
                                background: $range-handle-color;
                                cursor: pointer;
                                transition: background .15s ease-in-out;

                                &:hover {
                                    background: $range-handle-color-hover;
                                }
                            }

                            &:active::-webkit-slider-thumb {
                                background: $range-handle-color-hover;
                            }

                            &::-moz-range-thumb {
                                width: $range-handle-size;
                                height: $range-handle-size;
                                border: 0;
                                border-radius: 50%;
                                background: $range-handle-color;
                                cursor: pointer;
                                transition: background .15s ease-in-out;

                                &:hover {
                                    background: $range-handle-color-hover;
                                }
                            }

                            &:active::-moz-range-thumb {
                                background: $range-handle-color-hover;
                            }

                            // Focus state
                            &:focus {

                                &::-webkit-slider-thumb {
                                    box-shadow: 0 0 0 3px $shade-0,
                                    0 0 0 6px $teal;
                                }
                            }
                        }


                        // Range Label
                        .range-slider__value {
                            display: inline-block;
                            position: relative;
                            width: $range-label-width;
                            color: $shade-0;
                            line-height: 20px;
                            text-align: center;
                            border-radius: 3px;
                            background: $range-label-color;
                            padding: 5px 10px;
                            margin-left: 8px;

                            &:after {
                                position: absolute;
                                top: 8px;
                                left: -7px;
                                width: 0;
                                height: 0;
                                border-top: 7px solid transparent;
                                border-right: 7px solid $range-label-color;
                                border-bottom: 7px solid transparent;
                                content: '';
                            }
                        }


                        // Firefox Overrides
                        ::-moz-range-track {
                            background: $range-track-color;
                            border: 0;
                        }

                        input::-moz-focus-inner,
                        input::-moz-focus-outer {
                            border: 0;
                        }
                    }
                    &:nth-child(2){
                        border-top: 2px solid #DFE3E7;
                    }
                }
            }
            #rates{
                tr{
                    grid-template-columns: 1fr 1fr auto;
                }
            }
            #properties{
                tr{
                    grid-template-columns: 1fr 1fr auto;
                }
            }
            #colors{
                tr{
                    grid-template-columns: 1fr 1fr 1fr 1fr auto;
                }
            }
            #sizes{
                tr{
                    grid-template-columns: 1fr 1fr 1fr auto;
                }
            }
            .abilityPostToolTip{
                background: rgba(255,0,0,.1);
                padding: 0 .5rem;
                border-radius: 5px;
                display: grid;
                grid-template-columns: auto 1fr;
                align-items: center;
                grid-gap: .5rem;
                height: 3rem;
                i{
                    svg{
                        fill: $red;
                        width: 1.2rem;
                        height: 1.2rem;
                        animation: arrow-anim 1.5s ease infinite;
                        margin-bottom: 0;
                        @keyframes arrow-anim {
                            0% {
                                margin-bottom: 0;
                            }
                            10% {
                                margin-bottom: .5rem;
                            }
                            30% {
                                transform: rotate(-40deg);
                            }
                            50% {
                                transform: rotate(40deg);
                            }
                            60% {
                                transform: rotate(-40deg);
                            }
                            70% {
                                transform: rotate(-20deg);
                            }
                            80% {
                                transform: rotate(0);
                                margin-bottom: 1rem;
                            }
                            100% {
                                margin-bottom: .5rem;
                            }
                        }
                    }
                }
                p{
                    font-size: .8rem;
                    font-weight: 300;
                    color: $text1;
                    height: 3rem;
                    display: grid;
                    align-items: center;
                }
            }
        }
        .settingItemChecked{
            display: grid;
            grid-template-columns: 1fr;
            grid-gap: .5rem;
            .item{
                display: grid;
                grid-template-columns: auto auto;
                align-items: center;
                justify-content: space-between;
                padding: 0 .5rem;
                border-radius: .4rem;
                margin-bottom: 1rem;
                font-size: .9rem;
                font-weight: 500;
                cursor: pointer;
                @supports(-webkit-appearance: none) or (-moz-appearance: none) {
                    input[type='checkbox'],
                    input[type='radio'] {
                        --active: #275EFE;
                        --active-inner: #fff;
                        --focus: 2px rgba(39, 94, 254, .3);
                        --border: #BBC1E1;
                        --border-hover: #275EFE;
                        --background: #fff;
                        --disabled: #F6F8FF;
                        --disabled-inner: #E1E6F9;
                        -webkit-appearance: none;
                        -moz-appearance: none;
                        height: 21px;
                        outline: none;
                        display: inline-block;
                        vertical-align: top;
                        position: relative;
                        margin: 0;
                        cursor: pointer;
                        border: 1px solid var(--bc, var(--border));
                        background: var(--b, var(--background));
                        transition: background .3s, border-color .3s, box-shadow .2s;
                        &:after {
                            content: '';
                            display: block;
                            left: 0;
                            top: 0;
                            position: absolute;
                            transition: transform var(--d-t)  var(--d-t-e, ease), opacity var(--d-o, .2s);
                        }
                        &:checked {
                            --b: var(--active);
                            --bc: var(--active);
                            --d-o: .3s;
                            --d-t: .6s;
                            --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
                        }
                        &:disabled {
                            --b: var(--disabled);
                            cursor: not-allowed;
                            opacity: .9;
                            &:checked {
                                --b: var(--disabled-inner);
                                --bc: var(--border);
                            }
                            & + label {
                                cursor: not-allowed;
                            }
                        }
                        &:hover {
                            &:not(:checked) {
                                &:not(:disabled) {
                                    --bc: var(--border-hover);
                                }
                            }
                        }
                        &:focus {
                            box-shadow: 0 0 0 var(--focus);
                        }
                        &:not(.switch) {
                            width: 21px;
                            &:after {
                                opacity: var(--o, 0);
                            }
                            &:checked {
                                --o: 1;
                            }
                        }
                        & + label {
                            font-size: 14px;
                            line-height: 21px;
                            display: inline-block;
                            vertical-align: top;
                            cursor: pointer;
                            margin-left: 4px;
                        }
                    }
                    input[type='checkbox'] {
                        &:not(.switch) {
                            border-radius: 7px;
                            &:after {
                                width: 5px;
                                height: 9px;
                                border: 2px solid var(--active-inner);
                                border-top: 0;
                                border-left: 0;
                                left: 7px;
                                top: 4px;
                                transform: rotate(var(--r, 20deg));
                            }
                            &:checked {
                                --r: 43deg;
                            }
                        }
                        &.switch {
                            width: 38px;
                            border-radius: 11px;
                            &:after {
                                left: 2px;
                                top: 2px;
                                border-radius: 50%;
                                width: 15px;
                                height: 15px;
                                background: var(--ab, var(--border));
                                transform: translateX(var(--x, 0));
                            }
                            &:checked {
                                --ab: var(--active-inner);
                                --x: 17px;
                            }
                            &:disabled {
                                &:not(:checked) {
                                    &:after {
                                        opacity: .6;
                                    }
                                }
                            }
                        }
                    }
                    input[type='radio'] {
                        border-radius: 50%;
                        &:after {
                            width: 19px;
                            height: 19px;
                            border-radius: 50%;
                            background: var(--active-inner);
                            opacity: 0;
                            transform: scale(var(--s, .7));
                        }
                        &:checked {
                            --s: .5;
                        }
                    }
                }
            }
        }
        .settingItemPage{
            display: grid;
            grid-template-columns: repeat(auto-fit,minmax(15rem , 1fr));
            grid-gap: 1rem;
        }
        .addImageButton{
            padding: 0.3rem;
            font-weight: 500;
            font-size: 0.9rem;
            color: white;
            background: #2f8a03;
            margin-right: 0;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
            width: 14rem;
            text-align: center;
            margin-bottom: .5rem;
            cursor: pointer;
        }
        .sendGallery{
            background: white;
            margin-bottom: 1rem;
            border-radius: .2rem;
            display: grid;
            grid-template-columns: 1fr;
            justify-content: center;
            .getImageItem{
                min-height: 12rem;
                border-radius: .4rem;
                border: 2px dashed #DFE3E7;
                display: grid;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                grid-template-columns: repeat(auto-fit , minmax(10rem , auto));
                grid-gap: 1rem;
                padding: 1rem;
                span{
                    color: #494f56;
                    font-size: .7rem;
                    font-weight: 300;
                    text-align: center;
                }
                .getImagePic{
                    position: relative;
                    &:hover{
                        i{
                            visibility: visible;
                            opacity: 1;
                        }
                    }
                    i{
                        display: grid;
                        justify-content: center;
                        align-items: center;
                        width: 2.5rem;
                        height: 2.5rem;
                        border-radius: 5rem;
                        visibility: hidden;
                        opacity: 0;
                        transition: all .3s ease-in-out;
                        background: #cbbdbd;
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        left: 0;
                        right: 0;
                        margin: auto;
                        svg{
                            width: 1.5rem;
                            height: 1.5rem;
                            fill: black;
                        }
                    }
                }
                img{
                    height: 10rem;
                    width: 10rem;
                    object-fit: cover;
                }
            }
            .sendFileItem{
                border-radius: .4rem;
                display: grid;
                justify-content: center;
                align-items: center;
                grid-template-columns: 1fr;
                cursor: pointer;
                grid-gap: 1rem;
                border: 2px dashed $border1;
                background: white;
                margin-bottom: 1rem;
                padding: 1rem;
                margin-top: .5rem;
                position: relative;
                .vue-dropzone{
                    border-radius: .3rem;
                    color: black;
                    border: 0;
                    span{
                        margin-right: .5rem;
                        font-size: 1rem;
                        font-weight: 500;
                        color: black;
                    }
                    .dropzone-custom-content {
                        text-align: center;
                    }

                    .dropzone-custom-title {
                        margin-top: 0;
                        color: orange;
                        font-family: 'irsans';
                        font-style: normal;
                        font-weight: 900;
                        font-size: 1rem;
                    }

                    .subtitle {
                        margin-top: 1rem;
                        color: $text1;
                        font-family: 'irsans';
                        font-style: normal;
                        font-weight: 500;
                        font-size: .8rem;
                    }
                }
                .sendFileItemPic{
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    right: 1rem;
                    margin: auto;
                    img{
                        object-fit: contain;
                        width: 7rem;
                        height: 100%;
                    }
                }
            }
        }
        .langContainer{
            margin-bottom: 1rem;
            background: $border1;
            padding: .5rem;
        }
        .tabsM{
            display: grid;
            grid-template-columns: repeat(4,1fr);
            align-items: center;
            border-bottom: 2px solid $border1;
            .tab{
                padding: .5rem;
                text-align: center;
                font-size: .9rem;
                font-weight: 300;
                color: $text1;
                border-top-right-radius: 5px;
                border-top-left-radius: 5px;
                cursor: pointer;
            }
            .active{
                background: $border1;
            }
        }
        .settingItem{
            margin-bottom: 2rem;
            &:last-child{
                margin-bottom: 0;
            }
        }
    }
    .allCreatePostDetailItem{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-gap: 2rem;
    }
    button{
        padding: .2rem 1rem;
        color: white;
        background: $green;
        border-radius: 5px;
    }
}
