html,body{
    height: 100%;
    margin: 0;
    padding: 0;
}
p{
    margin: 0;
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
body{
    background: linear-gradient(to bottom,#c74dfa,#d167ed);
}
.wrapper{
    height: 100%;
    background-image: url(./img/bg2.png);
    background-size: 103% auto;
    background-repeat: no-repeat;
    padding-top: 50px;
    box-sizing: border-box;
}
.logo{
    background-color: rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    padding: 10px 30px 10px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}
.logo img{
    width: 40px;
    margin-right: 10px;
    border-radius: 12px;
}
.logo span{
    font-size: 16px;
    color: #fff;
}

.wrapper-inner{
    position: absolute;
    bottom: 60px;
    left: 20px;
    right: 20px;
    border-radius: 12px;
    background: #fff;
}

.wrapper-top{
    display: flex;
    align-items: center;
    padding: 20px;
}
.avatar{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}
.uname{
    padding: 10px 40px 10px 10px;
    background: linear-gradient(to right,#ffebfe 66%,#fff);
    border-radius: 12px;
    position: relative;
}
.uname::after{
    content: '';
    position: absolute;
    top: 50%;
    left: -18px;
    transform: translateY(-50%);
    width: 0;
    border: 10px solid;
    border-color:transparent #ffebfe transparent transparent;
}
.uname-title{
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}
.uname-title span{
    color: red;
    margin-left: 8px;
}
.uname-tip{
    font-size: 14px;
    color: #999;
}

.wrapper-form{
    padding:0 20px;
}
.form-item{
    border: 1px solid #e3e3e3;
    display: flex;
    align-items: center;    
    margin-top: 12px;
    border-radius: 12px;
    padding: 3px;
}
.form-item input{
    border: none;
    outline: none;
    padding: 14px 12px;
}
.rowInput{
    width: 100%;
}
.halfInput{
    flex: 1;
    width: 0;
}
.codeBtn{
    width: 140px;
    color: #333;
    padding: 14px 12px;
    background: none;
    border: none;
    outline: none;
    box-sizing: border-box;
    font-size: 14px;
    text-align: right;
}
.showTip{
    display: none;
}

.toast{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .5);
    color: #fff;
    word-break: break-all;
    max-width: 200px;
    font-size: 14px;
    line-height: 1;
    padding: 14px 12px;
    border-radius: 8px;
}

.submit-btn{
    background: linear-gradient(to right,#c74dfa,#d167ed);
    width: 100%;
    height: 40px;
    border-radius: 20px;
    color: #fff;
    margin: 30px 0;
    border: none;
    outline: none;
    display: block;
}
.submit-btn:disabled{
    background: rgba(0,0,0,0.3);
}

.wrapper-success{
    text-align: center;
    padding:0 20px;
}
.success-img{
    width: 60px;
    margin: 20px 0 10px;
}
.success-text{
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 600;
    color: #fda729;
    line-height: 28px;
    height: 28px;
    white-space: nowrap;
}
.success-tip{
    color: #666;
    font-size: 14px;
}
#successBox{
    display: none;
}

.mask{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 10;
    user-select: none;
    display: none;
}
.mask-inner{
    text-align: center;
    margin-top: 100px;
    color: #fff;
}
.mask-inner::after{
    content: '';
    position: absolute;
    top: 60px;
    right: 18px;
    width: 88px;
    border-top: 1px dashed #fff;
    transform: rotate(-45deg);
}
.mask-inner::before{
    content: '';
    position: absolute;
    top: 18px;
    right: 20px;
    width: 0;
    border: 8px solid;
    border-color:transparent transparent #fff transparent;
    transform: rotate(45deg);
}
.mask-inner p{
    margin-bottom: 20px;
    font-size: 18px;
}