﻿/* ===== 登录页面样式 ===== */

/* 头部区域 */
.login-header {
    width: 1920px;
    height: 89px;
    clear: both;
}

/* 主容器 */
.login-container {
    width: 1920px;
    clear: both;
}

/* 内容区域 */
.login-content {
    width: 1200px;
    margin: 38px auto;
    color: #242424;
}

/* 标签头部 */
.login-tabs {
    width: 100%;
    height: 35px;
    display: flex;
    margin-bottom: 0;
    justify-content: space-between;
}

.login-tab-item {
    width: 566px;
    height: 35px;
    text-align: center;
    color: #105E8C;
    font-size: 24px;
    line-height: 35px;
    cursor: pointer;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.login-tab-item:hover {
    color: #0d4a6b;
}


/* 表单区域 */
.login-forms {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.login-form {
    width: 566px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.login-form-signup {
    width: 567px;
}

/* 响应式切换逻辑 */
@media (max-width: 1199px) {
    .login-tabs {
        max-width: 566px;
        margin: 0 auto;
    }

    .login-tab-active {
        font-weight: bold;
        color: #105E8C;
        background-color: aliceblue;
    }
    
    .login-forms {
        justify-content: center;
    }
    
    .login-form {
        width: 566px;
        margin: 0 auto;
        opacity: 1;
        transition: opacity 0.4s ease;
    }
    
    /* 默认隐藏注册表单 */
    .login-register {
        display: none;
    }
    
    /* 激活状态的表单 */
    .login-form.active {
        display: block;
        opacity: 1;
    }
    
    /* 隐藏状态的表单 */
    .login-form.hidden {
        display: none;
    }
}

/* 表单主体 */
.login-form-main {
    width: 100%;
}

/* 标题 */
.login-title {
    width: 100%;
    height: 28px;
    text-align: center;
    color: #242424;
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 34px;
}

/* 输入框组 */
.login-input-group {
    width: 563px;
    height: 57px;
    border: 1px solid #767676;
    margin-bottom: 18px;
    position: relative;
    transition: border-color 0.3s ease;
}

.login-input-group:focus-within {
    border-color: #105E8C;
}

.login-form-signup .login-input-group {
    margin-bottom: 16px;
}

.login-input {
    width: 535px;
    height: 57px;
    border: none;
    background: transparent;
    padding: 0 28px;
    font-size: 16px;
    color: #242424;
    outline: none;
    transition: color 0.3s ease;
}

.login-input::placeholder {
    color: #8F8F8F;
}

.login-input:focus {
    color: #105E8C;
}

/* 密码组特殊样式 */
.login-password-group {
    display: flex;
    align-items: center;
}

.login-password-group .login-input {
}

.login-forget-link {
    width: 131px;
    height: 57px;
    font-size: 16px;
    line-height: 57px;
    cursor: pointer;
    color: #242424;
    transition: color 0.3s ease;
}

.login-forget-link:hover {
    color: #105E8C;
}

/* 提交按钮 */
.login-submit-btn {
    width: 565px;
    height: 45px;
    background-color: #105E8C;
    border: none;
    margin-top: 17px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-submit-btn:hover {
    background-color: #0d4a6b;
    transform: translateY(-1px);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.login-btn-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 15px;
}

/* 第三方登录区域 */
.login-form-alt {
    width: 100%;
    margin-top: 40px;
}

.login-social-section {
    width: 100%;
    height: 85px;
    margin-bottom: 23px;
}

.login-social-item {
    width: 50%;
    float: left;
}

.login-social-icon {
    width: 100%;
    height: 43px;
    text-align: center;
    margin-bottom: 3px;
}

.login-google-icon {
    width: 43px;
    height: 43px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.login-google-icon:hover {
    transform: scale(1.1);
}

.login-social-text {
    width: 100%;
    height: 32px;
    text-align: center;
    color: #242424;
    line-height: 32px;
}

/* 免责声明和提示 */
.login-disclaimer {
    width: 100%;
    height: 19px;
    color: #242424;
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 26px;
    text-align: left;
}

.login-notice {
    width: 100%;
    height: 19px;
    color: #242424;
    font-size: 16px;
    line-height: 19px;
}

/* 奖励提示 */
.login-reward-notice {
    width: 100%;
    height: 21px;
    font-size: 16px;
    line-height: 21px;
    margin: 23px 0 17px;
}

/* 复选框组 */
.login-checkbox-group {
    width: 100%;
    margin-bottom: 32px;
}

.login-checkbox-item {
    width: 100%;
    height: 17px;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.login-checkbox-item:last-child {
    margin-bottom: 0;
}

.login-checkbox {
    width: 17px;
    height: 17px;
    margin-right: 8px;
    cursor: pointer;
}

.login-checkbox-label {
    flex: 1;
    font-size: 16px;
    line-height: 17px;
    cursor: pointer;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 1920px) {
    .login-header,
    .login-container {
        width: 100%;
    }
    
    .login-content {
        width: 100%;
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .login-tabs {

    }
    
    .login-tab-item {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .login-input-group,
    .login-input,
    .login-submit-btn {
        width: 100%;
    }
    
    .login-form {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

.login-captcha-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-captcha-container .form-control {
    width: 80%;
    height: 55px;
    border: none;
    padding: 0 28px;
}

.login-captcha-container .input-group-btn img{
    height: 55px;
    width: 150px;
}

.login-captcha-container .input-group-btn{
    height: 55px;
    width: 150px;
}


.form-control {
    height: auto;
}