.login-wrapper {
    width:80%;
    margin:80px auto 20px auto;
    display: flex;
    align-items: stretch;
}

.login-left {
    flex: 3;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.demo-image {
    max-width: 80%;
    border-radius: 8px;
}

.login-right {
    flex: 2;
    padding: 40px;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

.login-right h2 {
    margin-bottom: 30px;
    color: #333;
}

.login-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.login-tab {
    padding: 10px 20px;
    cursor: pointer;
    color: #999;
    font-size: 16px;
}
.login-tab a{
    color:unset;
    text-decoration: none;
}

.login-tab.active {
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
}

.form-group {
    margin-bottom: 20px;
}

.phone-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.country-code {
    padding: 12px 15px;
    background: #f5f5f5;
    border-right: 1px solid #ddd;
    font-size: 16px;
    color: #666;
}

.phone-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 16px;
}

.phone-input:focus {
    outline: none;
}

.code-input-group {
    display: flex;
    gap: 10px;
}

.code-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.btn-get-code {
    padding: 12px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-get-code:hover {
    background: #45a049;
}

.btn-get-code:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.agreement {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.agreement a {
    color: #4CAF50;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.btn-login:hover {
    background: #45a049;
}

.btn-login:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .login-wrapper {
        width: 90%;
        flex-direction: column;
    }
    
    .login-left {
        display: none;
    }
    
    .login-right {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
}

/* 微信登录样式 */
.wechat-login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.wechat-qrcode {
    width: 200px;
    height: 200px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    margin-bottom: 20px;
}

.wechat-qrcode-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-login-tips {
    text-align: center;
}

.wechat-login-tips p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.wechat-login-subtips {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 8px !important;
}
