* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

img {
    border: none;
}

ul,
ol,
li {
    list-style: none;
}

html {
    font-size: 13.33333333vw;
    width: 100%;
}

body {
    width: 100%;
    font-size: .22rem;
    font-family: '微软雅黑', 'Heiti SC';
    background: #f8f8f8;
}

html,
body {
    position: relative;
    overflow: hidden;
    overflow-y: auto;
}

/* 登录容器 */
.login-container {
    width: 100%;
    min-height: 100vh;
    padding: .6rem .4rem .4rem;
    background: #f8f8f8;
}

/* Logo区域 */
.logo-area {
    text-align: center;
    height: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
   
}

.logo-img {
    width: 1.2rem;
   
    
}

/* Tab切换 */
.tab-wrap {
    display: flex;
    position: relative;
    margin: .3rem 0;
    border-bottom: 1px solid #ddd;
}

.tab-item {
    flex: 1;
    text-align: center;
    font-size: .3rem;
    color: #686868;
    padding: .2rem 0;
    cursor: pointer;
    position: relative;
    transition: color .3s;
}

.tab-item.tab-active {
    color: #333;
    font-weight: bold;
}

.tab-item.tab-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: .6rem;
    height: .04rem;
    background: #4A90D9;
    border-radius: .02rem;
}

.tab-line {
    display: none;
}

/* 表单区域 */
.form-wrap {
    padding: .2rem 0;
}

/* 输入框组 */
.input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: .08rem;
    margin-bottom: .24rem;
    height: .88rem;
    padding: 0 .2rem;
    border: 1px solid #ddd;
    transition: border-color .3s;
}

.input-group:focus-within {
    border-color: #4A90D9;
}

/* 输入图标 */
.input-icon {
    width: .4rem;
    height: .4rem;
    margin-right: .16rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.icon-user {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v1.2c0 .66.54 1.2 1.2 1.2h16.8c.66 0 1.2-.54 1.2-1.2v-1.2c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
}

.icon-pwd {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
}

.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.icon-code {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/%3E%3C/svg%3E");
}

/* 输入框 */
.input-field {
    flex: 1;
    height: .6rem;
    border: none;
    outline: none;
    background: transparent;
    font-size: .28rem;
    color: #333;
    font-family: '微软雅黑', 'Heiti SC';
}

.input-field::placeholder {
    color: #999;
}

/* 验证码输入行 */
.input-group-code {
    position: relative;
}

.input-code {
    flex: unset;
    width: 2.4rem;
}

.get-code-btn {
    flex-shrink: 0;
    margin-left: auto;
    font-size: .22rem;
    color: #4A90D9;
    padding: .08rem .16rem;
    border: 1px solid #4A90D9;
    border-radius: .06rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all .3s;
}

.get-code-btn.disabled {
    color: #ccc;
    border-color: #ddd;
    cursor: not-allowed;
}

/* 图形验证码 */
.input-group-captcha {
    position: relative;
}

.input-captcha-text {
    flex: unset;
    width: 3rem;
}

.input-captcha-text::placeholder {
    color: #999;
}

.captcha-img {
    height: .6rem;
    margin-left: auto;
    cursor: pointer;
    flex-shrink: 0;
}

.icon-captcha {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: .88rem;
    line-height: .88rem;
    text-align: center;
    background: #e44042;
    color: #fff;
    font-size: .32rem;
    font-weight: bold;
    border-radius: .44rem;
    margin-top: .3rem;
    cursor: pointer;
    letter-spacing: .1rem;
    transition: opacity .3s;
    border:none;
    outline:none;
}

.login-btn:active {
    opacity: .8;
}

/* 快速注册 / 找回密码 */
.extra-links {
    text-align: center;
    padding: .3rem 0 .2rem;
    font-size: .24rem;
    color: #686868;
}

.link-item {
    cursor: pointer;
    transition: color .3s;
    text-decoration: none;
    color: inherit;
}

.link-item:active {
    color: #4A90D9;
}

.link-divider {
    margin: 0 .2rem;
    color: #ccc;
}

/* 第三方登录 */
.third-login {
    margin-top: .4rem;
    padding-bottom: .3rem;
}

.third-title {
    text-align: center;
    font-size: .22rem;
    color: #999;
    position: relative;
    margin-bottom: .3rem;
}

.third-title span {
    position: relative;
    padding: 0 .3rem;
    background: #f8f8f8;
    z-index: 1;
}

.third-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: .4rem;
    right: .4rem;
    height: 1px;
    background: #ddd;
}

.third-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.third-item {
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.third-icon {
    display: block;
    width: .8rem;
    height: .8rem;
    margin: 0 auto .1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-qq {
    background-image: url("https://pic.gongkong.com/UploadPic/gongkong/2020/gk0306_QQ_600_600.png");
}

.icon-wechat {
    background-image: url("https://mpassport.gongkong.com/images/icon_weixin.png");
}

.third-item p {
    font-size: .2rem;
    color: #686868;
    margin-top: .04rem;
}

/* 底部提示 */
.bottom-notice {
    text-align: center;
    font-size: .2rem;
    color: #999;
    padding: .3rem 0 .2rem;
}
