.allShowPay{
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 1rem;
    .topShowPay{
        .title{
            display: flex;
            justify-content: right;
            align-items: center;
            gap: 1rem;
            border-bottom: 1px solid $border1;
            padding-bottom: 1rem;
            h2{
                font-size: 1.2rem;
                color: $text1;
                font-weight: 700;
            }
            span{
                font-size: .8rem;
                font-weight: 300;
                color: $text1;
                opacity: .7;
                background: #f5f5f5;
                padding: .2rem 1rem;
                border-radius: 5px;
            }
            button{
                display: grid;
                grid-template-columns: auto auto;
                justify-content: right;
                align-items: center;
                grid-gap: .5rem;
                font-size: .8rem;
                color: white;
                background: $green;
                font-weight: 500;
                padding: .3rem 1rem;
                border-radius: 5px;
                a{
                    color: white;
                }
                svg{
                    fill: white;
                    width: 1rem;
                    height: 1rem;
                }
            }
            a{
                display: flex;
                justify-content: right;
                align-items: center;
                gap: .5rem;
                font-size: .8rem;
                color: white;
                background: $green;
                font-weight: 500;
                padding: .3rem 1rem;
                border-radius: 5px;
                svg{
                    fill: white;
                    width: 1rem;
                    height: 1rem;
                }
            }
            @media screen and (max-width: 500px) {
                h2{
                    font-size: 1rem;
                }
                span{
                    font-size: .7rem;
                }
            }
        }
        .detail{
            .items{
                display: flex;
                flex-wrap: wrap;
                justify-content: right;
                align-items: center;
                grid-gap: 1.5rem;
                margin-top: 1rem;
                .item{
                    display: grid;
                    grid-template-columns: auto auto;
                    justify-content: right;
                    align-items: center;
                    grid-gap: .5rem;
                    h5{
                        font-size: .8rem;
                        font-weight: 500;
                        color: $text1;
                        opacity: .7;
                    }
                    div{
                        font-size: .8rem;
                        font-weight: 500;
                        color: $text1;
                    }
                    select,input{
                         background: white;
                         border: 1px solid #DFE3E7;
                         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;
                         }
                     }
                    .active{
                        display: grid;
                        grid-template-columns: auto auto;
                        justify-content: right;
                        align-items: center;
                        grid-gap: .5rem;
                        &:before{
                            width: 10px;
                            height: 10px;
                            content: "";
                            background: $green;
                            border-radius: 5rem;
                        }
                    }
                    .unActive{
                        display: grid;
                        grid-template-columns: auto auto;
                        justify-content: right;
                        align-items: center;
                        grid-gap: .5rem;
                        &:before{
                            width: 10px;
                            height: 10px;
                            content: "";
                            background: red;
                            border-radius: 5rem;
                        }
                    }
                }
                button{
                    padding: .3rem 1rem;
                    background: green;
                    border-radius: 5px;
                    font-size: .9rem;
                    font-weight: 300;
                    color: white;
                }
            }
            @media screen and (max-width: 700px) {
                .items{
                    grid-template-columns: 1fr;
                }
            }
            .topDetail{
                border-bottom: 1px solid $border1;
                padding-bottom: 1rem;
                margin-bottom: 1rem;
            }
            .botDetail{
                border-bottom: 1px solid $border1;
                padding-bottom: 1rem;
            }
        }
        .trackPay{
            border-bottom: 1px solid $border1;
            padding: 1rem 0;
            display: grid;
            grid-template-columns: auto auto;
            justify-content: right;
            input{
                padding: .3rem 1rem;
                background: #eee;
                border-top-right-radius: 5px;
                border-bottom-right-radius: 5px;
                font-size: .9rem;
                font-weight: 300;
                color: $text1;
            }
            button{
                padding: .3rem 1rem;
                background: $blue;
                border-top-left-radius: 5px;
                border-bottom-left-radius: 5px;
                font-size: .9rem;
                font-weight: 300;
                color: white;
            }
            label,h4{
                font-size: .9rem;
                font-weight: 500;
                color: $text1;
            }
            span{
                font-size: .9rem;
                font-weight: 300;
                color: $text1;
                opacity: .7;
            }
            p{
                border-radius: 5px;
                background: #f5f5f5;
                font-size: .9rem;
                font-weight: 300;
                color: $text1;
                opacity: .7;
                padding: .5rem;
            }
            label,h4{
                font-size: .9rem;
                font-weight: 500;
                color: $text1;
            }
            &:last-child{
                grid-template-columns: 1fr;
                grid-gap: .5rem;
            }
        }
    }
    .note{
        padding: 1rem;
        background: rgba(255,0,0,.1);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 1rem;
        label{
            font-size: .8rem;
            font-weight: 300;
            color: red;
            display: grid;
        }
        p,a{
            font-size: .8rem;
            font-weight: 300;
            color: red;
            text-align: left;
        }
    }
    .allShowPayContainer{
        .topContainer{
            margin-top: 3rem;
            padding-bottom: 3rem;
            form{
                border: 1px solid $border1;
                padding: 1rem;
                border-radius: 10px;
                display: flex;
                flex-direction: column;
                grid-gap: 1rem;
                .name{
                    font-size: 1rem;
                    font-weight: 500;
                    color: $text1;
                }
                select,textarea{
                    background: #f5f5f5;
                    padding: .5rem;
                    color: $text1;
                    border-radius: 5px;
                    font-size: 1rem;
                    width: 100%;
                    transition: all .3s ease-in-out;
                    border: 1px solid #f5f5f5;
                    &:focus{
                        border: 1px solid $blue;
                    }
                }
                button{
                    font-size: .8rem;
                    font-weight: 500;
                    color: white;
                    background: red;
                    width: 8rem;
                    padding: .3rem .5rem;
                    border-radius: 5px;
                }
            }
        }
        .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;
                font-size: 1rem;
                font-weight: 300;
                color: $text1;
                opacity: .7;
            }
            .abilityTable{
                display: grid;
                grid-template-columns: 1fr;
                margin: 1rem 0;
                box-shadow: 0 0 0 0;
                border-radius: .3rem;
                background: #f5f5f5;
                li{
                    display: grid;
                    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
                    text-align: right;
                    align-items: center;
                    grid-gap: 1rem;
                    background: white;
                    padding: 0 1rem;
                    min-height: 3.5rem;
                    border-bottom: 0;
                    h4{
                        color: $text1;
                        font-size: .8rem;
                        opacity: .7;
                        font-weight: 500;
                        text-align: center;
                    }
                    select,input{
                        background: white;
                        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;
                        &:focus{
                            box-shadow: 0 3px 8px 0 rgba(0,0,0,.1);
                            border: 1px solid $blue;
                        }
                    }
                    &:nth-child(2){
                        border-top: 2px solid #DFE3E7;
                    }
                }
            }
            button{
                font-size: 1rem;
                font-weight: 300;
                color: white;
                background: $green;
                padding: .1rem .5rem;
                border-radius: 5px;
            }
        }
        .items{
            background: #f5f5f5;
            padding: 1rem;
            border-radius: 10px;
            .titleProducts{
                display: flex;
                justify-content: space-between;
                align-items: center;
                .title{
                    font-size: 1.2rem;
                    font-weight: 700;
                    color: $text1;
                    margin-bottom: 1rem;
                }
                button{
                    padding: .3rem 1rem;
                    font-size: .8rem;
                    font-weight: 300;
                    background: green;
                    color: white;
                    border-radius: 5px;
                }
            }
            .item{
                padding: 1rem;
                display: grid;
                grid-template-columns: auto 1fr;
                align-items: center;
                border-radius: 10px;
                box-shadow: 0 0 5px rgba(0,0,0,.05);
                background: white;
                margin-bottom: 1rem;
                grid-gap: 1rem;
                position: relative;
                .cartDetailPic{
                    img{
                        width: 100%;
                        max-width: 10rem;
                        height: 8rem;
                        object-fit: cover;
                    }
                    i{
                        position: absolute;
                        top: 0;
                        right: 0;
                        cursor: pointer;
                        svg{
                            width: 1rem;
                            height: 1rem;
                            fill: red;
                        }
                    }
                }
                .cartDetailInfo{
                    .cartDetailInfoItem{
                        margin-top: .5rem;
                        display: grid;
                        grid-template-columns: auto 1fr;
                        grid-gap: .5rem;
                        align-items: center;
                        span{
                            color: $text1;
                            opacity: .7;
                            font-size: .85rem;
                            font-weight: 300;
                        }
                        .cancel{
                            opacity: 1;
                            color: red;
                        }
                        h3{
                            font-size: 1rem;
                            line-height: 1.375;
                            color: $text1;
                            font-weight: 500;
                        }
                        select,input{
                            padding: 5px 10px;
                            background: white;
                            border: 1px solid $border1;
                            border-radius: 5px;
                            font-size: .9rem;
                            font-weight: 300;
                            color: black;
                        }
                    }
                    .buttons{
                        display: flex;
                        justify-content: right;
                        align-items: center;
                        gap: .5rem;
                        margin-top: .5rem;
                        button{
                            padding: 5px 10px;
                            background: green;
                            color: white;
                            border-radius: 5px;
                            font-size: .8rem;
                            font-weight: 300;
                        }
                    }
                }
                &:last-child{
                    margin-bottom: 0;
                }
            }
            @media screen and (max-width: 500px) {
                .item{
                    grid-template-columns: 1fr;
                    .cartDetailPic{
                        display: grid;
                        justify-content: center;
                    }
                }
            }
        }
    }
    .printPay{
        position: absolute;
        top: 0;
        visibility: hidden;
        opacity: 0;
    }
    .addProducts{
        background: rgba(0,0,0,.5);
        z-index: 4000;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        overflow-y: scroll;
        .showProducts {
            width: 50%;
            margin: auto;
            background: white;
            border-radius: .4rem;
            position: relative;
            padding: 1rem;
            .item{
                margin-bottom: 1rem;
                h4{
                    color: $text1;
                    font-weight: 500;
                    font-size: .9rem;
                }
                select,input{
                    background: white;
                    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;
                    &:focus{
                        box-shadow: 0 3px 8px 0 rgba(0,0,0,.1);
                        border: 1px solid $blue;
                    }
                }
            }
            .buttons{
                display: flex;
                gap: 1rem;
                button{
                    &:last-child{
                        background: red;
                    }
                }
            }
            button{
                padding: .3rem 1rem;
                background: green;
                border-radius: 5px;
                font-size: .8rem;
                font-weight: 300;
                color: white;
            }
        }
    }
    .showAllMap{
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        background: hsla(0,0%,52.9%,.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        overflow-y: scroll;
        .map1 {
            background: white;
            padding: 1rem;
            width: 80%;
            margin: auto;
            border-radius: 10px;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            .mapp-anchor{
                display: none;
            }
            #map1{
                height: 30rem;
            }
            .mapp-modal{
                display: none;
            }
        }
    }
    .activesAddress{
        opacity: 1;
        visibility: visible;
    }
}
