/*登录*/
button, input {
    border: none;
    outline: 0;
}

.dialog-mask {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99;
}

.dialog-mask-color {
    background: rgb(0, 0, 0);
    filter: alpha(opacity=60);
    background: rgba(0, 0, 0, .6);
}

.dialog-content {
    width: 420px;
    min-height: 394px;
    padding: 30px 40px 40px;
    background: #ffffff;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #2F3133;
    z-index: 100;
}

.flex {
    display: flex;
}

.flex.aic {
    align-items: center;
}

.flex.jcb {
    justify-content: space-between;
}

.flex.jca {
    justify-content: space-around;
}

.flex.jcc {
    justify-content: center;
}

.flex.ac-end {
    align-content: flex-end;
}

.flex.ai-end {
   align-items: flex-end;
}

.flex.wrap {
    flex-wrap: wrap;
}

.flex.column {
    flex-direction: column;
}

.dialog-header {
    position: relative;
}

.dialog-header .title {
    font-size: 20px;
    margin-top: 20px;
}

.dialog-header .reg-entry {
    position: absolute;
    top: -10px;
    right: 0;
    cursor: pointer;
}

.dialog-header .back-entry {
    position: absolute;
    top: -10px;
    left: 0;
    cursor: pointer;
}

.dialog-form-content {
    margin-top: 70px;
}

.login-input-cell {
    position: relative;
    width: 340px;
    height: 44px;
    line-height: 44px;
    background: #EDEEF2;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.login-input-cell:last-child {
    margin-bottom: 0;
}

.login-input-cell input {
    background: #EDEEF2;
    width: 100%;
}

.login-input-cell input::placeholder {
    color: #B6BABF;
}

.icon-eyes {
    cursor: pointer;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 20px;
    height: 20px;
}

.icon-eyes.invisible {
    background: url("https://static.igmbuy.com/global/img/ico_invisible.png");
}

.icon-eyes {
    background: url("https://static.igmbuy.com/global/img/ico_visible.png");
}

.login-dialog .forget {
    margin-left: auto;
    cursor: pointer;
    margin-top: 20px;
}

.btn-submit {
    width: 100%;
    height: 44px;
    color: #FFFFFF;
    /*background: #D71E58;*/
    background: var(--highlight-color2);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.dialog-footer {
    margin-top: 20px;
}

.split-line {
    color: #B6BABF;
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.split-line:before {
    content: '';
    width: 152px;
    height: 1px;
    background: #E8EAED;
    position: absolute;
    left: 0;
    top: 10px;
}

.split-line:after {
    content: '';
    width: 152px;
    height: 1px;
    background: #E8EAED;
    position: absolute;
    right: 0;
    top: 10px;
}

.login-dialog .tips {
    color: #81858C;
    margin-top: 18px;
    text-align: center;
}

.login-dialog .agreement {
    color: #2F3133;
}

.google-login .nsm7Bb-HzV7m-LgbsSe {
    border: none;
    background: #F5F6F8;
}

/*注册*/
.tpl-html {
    display: none;
    position: relative;
    z-index: 100;
}

.dialog-footer-margin-30 {
    margin-top: 30px;
}

.send-code {
    position: absolute;
    right: 10px;
    top: 0;
    color: #81858C;
}

.send-code.on {
    cursor: pointer;
    color: #2f1333;
}

.send-code.disabled {
    cursor: default;
}

.header_log {
    position: relative;
    /*cursor: pointer;*/
    height: 60px;
    /*width: 136px;*/
    justify-content: flex-end;
}

.header_log_ico {
    cursor: pointer;
}

.header_log.on .log_info, .header_log:hover .log_info {
    display: block;
}

.log_info {
    display: none;
    width: 136px;
    background: #ffffff;
    box-shadow: 0px 8px 8px 0px rgba(188, 194, 204, 0.2);
    position: absolute;
    top: 60px;
    right: -26px;
    text-align: center;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    z-index: 100;
    cursor: default;
}

.log_info .avatar {
    border-radius: 50%;
    overflow: hidden;
}

.log_info ul {
    text-align: left;
    box-shadow: 0px 8px 8px 0px rgba(188 194 204 .1);
}

.log_info li:hover {
    background: #f2f3f5;
    border-radius: 6px;
}

.log_info ul a {
    display: block;
    padding-left: 10px;
    line-height: 40px;
    cursor: pointer;
}

/*third login*/
.third-login-wrap {
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
    margin-top: 20px;
}

.btn-third-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
}