.allVipIndex{
    margin-left: 1rem;
    .success{
        background: rgba(0, 128, 0, 0.26);
        color: #006200;
        padding: 1rem;
        border-radius: .3rem;
        font-size: .85rem;
        font-weight: 300;
        margin-bottom: 1rem;
    }
    .error{
        color: red;
        background: rgba(255, 0, 0, 0.1);
        padding: 1rem;
        border-radius: .3rem;
        font-size: .85rem;
        font-weight: 300;
        margin-bottom: 1rem;
    }
    .chargePrice{
        background: white;
        margin-top: 1rem;
        border: 1px solid $border1;
        border-radius: 10px;
        padding: 1rem;
        overflow: hidden;
        form{
            text-align: center;
            .top{
                .right1{
                    font-size: .9rem;
                    font-weight: 500;
                    color: $text1;
                }
                input{
                    border: 1px solid $border1;
                    padding: 0.3rem .5rem;
                    color: $text1;
                    border-radius: 5px;
                    font-size: 1rem;
                    width: 15rem;
                    transition: all .3s ease-in-out;
                    &:focus{
                        box-shadow: 0 3px 8px 0 rgba(0,0,0,.1);
                        border: 1px solid $blue;
                    }
                }
            }
            p{
                margin-top: 1rem;
                font-size: 1rem;
                font-weight: 500;
                color: red;
            }
            .gateItems{
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: .5rem;
                margin: 1rem 0;
                .gateItem{
                    display: grid;
                    justify-content: center;
                    padding: .5rem;
                    box-shadow: 0 0 10px rgba(0,0,0,.1);
                    border-radius: 10px;
                    cursor: pointer;
                    border: 2px solid $border1;
                    filter: grayscale(1);
                    transition: all .3s ease-in-out;
                    img{
                        height: 3.5rem;
                        width: 3.5rem;
                        object-fit: contain;
                    }
                    &:hover{
                        filter: grayscale(0);
                    }
                }
                .active{
                    border: 2px solid $green;
                    filter: grayscale(0);
                }
            }
            button{
                font-size: .9rem;
                font-weight: 300;
                color: white;
                background: $green;
                padding: .3rem 1rem;
                border-radius: 5px;
                cursor: pointer;
                height: 2.2rem;
            }
        }
    }
    .chargeWidgets{
        display: grid;
        grid-template-columns: repeat(auto-fit , minmax(15rem , 1fr));
        grid-gap: 1rem;
        .WidgetItem{
            display: grid;
            grid-template-columns: auto 1fr;
            align-items: center;
            grid-gap: 1rem;
            padding: 1rem;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            background: white;
            z-index: 1;
            border: 1px solid $border1;
            .WidgetIcon{
                position: relative;
                display: grid;
                justify-content: center;
                align-items: center;
                svg{
                    width: 4rem;
                    height: 4rem;
                }
            }
            .WidgetSubject{
                position: relative;
                z-index: 5;
                h4{
                    font-size: .8rem;
                    color: $text1;
                    font-weight: 300;
                }
                h5{
                    font-size: .85rem;
                    color: $text2;
                    font-weight: 700;
                    margin-top: .5rem;
                    span{
                        letter-spacing: .2px;
                    }
                }
            }
        }
    }
    .packs{
        background: white;
        padding: 1rem;
        margin: 1rem 0;
        box-shadow: 0 0 10px rgba(0,0,0,.1);
        border-radius: 10px;
        .title{
            font-size: 1.2rem;
            font-weight: 700;
            color: $text2;
            margin-bottom: .5rem;
        }
        .body{
            font-size: 1rem;
            font-weight: 500;
            color: $text1;
            margin-bottom: 1rem;
        }
        .items{
            display: grid;
            grid-template-columns: repeat(auto-fill,minmax(20rem,1fr));
            grid-gap: 1rem;
            .item{
                display: grid;
                padding: 1rem;
                border-radius: 10px;
                border: 1px solid #ddd;
                h4{
                    text-align: center;
                    font-size: 1rem;
                    font-weight: 700;
                    color: $text2;
                    margin-bottom: .5rem;
                }
                p{
                    text-align: center;
                    font-size: .9rem;
                    font-weight: 300;
                    color: $text1;
                    margin-bottom: 1rem;
                }
                .option{
                    margin-bottom: 1rem;
                    font-size: .9rem;
                    font-weight: 700;
                    color: $text2;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: .5rem;
                    span{
                        &:first-child{
                            font-weight: 300;
                            font-size: .8rem;
                            opacity: .7;
                        }
                    }
                }
                .button{
                    display: grid;
                    width: 100%;
                    background: green;
                    border-radius: 5px;
                    padding: .3rem 1rem;
                    font-size: 1rem;
                    font-weight: 300;
                    color: white;
                    text-align: center;
                }
            }
        }
    }
    table{
        margin-top: 1rem;
        background: white;
        border-radius: 10px;
        width: 100%;
        border: 1px solid $border1;
        tr{
            display: grid;
            grid-template-columns: repeat(auto-fit,minmax(1px , 1fr));
            align-items: center;
            grid-gap: 1rem;
            padding: 1rem;
            th{
                font-weight: 700;
                color: $text1;
                font-size: .85rem;
                text-align: center;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                display: grid;
                align-items: center;
                justify-content: center;
            }
            td{
                font-weight: 300;
                font-size: .85rem;
                text-align: center;
                color: $text1;
                .active{
                    background: green;
                    padding: .3rem .5rem;
                    font-size: .8rem;
                    font-weight: 300;
                    color: white !important;
                    border-radius: 5px;
                }
                .unActive{
                    background: red;
                    padding: .3rem .5rem;
                    font-size: .8rem;
                    font-weight: 300;
                    color: white !important;
                    border-radius: 5px;
                }
            }
            &:nth-child(even){
                background: #eeeeee;
            }
        }
    }
    @media screen and (max-width:1000px) {
        margin: .5rem;
        .chargePrice{
            padding: .5rem;
            form{
                .top{
                    .right1{
                        font-size: .8rem;
                    }
                    input{
                        font-size: .8rem;
                        width: 100%;
                    }
                }
                .gateItems{
                    .gateItem{
                        img{
                            height: 2rem;
                            width: 2rem;
                        }
                    }
                }
            }
        }
        .chargeWidgets{
            grid-template-columns: 1fr 1fr;
            grid-gap: .5rem;
            .WidgetItem{
                display: block;
                padding: .5rem;
                .WidgetIcon{
                    display: none;
                }
                .WidgetSubject{
                    h4{
                        font-size: .75rem;
                    }
                    h5{
                        font-size: .8rem;
                    }
                }
            }
        }
        .allTables{
            overflow-x: scroll;
            table{
                clear: both;
                margin-top: 6px !important;
                margin-bottom: 6px !important;
                max-width: none !important;
                border-collapse: separate !important;
                width: 100%;
                tbody{
                    background: white;
                }
                tr{
                    display: flex;
                    td,th{
                        min-width: 6rem;
                    }
                    .buttons{
                        min-width: 6rem;
                    }
                }
            }
        }
    }
}
