@import "./common.less";
@baseColor: #0099ff;
.container-mb {
    padding: .16rem 0;

    .header {
        .pr();
        .lh(1.4rem);
        .fs(.46rem, #343434);
        text-align: center;
        background: #fff;
        border-radius: .1rem;

        .menu {
            .pa();
            top: 0;
            left: .26rem;
            width: .57rem;
            height: 100%;
            background: url("../images/icon_menu.png") no-repeat center;
            background-size: 100% auto;
        }

        .avatar {
            .pa();
            top: .18rem;
            right: .26rem;
            width: .89rem;
        }
    }

    .content {
        .account-info {
            margin: .2rem 0;
            background: #fff;
            border-radius: .1rem;
            padding: .4rem .5rem;

            li {
                .fs(.38rem, #646464);
                font-weight: bold;
                padding: .2rem 0 .2rem .66rem;

                &.icon-account-info {
                    background: url("../images/icon_account.png") no-repeat left center;
                    background-size: .35rem auto;
                }

                &.icon-o {
                    background: url("../images/icon_O.png") no-repeat left center;
                    background-size: .35rem auto;

                    em {
                        color: #bdbdbd;
                    }
                }

                &.icon-safe {
                    background: url("../images/icon_safe.png") no-repeat left center;
                    background-size: .35rem auto;
                }

                &.icon-vip {
                    background: url("../images/icon_vip.png") no-repeat left center;
                    background-size: .35rem auto;
                }

                &.icon-orange {
                    background: url("../images/icon_orange.png") no-repeat left center;
                    background-size: .35rem auto;
                }

                .fs-normal {
                    font-weight: normal;
                    margin-right: .3rem;
                }

                .error-msg {
                    font-size: .24rem;
                    color: #f00;
                }

                a {
                    font-size: .33rem;
                    color: @baseColor;
                    font-weight: normal;
                }

                .safe-range {
                    color: #ffba00;
                    font-weight: normal;
                    margin-left: .2rem;
                }
            }
        }

        .account-auth {
            li {
                border-radius: .1rem;
                padding: .4rem .5rem .4rem 1.6rem;
                overflow: hidden;

                &.phone-auth {
                    background: #fff url("../images/icon_phone_auth.png") no-repeat .5rem center;
                    background-size: .96rem auto;
                }

                &.reg-auth {
                    background: #fff url("../images/icon_reg_auth.png") no-repeat .5rem center;
                    background-size: .96rem auto;
                }

                &.realName-auth {
                    background: #fff url("../images/icon_realname_auth.png") no-repeat .5rem center;
                    background-size: .96rem auto;
                }

                .auth-title {
                    .fl();
                    text-align: center;

                    h4 {
                        .fs(.38rem, #343434);
                        padding-bottom: .15rem;
                    }

                    span {
                        .fs(.2rem, #343434);

                        em {
                            display: inline-block;
                            vertical-align: middle;
                            width: .2rem;
                            height: .2rem;
                            border: 1px solid #ababab;
                            border-radius: 100%;
                            margin-right: .1rem;

                            &.current {
                                width: .24rem;
                                height: .24rem;
                                background: #1fda91 url("../images/icon_checked.png") no-repeat center;
                                background-size: .22rem auto;
                                border-radius: 100%;
                                border: 0;
                            }
                        }
                    }
                }

                .auth-info {
                    .fl();
                    margin-left: .7rem;
                    width: 5.7rem;
                    padding-top: .2rem;
                    .manyells();
                    .fs(.28rem, #bdbdbd);
                }
            }
        }
    }

    .left-container {
        .pf();
        left: -110%;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .6);
        .transition();
        overflow-y: auto;

        &.current {
            left: 0;
        }

        .left-menu {
            .pr();
            background: #fff;
            width: 5rem;
            padding: 0 .1rem;
            height: 100vh;
            min-height: 10rem;

            .header-avatar {
                padding: .7rem 0 .6rem;
                text-align: center;
                border-bottom: 1px solid #f1f1f1;

                img {
                    width: 1.4rem;
                }

                span {
                    display: block;
                    .fs(.38rem, #343434)
                }
            }

            .menu {
                li {
                    a {
                        display: block;
                        width: 3.3rem;
                        padding: .2rem 0;
                        margin: .7rem auto 0;
                        text-indent: 1.2rem;
                        .fs(.38rem, #999);

                        &.icon-left-info {
                            background: url("../images/icon_left_info.png") no-repeat .56rem center;
                            background-size: .4rem auto;
                        }

                        &.icon-left-safe {
                            background: url("../images/icon_left_safe.png") no-repeat .56rem center;
                            background-size: .4rem auto;
                        }

                        &.icon-left-customer {
                            background: url("../images/icon_customer.png") no-repeat .46rem center;
                            background-size: .6rem auto;
                        }
                        &.icon-left-gift{
                            background: url("../images/icon_gift.png") no-repeat .56rem center;
                            background-size: .4rem auto;
                        }
                        &.current {
                            color: #fff;
                            border-radius: .1rem;

                            &.icon-left-info {
                                background: @baseColor url("../images/icon_left_info_on.png") no-repeat .56rem center;
                                background-size: .4rem auto;
                            }
                            &.icon-left-gift{
                                background: @baseColor  url("../images/icon_gift_on.png") no-repeat .56rem center;
                                background-size: .4rem auto;
                            }
                            &.icon-left-safe {
                                background: @baseColor url("../images/icon_left_safe_on.png") no-repeat .56rem center;
                                background-size: .4rem auto;
                            }
                            &.icon-left-customer {
                                background: url("../images/icon_customer_on.png") no-repeat .46rem center;
                                background-size: .6rem auto;
                            }
                        }
                    }
                }
            }

            .btn-logout {
                .pa();
                left: 50%;
                margin-left: -1.65rem;
                bottom: 1.3rem;
                width: 3.3rem;
                height: .9rem;
                line-height: .9rem;
                font-size: .38rem;
                text-align: center;
                background: #ff2b1d;
                border-radius: .1rem;
                box-shadow: 0 0 0;
            }
        }
    }

    .dialog-orange {
        .form-container {
            margin: 0 auto;
        }

        .bind-rules {
            overflow-y: scroll;
            padding: 0 .4rem;

            h4 {
                padding: .5rem 0;
                .fs(.32rem, #343434);
            }

            p {
                text-align: left;
                .fs(.28rem, #646464);
                padding-bottom: .2rem;
            }
        }
    }
}

.mb-header {
    .pf();
    top: 0;
    left: 0;
    .fs(.44rem, #343434);
    height: 1.2rem;
    line-height: 1.2rem;
    width: 100%;
    text-align: center;
    background: #fff;
    font-family: "Microsoft YaHei";
    font-weight: bold;

    .back {
        .pa();
        top: .4rem;
        left: .4rem;
        width: .23rem;
        height: .41rem;
        background: url("../images/icon_back.png") no-repeat center;
        background-size: 100% auto;
    }
}
// 我的礼包
.package-container{
    li{
        .pr();
        width: 96%;
        margin: 0 auto .24rem;
        background:#fff;
        border-radius: .1rem;
        box-shadow: 6px 6px 10px rgba(153,153,153,.16);
        font-size: 0;
        img{
            width:5.6rem;
            display: inline-block;
        }
        .package-info{
            vertical-align: top;
            display: inline-block;
            max-width: 4.4rem;
            h3{
                .fs(.38rem,#000);
                padding: .4rem 0 .16rem;
            }
            .gift-span{
                border: 1px solid #ababab;
                border-radius: 4px;
                width: 3.2rem;
                text-align: center;
                font-size: 0;
                span{
                    width: 50%;
                    display: inline-block;
                    .fs(.24rem,#000000);
                    height: .42rem;
                    line-height: .44rem;
                    cursor: pointer;
                    .pr();
                    &.current{
                        color: @baseColor;
                    }
                    &.border-right{
                        border-right: 1px solid #ababab;
                        box-sizing: border-box;
                    }
                }
            }
            .gift-detail{
                .pa();
                left: 6rem;
                bottom: .4rem;
                line-height: .8rem;
                text-align: center;
            }
            p{
                .fs(.28rem,#c9c8c8);
                padding-top: .1rem;
                line-height: .46rem;
            }
            button,.gift-detail{
                .pa();
                left: 6rem;
                bottom: .4rem;
                width:2.3rem;
                height: .8rem;
                border-radius: .1rem;
                border:2px solid #3bb1ff;
                .fs(.3rem,#3bb1ff);
                background: #ddf1ff;
                box-shadow: 0 0 0;
            }
        }
    }
    &.package-container-record-mb{
        li{
            margin-top: .2rem;
            height: auto;
            text-align: center;
            min-height: 90vh;
            img{
                width:96%;
                margin: .2rem 0 0;
            }
            .package-info {
                max-width:96%;
                text-align: left;
                h3 {
                    text-align: left;
                    padding: .5rem 0 .3rem;
                    .fs(.6rem,#343434)
                }
                p{
                    .fs(.32rem,#c9c8c8);
                    padding-top: .05rem;
                    line-height: .66rem;
                }
            }
        }
    }

}
.gift-explain{
    width: 90%;
    background: #fff;
    margin: 0 auto;
    .fs(.36rem,#343434);
    line-height: .5rem;
    padding-bottom: .5rem;
}
.selct-container{
    .select{
        width: 100%;
        height: 1.46rem;
        display: inline-block;
        vertical-align: middle;
        .fs(.4rem,#343434);
    }
    .select{
        .pr();
        span{
            display: block;
            line-height: 1.46rem;
            cursor: pointer;
            background: url("../images/icon_select.png") no-repeat 96% center;
            background-size: .4rem auto;
        }
        .select-option{
            .pa();
            left: -14%;
            top:1.5rem;
            z-index: 1;
            .hide();
            border: 1px solid #f1f1f1;
            width: 113%;
            max-height: 2.4rem;
            overflow: auto;
            background: #fff;
            li{
                .lh(.8rem);
                cursor: pointer;
                padding-left: .2rem;
                &:last-child{
                    border-bottom: 0;
                }
                &:hover{
                    background: @baseColor;
                    color: #fff;
                }
            }
        }
    }
}
.dialog.confirm-container{
    .form-container{
        .pa();
        left: 50%;
        top: 50%;
        margin:-80px 0 0 -130px;
        width: 260px;
        border-radius: 10px;
        .close{
            width: 16px;
            height: 16px;
        }
        h3{
            text-align: center;
            padding: 0;
            height: 42px;
            line-height: 42px;
            border-bottom: 1px solid #eee;
            font-size: 14px;
            color: #333;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            background-color: #F8F8F8;
        }
    }
    .message-content{
        padding: 20px;
        text-align: center;
        position: relative;
        line-height: 24px;
        word-break: break-all;
        font-size: 14px;
        overflow: auto;
        a{
            width: 3rem;
            display: block;
            margin: 24px auto 0;
            border-color: #4898d5;
            background-color: @baseColor;
            color: #fff;
            font-size: 14px;
            height: 28px;
            line-height: 28px;
            border-radius: 2px;
            font-weight: 400;
            cursor: pointer;
            text-decoration: none;
        }
    }
}
.relation-game{
    padding: .4rem 0;
    border-radius: .1rem;
    box-shadow: 0 0 0;
    .swiper-container{
        width: 80%;
        margin: 0 auto;
        height: 2rem;
        .swiper-slide{
            width: 33.33%;
            text-align: center;
            img{
                width: 1.5rem;
            }
            span{
                padding: .1rem 0 0;
                display: block;
                .fs(.32rem,#343434);
            }
        }
    }
    .swiper-button-next{
        right: .4rem;
        background: url("../images/icon_next.png") no-repeat center;
        background-size: .4rem auto;
    }
    .swiper-button-prev{
        left: .4rem;
        background: url("../images/icon_prev.png") no-repeat center;
        background-size: .4rem auto;
    }
}


// 账号安全
.account-safe-range{
    width: 96%;
    padding: .4rem 0;
    margin: .2rem auto .3rem;
    .fs(.4rem,#5D5D5D);
    border-radius: .1rem;
    em{
        width: 1.1rem;
        height: .22rem;
        border-radius: .1rem;
    }
}
.account-safe-list{
    width: 96%;
    margin: 0 auto;
    li{
        width: auto;
        border-radius: .1rem;
        margin-bottom: .1rem;
        padding: .4rem .4rem .4rem 1.5rem;
        h3{
            padding: .04rem 0 .06rem;
            .fs(.34rem,#5D5D5D);
            span{
                .fs(.22rem,#EF2727);
                margin-left: .1rem;
            }
        }
        p{
            .fs(.12rem,#5D5D5D);
            width: 76%;
            .ells();
        }
        &.icon-change-word{
            background:#fff url("../images/icon_change_word.png") no-repeat .4rem center;
            background-size: 1rem auto;
        }
        &.icon-bind-phone{
            background:#fff url("../images/icon_bind_phone.png") no-repeat .4rem center;
            background-size: 1rem auto;
        }
        &.icon-bind-email{
            background:#fff url("../images/icon_email.png") no-repeat .4rem center;
            background-size: 1rem auto;
        }
        &.icon-bind-realname{
            background:#fff url("../images/icon_bind_realName.png") no-repeat .4rem center;
            background-size: 1rem auto;
        }
        a{
            top: .5rem;
            right: .4rem;
            .fs(.32rem,029BFF);
            width: 2.1rem;
            height: .68rem;
            line-height: .68rem;
            border-radius: .1rem;
        }
    }
}
