// Admin Settings
:root {
    --eswislst-primaryColorAdmin: #6648fe;
    --eswislst-successColorAdmin: green;
    --eswislst-dangerColorAdmin: red;
    --eswislst-bgColorAdmin: rgba(93, 93, 255, 0.13);
    --eswislst-navColorAdmin: #e0dbdb;
    --eswislst-titleColorAdmin: #181839;
}
#toplevel_page_easy-wishlist .wp-menu-image img {
    height: 22px;
    width: 32px;
    padding-top: 6px;
}
.toplevel_page_easy-wishlist {
    #wpbody-content {
        
        float: none;
        .notice, div.error, div.updated {
            margin-bottom: 10px;
        }
    }
    .easy-wishlist-settings-tabs-wrapper {
        width: 70%;
        margin: auto;
        margin-top: 40px;
        .tabs.easy-wishlist-settings-tabs {
            background-color: #ffffff;
            margin: auto;
            border-radius: 10px;
            overflow: hidden;
            ul#tabs-nav {
                list-style: none;
                margin: 0;
                overflow: auto;
                background-color: var(--eswislst-titleColorAdmin);
                border-bottom: 1px solid #ededed;
                li {
                    float: left;
                    margin-bottom: 0;
                    cursor: pointer;
                    a {
                        text-decoration: none;
                        color: var(--eswislst-navColorAdmin);
                        padding: 16px 25px;
                        display: flex;
                        font-size: 16px;
                        position: relative;
                        column-gap: 8px;
                        border-bottom: 1px solid #373737;
                    }
                    &:focus,
                    &:hover a,
                    &.active a {
                        box-shadow: none;
                        background-color: var(--eswislst-primaryColorAdmin);
                        color: #fff;
                    }
                }
            }
            .tab-contents-wrapper {
                background: #fff;
                flex: 1 1 100%;
                min-width: 0;
                position: relative;
                .tab-content {
                    margin: 30px 0 0;
                    padding: 0 30px;
                    height: 600px;
                    overflow: auto;
                    th[scope="row"] {
                        display: none;
                    }
                    .section-title{
                        font-size: 22px;
                        border-bottom: 1px solid #ededed;
                        padding-bottom: 30px;
                        &:first-child{
                            margin-top: 0;
                        }
                        &:not(:first-child) {
                            margin-top: 50px;
                            margin-bottom: 20px;
                        }
                    }
                    .settings-item {
                        display: flex;
                        row-gap: 30px;
                        align-items: center;
                        border-bottom: 1px solid #ededed82;
                        padding: 40px 0;
                        .input-group {
                            display: flex;
                            flex-direction: column;
                        }
                        &.sub-section {
                            border-bottom: none;
                            display: flex;
                            flex-direction: column;
                            align-items: baseline;
                            .sub-section-title {
                                display: block;
                                width: auto;
                                background: #222;
                                color: #fff;
                                padding: 5px 10px;
                                border-radius: 5px;
                                font-weight: 400;;
                            }
                            .sub-section-fields {
                                display: flex;
                                gap: 15px;
                                flex-wrap: wrap;
                                flex-direction: column;
                                width: 100%;
                                .settings-item {
                                    flex-direction: row;
                                    gap: 50px;
                                    label {
                                        margin-bottom: 3px;
                                    }
                                }
                            }
                        }
                        input,
                        textarea,
                        select {
                            width: 200px;
                            height: 2.5em;
                            border-color: #d5d5d5;
                            &:focus {
                                box-shadow: none;
                                outline: none;
                            }
                        }
                        input[type="checkbox"]{
                            font-size: 13px;
                            appearance: none;
                            width: 3.5em;
                            max-width: 3.5em;
                            height: 1.5em;
                            background: var(--eswislst-bgColorAdmin);
                            border-radius: 3em;
                            position: relative;
                            cursor: pointer;
                            outline: none;
                            transition: all .2s ease-in-out;
                            margin-bottom: 0;
                        }
                        input[type="checkbox"]:checked{
                            background: var(--eswislst-primaryColorAdmin);
                        }
                        input[type="checkbox"]:after{
                        position: absolute;
                        content: "";
                        width: 1.3em;
                        height: 1.3em;
                        border-radius: 50%;
                        background: #fff;
                        box-shadow: 0 0 .25em rgba(0,0,0,.3);
                        transform: scale(.7);
                        left: 0;
                        transition: all .2s ease-in-out;
                        }
                        input[type="checkbox"]:checked:after{
                        left: calc(100% - 1.5em);
                        }
                        input[type="checkbox"]:checked::before{
                            display: none;
                        }
                        textarea {
                            width: 300px;
                            height: 100px;
                        }
                            & > label {
                                width: 25%;
                                display: inline-block;
                                font-size: 14px;
                                font-weight: 500;
                            }
                            & > .input-fields {
                                width: 75%;
                            }
                        .settings-item-multiple {
                            display: flex;
                            flex-wrap: wrap;
                            &.colors-multiple {
                                gap: 10px;
                            }
                            .settings-item-inner {
                                label {
                                    display: block;
                                    margin-bottom: 3px;
                                }
                            }
                            input, select {
                                width: 100px;
                            }
                            &.fields-group {
                                input {
                                    margin: 0;
                                    border-radius: 0px;
                                }
                                .settings-item-inner:nth-of-type(1){
                                    input {
                                        border-right: none;
                                        border-top-left-radius: 3px;
                                        border-bottom-left-radius: 3px;
                                    }
                                }
                                .settings-item-inner:nth-of-type(3){
                                    input {
                                        border-left: none;
                                    }
                                }
                                .settings-item-inner:nth-of-type(4){
                                    input {
                                        border-left: none;
                                        border-top-right-radius: 3px;
                                        border-bottom-right-radius: 3px;
                                    }
                                }
                            }
                        }
                        .wp-picker-container {
                            position: relative;
                            input.button.button-small.wp-picker-clear {
                                margin-right: 10px;
                                width: 70px;
                            }
                            .wp-picker-holder {
                                position: absolute;
                                left: 0;
                                top: 30px;
                                z-index: 2;
                            }
                        }
                    }
                    
                }
            }
            .form-footer {
                position: sticky;
                bottom: 0;
                padding: 0 30px;
                display: flex;
                gap: 10px;
                align-items: center;
                border-top: 1px solid rgba(237, 237, 237, 0.5098039216);
                .eswislst-ajax-loader {
                    display: none;
                    img {
                        height: 18px;
                        margin: auto;
                        display: block;
                    }
                }
                .form-status {
                    font-weight: 600;
                }
                .success-msg {
                    color: var(--eswislst-successColorAdmin);
                }
                .failure-msg {
                    color: var(--eswislst-dangerColorAdmin);
                }
                p.submit {
                    margin: 0;
                    padding-bottom: 10px;
                    text-align: right;
                    input[type="submit"].button-primary {
                        background: var(--eswislst-primaryColorAdmin) !important;
                        border-color: var(--eswislst-primaryColorAdmin) !important;
                        padding: 3px 15px;
                        font-size: 14px;
                    }
                }
            }
           
        }
    }
    
}
