*{
    padding: 0;
    margin: 0;
    /*?？？*/
    box-sizing: border-box;
}




.wrapper{
    position: fixed;
    right: 0;
    top: 0;
    width: 450px;
    height: 100vh;
    /*辅助
    background: yellowgreen;*/
    background: transparent;
    backdrop-filter: blur(15px);
    box-shadow: -1px 0 10px rgba(0, 0, 0, .2);
    border-left: 2px solid rgba(255, 255, 255, .1);

    z-index: 100;
    display: flex;

    /*排列方向变化->不需要纵向排列->改排列
    align-items: center;*/
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;


    /*js控件*/
    opacity: 0;
    pointer-events: none;
}

    /*js新加的类 控件*/
    .wrapper.active-popup{
        opacity: 1;
        pointer-events: auto;
    }







    /**/

    /*js控件x 的样式*/
.icon-close{
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #fff;
    cursor: pointer;

    /*在小盒子中用flex布局来居中*/
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 10px;
}
.icon-close i{
    font-size: 2rem;
    color: #333;
}

    /**/
.wrapper .logreg-box{
    width: 100%;
    /*辅助
    background: pink;*/
}
/*登入后的样式*/
.wrapper .form-box.login{
    /*
    display: none;*/
    display: block;
}
    /*JS添加*/
.wrapper.active .form-box.login{
    display: none;

}




/**/
.logreg-box .logreg-title{
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}
.logreg-title h2{
    font-size: 32px;
}
.logreg-title p{
    font-size: 14px;
    font-weight: 500;
}
.logreg-box .input-box{
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
    border-bottom: 2px solid #fff;
}
/*1.输入框优化*/
.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    /*输入超出问题*/
    padding-right: 25px;

}
.input-box label{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #fff;
    font-weight:500 ;
    pointer-events: none;
    transition: 0.5s;
}




/* 新增类，用于表示 label 处于动画后半段的状态 */
.input-box label.active {
    top: -5px;
}






.input-box .icon{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 19px;
    color: #fff;
}
/*2.输入框下优化*/
.logreg-box .remember-forgot{
    font-size: 14.5px;
    color: #fff;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}
.remember-forgot label input{
    accent-color: #fff;
    margin-right:3px ;
}
.remember-forgot a{
    color: #fff;
    text-decoration: none;
}
.remember-forgot a:hover{
    text-decoration: underline;
}



.logreg-box .btn{
    width: 100%;
    height: 45px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    cursor: pointer;
    font-size: 16px;
    color: #222;
    font-weight: 600;


    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;



}




.logreg-box .logreg-link{
    font-size: 14.5px;
    color: #fff;
    text-align: center;
    font-weight: 500;
    margin: 25px 0 15px;

}
.logreg-link p a{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.logreg-link p a:hover{
    text-decoration: underline
}

.media-options{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.media-options a{
    /*盒子模型的排列？*/
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 50px;
    background: transparent;
    border: 2px solid #fff;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    transition: 0.5s;
}
.media-options a:hover{
    background: rgba(255, 255, 255, .1);
}
.media-options a i{
    font-size: 22px;
    margin: 0 8px 1.5px 0;
}
.media-options a span{
    font-size: 1rem;
    font-weight: 500;
}


/**/
