*{margin: 0;}
body{background-color: #f8f8f8;}

.top{background-color: #FFFFFF;box-shadow: 0 0 4px rgba(0,0,0,0.1);}
.top-c{width: 1160px;height: 60px;line-height: 60px;margin: 0 auto;}
.logo{float: left;}
.logo>img{height: 60px;vertical-align: bottom;}
.page-title{line-height: 20px;display: inline-block;padding: 0 10px 0 20px;margin: 20px;border-left: 1px solid #666666;}
.top-left{float: left;}
.top-right{float: right;margin-right: 100px;}
.top-right>a{color: #666666;font-size: .9em;}

.middle{height: calc(100vh - 164px);min-height: 500px;}
.middle-c{
    width: 1160px;height: 100%;
    margin: 0 auto;position: relative;
    overflow: hidden;
}
.login-whale-wrap{
    position: absolute;
    top: 50%;
    left: 20px;
    margin-top: -40px;
    width: 240px;
    height: 80px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.login-whale{
    display: block;
    height: 80px;
    width: auto;
}

.login-panel{
    position: absolute;
    top: 50%;
    right: 80px;
    margin-top: -210px;
    z-index: 1;
    width: 720px;
    min-height: 420px;
    max-width: calc(100% - 48px);
    background: #fff;
    border-radius: 12px;
    padding: 44px 32px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-panel-body{
    display: flex;
    align-items: stretch;
    gap: 32px;
}

.login-qr-col{
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 4px;
}
.login-qr-title{
    font-size: 15px;
    color: #333;
    margin-bottom: 16px;
}
.login-qr-box{
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}
.login-qrcode{
    width: 148px;
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.login-qrcode img,
.login-qrcode canvas{
    display: block;
    width: 148px !important;
    height: 148px !important;
}
.login-qr-overlay{
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,0.94);
    border-radius: 6px;
    font-size: 13px;
    color: #666;
}
.login-qr-overlay.is-visible{
    display: flex;
}
.login-qr-refresh-btn{
    padding: 5px 14px;
    font-size: 13px;
    color: #00bfa5;
    background: #fff;
    border: 1px solid #00bfa5;
    border-radius: 3px;
    cursor: pointer;
}
.login-qr-refresh-btn:hover{background: rgba(0, 191, 165, 0.08);}
.login-qr-status{
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    min-height: 18px;
    text-align: center;
}
.login-qr-tip{
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.65;
    color: #999;
    text-align: center;
}
.login-qr-tip a{
    color: #00bfa5;
    text-decoration: none;
}
.login-qr-tip a:hover{text-decoration: underline;}

.login-divider{
    flex: 0 0 1px;
    align-self: stretch;
    background: #f0f0f0;
}

.login-form-col{
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-tabs{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.login-tab{
    padding: 0;
    font-size: 15px;
    font-weight: normal;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    transition: color .2s;
}
.login-tab.is-active{
    color: #333;
    font-weight: normal;
}
.login-pane{display: none;}
.login-pane.is-active{display: block;}

.input{
    color: #494949;
    height: 44px;
    background: #fff;
    border: 1px solid #d7d7d7;
    overflow: hidden;
    position: relative;
    border-radius: 6px;
    margin-bottom: 12px;
}
.input input {
    border: 0 none;
    width: 96%;
    background: #fff;
    height: 30px;
    line-height: 1;
    padding: 0 0 0 10px;
    margin-top: 7px;
    outline: 0;
    -webkit-appearance: none;
}
.login-phone-input{display: flex;align-items: center;}
.login-phone-prefix{
    flex-shrink: 0;
    padding: 0 0 0 12px;
    font-size: 14px;
    color: #666;
    border-right: 1px solid #ececec;
    margin-right: 8px;
    line-height: 44px;
}
.login-phone-input input{
    flex: 1;
    width: auto;
    margin-top: 0;
    height: 44px;
    padding-left: 4px;
}
.login-code-input{display: flex;align-items: center;}
.login-code-input input{
    flex: 1;
    width: auto;
    margin-top: 0;
    height: 44px;
}
.login-sms-send{
    flex-shrink: 0;
    margin-right: 8px;
    padding: 0 4px;
    font-size: 13px;
    color: #00bfa5;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.login-sms-send:disabled{
    color: #bbb;
    cursor: not-allowed;
}
.login-sms-send:not(:disabled):hover{text-decoration: underline;}

.opt-area{margin-top: 10px;}
.btn{
    font-size: 16px;
    border-radius: 3px;
    border: 0 none;
    background: #00bfa5;
    display: block;
    width: 100%;
    height: 44px;
    color: #fff;
    -webkit-user-select: none;
    user-select: none;
    transition: all 0.3s ease-out;
    cursor: pointer;
}
.btn:hover{background: #00a894;}
.btn:disabled{
    opacity: .65;
    cursor: not-allowed;
}

.input .eye-close{background-image: url(/img/eye-close.png);}
.input .eye-open{background-image: url(/img/eye-open.png);}
.input .eye-open, .input .eye-close {
    padding: 0;
    top: 16px;
    right: 10px;
    height: 18px;
    width: 18px;
    text-indent: -999em;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    position: absolute;
    cursor: pointer;
}

.login-agreement{
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.6;
    color: #aaa;
    text-align: center;
}
.login-agreement a{
    color: #888;
    text-decoration: none;
}
.login-agreement a:hover{color: #00bfa5;text-decoration: underline;}

.skip-area{text-align: right;line-height: 48px;color:#999;font-size: .8em;margin-top: 4px;min-height: 48px;}
.login-form-col[data-tab="sms"] .skip-area{visibility: hidden;}
.skip-area a{color: #00bfa5;text-decoration: none;}

.bottom{padding: 20px 0;text-align: center;background-color: #FFFFFF;}
.disclaimer{line-height: 32px;font-size: .9em;color: #666666;}
.copyright{line-height: 32px;font-size: .8em;color: #666666;}

@media (max-width: 900px) {
    .top-c, .middle-c{width: 100%;padding: 0 16px;box-sizing: border-box;}
    .login-whale-wrap{display: none;}
    .login-panel{
        position: relative;
        right: auto;
        top: auto;
        margin: 24px auto;
        width: 100%;
    }
    .login-panel-body{flex-direction: column;gap: 24px;}
    .login-divider{
        width: 100%;
        height: 1px;
        background: #f0f0f0;
    }
}
