.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
}

.login-header p {
    color: #666;
    font-size: 16px;
}

/* 登录方式切换tabs */
.login-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab-item.active {
    color: #1890ff;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: #1890ff;
}

/* 登录表单 */
.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

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

.form-item input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-item input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    outline: none;
}

.form-item.verification {
    display: flex;
    gap: 12px;
}

.form-item.verification input {
    flex: 1;
}

.send-code-btn {
    padding: 0 20px;
    background: white;
    border: 1px solid #1890ff;
    color: #1890ff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.send-code-btn:hover {
    background: #e6f7ff;
}

.send-code-btn:disabled {
    border-color: #d9d9d9;
    color: #999;
    cursor: not-allowed;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #666;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forget-pwd {
    color: #1890ff;
    text-decoration: none;
}

.forget-pwd:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover {
    background: #40a9ff;
}

/* 微信登录样式 */
.wechat-login-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.wechat-login-header .wechat-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.wechat-login-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.qrcode-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.qrcode-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-placeholder img {
    max-width: 100%;
    max-height: 100%;
}

.qrcode-tips {
    margin-top: 15px;
    color: #666;
}

.qrcode-tips p {
    margin: 5px 0;
    font-size: 14px;
}

.refresh-tip {
    color: #1890ff;
}

.refresh-tip a {
    color: #1890ff;
    text-decoration: none;
}

.refresh-tip a:hover {
    text-decoration: underline;
}

/* 登录页脚 */
.login-footer {
    text-align: center;
    margin-top: 24px;
    color: #666;
}

.login-footer a {
    color: #1890ff;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* 注册提示样式 */
.register-tip {
    margin-top: 24px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e6f7ff;
    background-color: #e6f7ff;
}

.register-tip span {
    color: #1890ff;
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
    vertical-align: middle;
}

/* 联系方式样式 */
.contact-info {
    margin-top: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    gap: 24px;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
}

.contact-info .contact-item span {
    margin-left: 8px;
    color: #666;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .qrcode-placeholder {
        width: 180px;
        height: 180px;
    }
    
    .wechat-login-header h3 {
        font-size: 16px;
    }
    
    .qrcode-tips p {
        font-size: 13px;
    }
    
    .register-tip {
        margin-top: 20px;
        padding: 10px;
    }
    
    .register-tip span {
        font-size: 13px;
    }

    .contact-info {
        margin-top: 12px;
        padding: 12px;
        gap: 16px;
    }

    .contact-info .contact-item span {
        font-size: 13px;
    }
} 